Enum nrf52832::adc::AdcChannelGain
source · #[repr(u8)]pub enum AdcChannelGain {
Gain1_6 = 0,
Gain1_5 = 1,
Gain1_4 = 2,
Gain1_3 = 3,
Gain1_2 = 4,
Gain1 = 5,
Gain2 = 6,
Gain4 = 7,
}
Variants§
Trait Implementations§
source§impl Clone for AdcChannelGain
impl Clone for AdcChannelGain
source§fn clone(&self) -> AdcChannelGain
fn clone(&self) -> AdcChannelGain
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AdcChannelGain
impl Debug for AdcChannelGain
impl Copy for AdcChannelGain
Auto Trait Implementations§
impl Freeze for AdcChannelGain
impl RefUnwindSafe for AdcChannelGain
impl Send for AdcChannelGain
impl Sync for AdcChannelGain
impl Unpin for AdcChannelGain
impl UnwindSafe for AdcChannelGain
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)