Enum CnfIn
#[repr(u8)]pub enum CnfIn {
Analog = 0,
Floating = 1,
Pull = 2,
_RESERVED_3 = 3,
}Variants§
Analog = 0
Analog mode
Floating = 1
Floating input (reset state)
Pull = 2
Input with pull-up/pull-down
_RESERVED_3 = 3
Implementations§
Trait Implementations§
impl Copy for CnfIn
impl Eq for CnfIn
§impl Ord for CnfIn
impl Ord for CnfIn
1.21.0 (const: unstable) · 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
§impl PartialOrd for CnfIn
impl PartialOrd for CnfIn
impl StructuralPartialEq for CnfIn
Auto Trait Implementations§
impl Freeze for CnfIn
impl RefUnwindSafe for CnfIn
impl Send for CnfIn
impl Sync for CnfIn
impl Unpin for CnfIn
impl UnsafeUnpin for CnfIn
impl UnwindSafe for CnfIn
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