#[repr(u8)]pub enum SwPadCtlPadTestModePus {
PUS_0_100K_OHM_PULL_DOWN = 0,
PUS_1_47K_OHM_PULL_UP = 1,
PUS_2_100K_OHM_PULL_UP = 2,
PUS_3_22K_OHM_PULL_UP = 3,
}Variants§
PUS_0_100K_OHM_PULL_DOWN = 0
100K Ohm Pull Down
PUS_1_47K_OHM_PULL_UP = 1
47K Ohm Pull Up
PUS_2_100K_OHM_PULL_UP = 2
100K Ohm Pull Up
PUS_3_22K_OHM_PULL_UP = 3
22K Ohm Pull Up
Implementations§
Trait Implementations§
Source§impl Clone for SwPadCtlPadTestModePus
impl Clone for SwPadCtlPadTestModePus
Source§fn clone(&self) -> SwPadCtlPadTestModePus
fn clone(&self) -> SwPadCtlPadTestModePus
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 Debug for SwPadCtlPadTestModePus
impl Debug for SwPadCtlPadTestModePus
Source§impl From<SwPadCtlPadTestModePus> for u8
impl From<SwPadCtlPadTestModePus> for u8
Source§fn from(val: SwPadCtlPadTestModePus) -> u8
fn from(val: SwPadCtlPadTestModePus) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SwPadCtlPadTestModePus
impl From<u8> for SwPadCtlPadTestModePus
Source§fn from(val: u8) -> SwPadCtlPadTestModePus
fn from(val: u8) -> SwPadCtlPadTestModePus
Converts to this type from the input type.
Source§impl Ord for SwPadCtlPadTestModePus
impl Ord for SwPadCtlPadTestModePus
Source§fn cmp(&self, other: &SwPadCtlPadTestModePus) -> Ordering
fn cmp(&self, other: &SwPadCtlPadTestModePus) -> 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 SwPadCtlPadTestModePus
impl PartialEq for SwPadCtlPadTestModePus
Source§impl PartialOrd for SwPadCtlPadTestModePus
impl PartialOrd for SwPadCtlPadTestModePus
impl Copy for SwPadCtlPadTestModePus
impl Eq for SwPadCtlPadTestModePus
impl StructuralPartialEq for SwPadCtlPadTestModePus
Auto Trait Implementations§
impl Freeze for SwPadCtlPadTestModePus
impl RefUnwindSafe for SwPadCtlPadTestModePus
impl Send for SwPadCtlPadTestModePus
impl Sync for SwPadCtlPadTestModePus
impl Unpin for SwPadCtlPadTestModePus
impl UnwindSafe for SwPadCtlPadTestModePus
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