#[repr(u8)]pub enum WireinGpioLevel {
Show 16 variants
DISABLE = 0,
ENABLE = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
DISABLE = 0
Low
ENABLE = 1
High
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Clone for WireinGpioLevel
impl Clone for WireinGpioLevel
Source§fn clone(&self) -> WireinGpioLevel
fn clone(&self) -> WireinGpioLevel
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 WireinGpioLevel
impl Debug for WireinGpioLevel
Source§impl From<WireinGpioLevel> for u8
impl From<WireinGpioLevel> for u8
Source§fn from(val: WireinGpioLevel) -> u8
fn from(val: WireinGpioLevel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for WireinGpioLevel
impl From<u8> for WireinGpioLevel
Source§fn from(val: u8) -> WireinGpioLevel
fn from(val: u8) -> WireinGpioLevel
Converts to this type from the input type.
Source§impl Ord for WireinGpioLevel
impl Ord for WireinGpioLevel
Source§fn cmp(&self, other: &WireinGpioLevel) -> Ordering
fn cmp(&self, other: &WireinGpioLevel) -> 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 WireinGpioLevel
impl PartialEq for WireinGpioLevel
Source§impl PartialOrd for WireinGpioLevel
impl PartialOrd for WireinGpioLevel
impl Copy for WireinGpioLevel
impl Eq for WireinGpioLevel
impl StructuralPartialEq for WireinGpioLevel
Auto Trait Implementations§
impl Freeze for WireinGpioLevel
impl RefUnwindSafe for WireinGpioLevel
impl Send for WireinGpioLevel
impl Sync for WireinGpioLevel
impl Unpin for WireinGpioLevel
impl UnwindSafe for WireinGpioLevel
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