Struct winsafe::co::POWER_SETTING
source · pub struct POWER_SETTING(/* private fields */);
Available on crate feature
kernel
only.Expand description
Power setting
identifiers
(GUID
).
Originally has GUID
prefix.
Implementations§
source§impl POWER_SETTING
impl POWER_SETTING
source§impl POWER_SETTING
impl POWER_SETTING
pub const ACDC_POWER_SOURCE: POWER_SETTING = _
pub const BATTERY_PERCENTAGE_REMAINING: POWER_SETTING = _
pub const CONSOLE_DISPLAY_STATE: POWER_SETTING = _
pub const GLOBAL_USER_PRESENCE: POWER_SETTING = _
pub const IDLE_BACKGROUND_TASK: POWER_SETTING = _
pub const MONITOR_POWER_ON: POWER_SETTING = _
pub const POWER_SAVING_STATUS: POWER_SETTING = _
pub const POWERSCHEME_PERSONALITY: POWER_SETTING = _
pub const MIN_POWER_SAVINGS: POWER_SETTING = _
pub const MAX_POWER_SAVINGS: POWER_SETTING = _
pub const TYPICAL_POWER_SAVINGS: POWER_SETTING = _
pub const SESSION_DISPLAY_STATUS: POWER_SETTING = _
pub const SESSION_USER_PRESENCE: POWER_SETTING = _
pub const LIDSWITCH_STATE_CHANGE: POWER_SETTING = _
pub const SYSTEM_AWAYMODE: POWER_SETTING = _
Trait Implementations§
source§impl AsRef<GUID> for POWER_SETTING
impl AsRef<GUID> for POWER_SETTING
source§impl Clone for POWER_SETTING
impl Clone for POWER_SETTING
source§fn clone(&self) -> POWER_SETTING
fn clone(&self) -> POWER_SETTING
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 Debug for POWER_SETTING
impl Debug for POWER_SETTING
source§impl Default for POWER_SETTING
impl Default for POWER_SETTING
source§fn default() -> POWER_SETTING
fn default() -> POWER_SETTING
Returns the “default value” for a type. Read more
source§impl Display for POWER_SETTING
impl Display for POWER_SETTING
source§impl From<GUID> for POWER_SETTING
impl From<GUID> for POWER_SETTING
source§impl Hash for POWER_SETTING
impl Hash for POWER_SETTING
source§impl PartialEq for POWER_SETTING
impl PartialEq for POWER_SETTING
source§fn eq(&self, other: &POWER_SETTING) -> bool
fn eq(&self, other: &POWER_SETTING) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for POWER_SETTING
impl Eq for POWER_SETTING
impl StructuralPartialEq for POWER_SETTING
Auto Trait Implementations§
impl RefUnwindSafe for POWER_SETTING
impl Send for POWER_SETTING
impl Sync for POWER_SETTING
impl Unpin for POWER_SETTING
impl UnwindSafe for POWER_SETTING
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