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,
}
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
§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 moreimpl Copy for SYSTEM_POWER_LEVEL
Auto Trait Implementations§
impl Freeze for SYSTEM_POWER_LEVEL
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)