#[repr(u8)]pub enum Switchingstate {
IDLE = 0,
OFFSET = 1,
GUARD = 2,
REF = 3,
SWITCHING = 4,
ENDING = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
IDLE = 0
Switching state Idle
OFFSET = 1
Switching state Offset
GUARD = 2
Switching state Guard
REF = 3
Switching state Ref
SWITCHING = 4
Switching state Switching
ENDING = 5
Switching state Ending
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Clone for Switchingstate
impl Clone for Switchingstate
Source§fn clone(&self) -> Switchingstate
fn clone(&self) -> Switchingstate
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<Switchingstate> for u8
impl From<Switchingstate> for u8
Source§fn from(val: Switchingstate) -> u8
fn from(val: Switchingstate) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Switchingstate
impl From<u8> for Switchingstate
Source§fn from(val: u8) -> Switchingstate
fn from(val: u8) -> Switchingstate
Converts to this type from the input type.
Source§impl Ord for Switchingstate
impl Ord for Switchingstate
Source§fn cmp(&self, other: &Switchingstate) -> Ordering
fn cmp(&self, other: &Switchingstate) -> 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 Switchingstate
impl PartialEq for Switchingstate
Source§impl PartialOrd for Switchingstate
impl PartialOrd for Switchingstate
impl Copy for Switchingstate
impl Eq for Switchingstate
impl StructuralPartialEq for Switchingstate
Auto Trait Implementations§
impl Freeze for Switchingstate
impl RefUnwindSafe for Switchingstate
impl Send for Switchingstate
impl Sync for Switchingstate
impl Unpin for Switchingstate
impl UnwindSafe for Switchingstate
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
)