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