Enum Resn
#[repr(u8)]pub enum Resn {
Bypass = 0,
Pulldown = 1,
Pullup = 2,
Vdd12 = 3,
}Variants§
Bypass = 0
Bypass resistor ladder.
Pulldown = 1
Pull-down to GND.
Pullup = 2
Pull-up to VDD_GPIO.
Vdd12 = 3
Set input at VDD_GPIO/2.
Implementations§
Trait Implementations§
impl Copy for Resn
impl Eq for Resn
§impl Ord for Resn
impl Ord for Resn
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 Resn
impl PartialOrd for Resn
impl StructuralPartialEq for Resn
Auto Trait Implementations§
impl Freeze for Resn
impl RefUnwindSafe for Resn
impl Send for Resn
impl Sync for Resn
impl Unpin for Resn
impl UnsafeUnpin for Resn
impl UnwindSafe for Resn
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