#[repr(u8)]pub enum EnableEnable {
Show 16 variants
DISABLED = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
ENABLED = 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§
DISABLED = 0
Disable SPIM
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
ENABLED = 7
Enable SPIM
_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§
Source§impl EnableEnable
impl EnableEnable
Trait Implementations§
Source§impl Clone for EnableEnable
impl Clone for EnableEnable
Source§fn clone(&self) -> EnableEnable
fn clone(&self) -> EnableEnable
Returns a copy 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 From<EnableEnable> for u8
impl From<EnableEnable> for u8
Source§fn from(val: EnableEnable) -> u8
fn from(val: EnableEnable) -> u8
Converts to this type from the input type.
Source§impl From<u8> for EnableEnable
impl From<u8> for EnableEnable
Source§fn from(val: u8) -> EnableEnable
fn from(val: u8) -> EnableEnable
Converts to this type from the input type.
Source§impl Ord for EnableEnable
impl Ord for EnableEnable
Source§fn cmp(&self, other: &EnableEnable) -> Ordering
fn cmp(&self, other: &EnableEnable) -> 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 EnableEnable
impl PartialEq for EnableEnable
Source§impl PartialOrd for EnableEnable
impl PartialOrd for EnableEnable
impl Copy for EnableEnable
impl Eq for EnableEnable
impl StructuralPartialEq for EnableEnable
Auto Trait Implementations§
impl Freeze for EnableEnable
impl RefUnwindSafe for EnableEnable
impl Send for EnableEnable
impl Sync for EnableEnable
impl Unpin for EnableEnable
impl UnwindSafe for EnableEnable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)