Struct winapi::um::winnt::SYSTEM_POWER_LEVEL
source · #[repr(C)]pub struct SYSTEM_POWER_LEVEL {
pub Enable: BOOLEAN,
pub Spare: [BYTE; 3],
pub BatteryLevel: DWORD,
pub PowerPolicy: POWER_ACTION_POLICY,
pub MinSystemState: SYSTEM_POWER_STATE,
}
Fields§
§Enable: BOOLEAN
§Spare: [BYTE; 3]
§BatteryLevel: DWORD
§PowerPolicy: POWER_ACTION_POLICY
§MinSystemState: SYSTEM_POWER_STATE
Trait Implementations§
source§impl Clone for SYSTEM_POWER_LEVEL
impl Clone for SYSTEM_POWER_LEVEL
source§fn clone(&self) -> SYSTEM_POWER_LEVEL
fn clone(&self) -> SYSTEM_POWER_LEVEL
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 Default for SYSTEM_POWER_LEVEL
impl Default for SYSTEM_POWER_LEVEL
source§fn default() -> SYSTEM_POWER_LEVEL
fn default() -> SYSTEM_POWER_LEVEL
Returns the “default value” for a type. Read more