Enum Switchingstate
#[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§
§impl Switchingstate
impl Switchingstate
pub const fn from_bits(val: u8) -> Switchingstate
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Switchingstate
impl Clone for Switchingstate
§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 more§impl From<u8> for Switchingstate
impl From<u8> for Switchingstate
§fn from(val: u8) -> Switchingstate
fn from(val: u8) -> Switchingstate
Converts to this type from the input type.
§impl Ord for Switchingstate
impl Ord for Switchingstate
§impl PartialEq for Switchingstate
impl PartialEq for Switchingstate
§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
)