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