#[repr(u32)]pub enum SuspendMode {
PlatformCoordinated = 0,
OsInitiated = 1,
}
Expand description
5.1.20 PSCI_SET_SUSPEND_MODE mode field
Variants§
Trait Implementations§
Source§impl Clone for SuspendMode
impl Clone for SuspendMode
Source§fn clone(&self) -> SuspendMode
fn clone(&self) -> SuspendMode
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 SuspendMode
impl Debug for SuspendMode
Source§impl From<SuspendMode> for u32
impl From<SuspendMode> for u32
Source§fn from(enum_value: SuspendMode) -> Self
fn from(enum_value: SuspendMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SuspendMode
impl PartialEq for SuspendMode
Source§impl TryFrom<u32> for SuspendMode
impl TryFrom<u32> for SuspendMode
Source§impl TryFromPrimitive for SuspendMode
impl TryFromPrimitive for SuspendMode
impl Copy for SuspendMode
impl Eq for SuspendMode
impl StructuralPartialEq for SuspendMode
Auto Trait Implementations§
impl Freeze for SuspendMode
impl RefUnwindSafe for SuspendMode
impl Send for SuspendMode
impl Sync for SuspendMode
impl Unpin for SuspendMode
impl UnwindSafe for SuspendMode
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