Struct windows_sys::Win32::System::Power::SYSTEM_POWER_LEVEL [−]
#[repr(C)]pub struct SYSTEM_POWER_LEVEL {
pub Enable: BOOLEAN,
pub Spare: [u8; 3],
pub BatteryLevel: u32,
pub PowerPolicy: POWER_ACTION_POLICY,
pub MinSystemState: SYSTEM_POWER_STATE,
}Expand description
Required features: ‘Win32_System_Power’, ‘Win32_Foundation’
Fields
Enable: BOOLEANSpare: [u8; 3]BatteryLevel: u32PowerPolicy: POWER_ACTION_POLICYMinSystemState: SYSTEM_POWER_STATETrait Implementations
impl Clone for SYSTEM_POWER_LEVEL
impl Clone for SYSTEM_POWER_LEVEL
impl Copy for SYSTEM_POWER_LEVEL
Auto Trait Implementations
impl RefUnwindSafe for SYSTEM_POWER_LEVEL
impl Send for SYSTEM_POWER_LEVEL
impl Sync for SYSTEM_POWER_LEVEL
impl Unpin for SYSTEM_POWER_LEVEL
impl UnwindSafe for SYSTEM_POWER_LEVEL
Blanket Implementations
Mutably borrows from an owned value. Read more
