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: BOOLEAN
Spare: [u8; 3]
BatteryLevel: u32
PowerPolicy: POWER_ACTION_POLICY
MinSystemState: SYSTEM_POWER_STATE
Trait 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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