#[repr(u8)]pub enum CmpAlphaEnumWhiskey {
Level0 = 0,
Level1 = 1,
Level2 = 2,
Level3 = 3,
}Variants§
Level0 = 0
Level 0: Analog comparator hysteresis 0 mV.
Level1 = 1
Level 1: Analog comparator hysteresis 10 mV.
Level2 = 2
Level 2: Analog comparator hysteresis 20 mV.
Level3 = 3
Level 3: Analog comparator hysteresis 30 mV.
Implementations§
Trait Implementations§
Source§impl Clone for CmpAlphaEnumWhiskey
impl Clone for CmpAlphaEnumWhiskey
Source§fn clone(&self) -> CmpAlphaEnumWhiskey
fn clone(&self) -> CmpAlphaEnumWhiskey
Returns a duplicate 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 From<CmpAlphaEnumWhiskey> for u8
impl From<CmpAlphaEnumWhiskey> for u8
Source§fn from(val: CmpAlphaEnumWhiskey) -> u8
fn from(val: CmpAlphaEnumWhiskey) -> u8
Converts to this type from the input type.
Source§impl From<u8> for CmpAlphaEnumWhiskey
impl From<u8> for CmpAlphaEnumWhiskey
Source§fn from(val: u8) -> CmpAlphaEnumWhiskey
fn from(val: u8) -> CmpAlphaEnumWhiskey
Converts to this type from the input type.
Source§impl Ord for CmpAlphaEnumWhiskey
impl Ord for CmpAlphaEnumWhiskey
Source§fn cmp(&self, other: &CmpAlphaEnumWhiskey) -> Ordering
fn cmp(&self, other: &CmpAlphaEnumWhiskey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CmpAlphaEnumWhiskey
impl PartialEq for CmpAlphaEnumWhiskey
Source§impl PartialOrd for CmpAlphaEnumWhiskey
impl PartialOrd for CmpAlphaEnumWhiskey
impl Copy for CmpAlphaEnumWhiskey
impl Eq for CmpAlphaEnumWhiskey
impl StructuralPartialEq for CmpAlphaEnumWhiskey
Auto Trait Implementations§
impl Freeze for CmpAlphaEnumWhiskey
impl RefUnwindSafe for CmpAlphaEnumWhiskey
impl Send for CmpAlphaEnumWhiskey
impl Sync for CmpAlphaEnumWhiskey
impl Unpin for CmpAlphaEnumWhiskey
impl UnwindSafe for CmpAlphaEnumWhiskey
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