#[repr(i32)]pub enum _SYSTEM_POWER_STATE {
PowerSystemUnspecified = 0,
PowerSystemWorking = 1,
PowerSystemSleeping1 = 2,
PowerSystemSleeping2 = 3,
PowerSystemSleeping3 = 4,
PowerSystemHibernate = 5,
PowerSystemShutdown = 6,
PowerSystemMaximum = 7,
}Variants§
PowerSystemUnspecified = 0
PowerSystemWorking = 1
PowerSystemSleeping1 = 2
PowerSystemSleeping2 = 3
PowerSystemSleeping3 = 4
PowerSystemHibernate = 5
PowerSystemShutdown = 6
PowerSystemMaximum = 7
Trait Implementations§
Source§impl Clone for _SYSTEM_POWER_STATE
impl Clone for _SYSTEM_POWER_STATE
Source§fn clone(&self) -> _SYSTEM_POWER_STATE
fn clone(&self) -> _SYSTEM_POWER_STATE
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 _SYSTEM_POWER_STATE
impl Debug for _SYSTEM_POWER_STATE
Source§impl Hash for _SYSTEM_POWER_STATE
impl Hash for _SYSTEM_POWER_STATE
Source§impl PartialEq for _SYSTEM_POWER_STATE
impl PartialEq for _SYSTEM_POWER_STATE
impl Copy for _SYSTEM_POWER_STATE
impl Eq for _SYSTEM_POWER_STATE
impl StructuralPartialEq for _SYSTEM_POWER_STATE
Auto Trait Implementations§
impl Freeze for _SYSTEM_POWER_STATE
impl RefUnwindSafe for _SYSTEM_POWER_STATE
impl Send for _SYSTEM_POWER_STATE
impl Sync for _SYSTEM_POWER_STATE
impl Unpin for _SYSTEM_POWER_STATE
impl UnwindSafe for _SYSTEM_POWER_STATE
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