Struct windows::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,
}
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 Debug for SYSTEM_POWER_STATUS
impl Debug for SYSTEM_POWER_STATUS
§impl Default for SYSTEM_POWER_STATUS
impl Default for SYSTEM_POWER_STATUS
§impl PartialEq for SYSTEM_POWER_STATUS
impl PartialEq for SYSTEM_POWER_STATUS
impl Copy for SYSTEM_POWER_STATUS
impl Eq 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§
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