#[repr(i32)]pub enum POWER_ACTION {
PowerActionNone = 0,
PowerActionReserved = 1,
PowerActionSleep = 2,
PowerActionHibernate = 3,
PowerActionShutdown = 4,
PowerActionShutdownReset = 5,
PowerActionShutdownOff = 6,
PowerActionWarmEject = 7,
PowerActionDisplayOff = 8,
}Variants§
PowerActionNone = 0
PowerActionReserved = 1
PowerActionSleep = 2
PowerActionHibernate = 3
PowerActionShutdown = 4
PowerActionShutdownReset = 5
PowerActionShutdownOff = 6
PowerActionWarmEject = 7
PowerActionDisplayOff = 8
Trait Implementations§
Source§impl Clone for POWER_ACTION
impl Clone for POWER_ACTION
Source§fn clone(&self) -> POWER_ACTION
fn clone(&self) -> POWER_ACTION
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 POWER_ACTION
impl Debug for POWER_ACTION
Source§impl Hash for POWER_ACTION
impl Hash for POWER_ACTION
Source§impl PartialEq for POWER_ACTION
impl PartialEq for POWER_ACTION
impl Copy for POWER_ACTION
impl Eq for POWER_ACTION
impl StructuralPartialEq for POWER_ACTION
Auto Trait Implementations§
impl Freeze for POWER_ACTION
impl RefUnwindSafe for POWER_ACTION
impl Send for POWER_ACTION
impl Sync for POWER_ACTION
impl Unpin for POWER_ACTION
impl UnwindSafe for POWER_ACTION
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