Enum Resp
#[repr(u8)]pub enum Resp {
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 Resp
impl Eq for Resp
§impl Ord for Resp
impl Ord for Resp
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 Resp
impl PartialOrd for Resp
impl StructuralPartialEq for Resp
Auto Trait Implementations§
impl Freeze for Resp
impl RefUnwindSafe for Resp
impl Send for Resp
impl Sync for Resp
impl Unpin for Resp
impl UnsafeUnpin for Resp
impl UnwindSafe for Resp
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