[][src]Struct winapi::um::powrprof::GLOBAL_USER_POWER_POLICY

#[repr(C)]
pub struct GLOBAL_USER_POWER_POLICY { pub Revision: ULONG, 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: ULONG, }

Fields

Revision: ULONGPowerButtonAc: POWER_ACTION_POLICYPowerButtonDc: POWER_ACTION_POLICYSleepButtonAc: POWER_ACTION_POLICYSleepButtonDc: POWER_ACTION_POLICYLidCloseAc: POWER_ACTION_POLICYLidCloseDc: POWER_ACTION_POLICYDischargePolicy: [SYSTEM_POWER_LEVEL; 4]GlobalFlags: ULONG

Trait Implementations

impl Copy for GLOBAL_USER_POWER_POLICY[src]

impl Clone for GLOBAL_USER_POWER_POLICY[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for GLOBAL_USER_POWER_POLICY[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]