Struct windows_sys::Win32::System::Power::SYSTEM_POWER_STATUS
[−]#[repr(C)]pub struct SYSTEM_POWER_STATUS {
pub ACLineStatus: u8,
pub BatteryFlag: u8,
pub BatteryLifePercent: u8,
pub SystemStatusFlag: u8,
pub BatteryLifeTime: u32,
pub BatteryFullLifeTime: u32,
}
Expand description
Required features: "Win32_System_Power"
Fields
ACLineStatus: u8
BatteryFlag: u8
BatteryLifePercent: u8
SystemStatusFlag: u8
BatteryLifeTime: u32
BatteryFullLifeTime: u32
Trait Implementations
impl Clone for SYSTEM_POWER_STATUS
impl Clone for SYSTEM_POWER_STATUS
impl Copy for SYSTEM_POWER_STATUS
Auto Trait Implementations
impl RefUnwindSafe for SYSTEM_POWER_STATUS
impl Send for SYSTEM_POWER_STATUS
impl Sync for SYSTEM_POWER_STATUS
impl Unpin for SYSTEM_POWER_STATUS
impl UnwindSafe for SYSTEM_POWER_STATUS
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