#[repr(u8)]pub enum PioMode {
INACTIVE = 0,
PULL_DOWN = 1,
PULL_UP = 2,
REPEATER = 3,
}Variants§
INACTIVE = 0
Inactive. Inactive (no pull-down/pull-up resistor enabled).
PULL_DOWN = 1
Pull-down. Pull-down resistor enabled.
PULL_UP = 2
Pull-up. Pull-up resistor enabled.
REPEATER = 3
Repeater. Repeater mode.
Implementations§
Trait Implementations§
Source§impl Ord for PioMode
impl Ord for PioMode
Source§impl PartialOrd for PioMode
impl PartialOrd for PioMode
impl Copy for PioMode
impl Eq for PioMode
impl StructuralPartialEq for PioMode
Auto Trait Implementations§
impl Freeze for PioMode
impl RefUnwindSafe for PioMode
impl Send for PioMode
impl Sync for PioMode
impl Unpin for PioMode
impl UnwindSafe for PioMode
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