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