#[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
sourceimpl Clone for SYSTEM_POWER_LEVEL
impl Clone for SYSTEM_POWER_LEVEL
sourcefn clone(&self) -> SYSTEM_POWER_LEVEL
fn clone(&self) -> SYSTEM_POWER_LEVEL
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
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