#[repr(u8)]pub enum Modewakeupiopad1 {
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 Clone for Modewakeupiopad1
impl Clone for Modewakeupiopad1
Source§fn clone(&self) -> Modewakeupiopad1
fn clone(&self) -> Modewakeupiopad1
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 Modewakeupiopad1
impl Debug for Modewakeupiopad1
Source§impl From<Modewakeupiopad1> for u8
impl From<Modewakeupiopad1> for u8
Source§fn from(val: Modewakeupiopad1) -> u8
fn from(val: Modewakeupiopad1) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Modewakeupiopad1
impl From<u8> for Modewakeupiopad1
Source§fn from(val: u8) -> Modewakeupiopad1
fn from(val: u8) -> Modewakeupiopad1
Converts to this type from the input type.
Source§impl Ord for Modewakeupiopad1
impl Ord for Modewakeupiopad1
Source§fn cmp(&self, other: &Modewakeupiopad1) -> Ordering
fn cmp(&self, other: &Modewakeupiopad1) -> 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 Modewakeupiopad1
impl PartialEq for Modewakeupiopad1
Source§impl PartialOrd for Modewakeupiopad1
impl PartialOrd for Modewakeupiopad1
impl Copy for Modewakeupiopad1
impl Eq for Modewakeupiopad1
impl StructuralPartialEq for Modewakeupiopad1
Auto Trait Implementations§
impl Freeze for Modewakeupiopad1
impl RefUnwindSafe for Modewakeupiopad1
impl Send for Modewakeupiopad1
impl Sync for Modewakeupiopad1
impl Unpin for Modewakeupiopad1
impl UnwindSafe for Modewakeupiopad1
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