Struct windows_sys::Win32::System::Power::GLOBAL_USER_POWER_POLICY
[−]#[repr(C)]pub struct GLOBAL_USER_POWER_POLICY {
pub Revision: u32,
pub PowerButtonAc: POWER_ACTION_POLICY,
pub PowerButtonDc: POWER_ACTION_POLICY,
pub SleepButtonAc: POWER_ACTION_POLICY,
pub SleepButtonDc: POWER_ACTION_POLICY,
pub LidCloseAc: POWER_ACTION_POLICY,
pub LidCloseDc: POWER_ACTION_POLICY,
pub DischargePolicy: [SYSTEM_POWER_LEVEL; 4],
pub GlobalFlags: u32,
}
Expand description
Required features: "Win32_System_Power"
, "Win32_Foundation"
Fields
Revision: u32
PowerButtonAc: POWER_ACTION_POLICY
PowerButtonDc: POWER_ACTION_POLICY
SleepButtonAc: POWER_ACTION_POLICY
SleepButtonDc: POWER_ACTION_POLICY
LidCloseAc: POWER_ACTION_POLICY
LidCloseDc: POWER_ACTION_POLICY
DischargePolicy: [SYSTEM_POWER_LEVEL; 4]
GlobalFlags: u32
Trait Implementations
impl Clone for GLOBAL_USER_POWER_POLICY
impl Clone for GLOBAL_USER_POWER_POLICY
impl Copy for GLOBAL_USER_POWER_POLICY
Auto Trait Implementations
impl RefUnwindSafe for GLOBAL_USER_POWER_POLICY
impl Send for GLOBAL_USER_POWER_POLICY
impl Sync for GLOBAL_USER_POWER_POLICY
impl Unpin for GLOBAL_USER_POWER_POLICY
impl UnwindSafe for GLOBAL_USER_POWER_POLICY
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more