Enum winsafe::PowerSettingAwayMode
source · pub enum PowerSettingAwayMode {
Exiting,
Entering,
}
Available on crate feature
kernel
only.Expand description
Variant parameter for:
Variants§
Trait Implementations§
source§impl Clone for PowerSettingAwayMode
impl Clone for PowerSettingAwayMode
source§fn clone(&self) -> PowerSettingAwayMode
fn clone(&self) -> PowerSettingAwayMode
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 PartialEq for PowerSettingAwayMode
impl PartialEq for PowerSettingAwayMode
source§fn eq(&self, other: &PowerSettingAwayMode) -> bool
fn eq(&self, other: &PowerSettingAwayMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PowerSettingAwayMode
impl Eq for PowerSettingAwayMode
impl StructuralPartialEq for PowerSettingAwayMode
Auto Trait Implementations§
impl Freeze for PowerSettingAwayMode
impl RefUnwindSafe for PowerSettingAwayMode
impl Send for PowerSettingAwayMode
impl Sync for PowerSettingAwayMode
impl Unpin for PowerSettingAwayMode
impl UnwindSafe for PowerSettingAwayMode
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