#[repr(C)]pub struct SYSTEM_BATTERY_STATE {
    pub AcOnLine: BOOLEAN,
    pub BatteryPresent: BOOLEAN,
    pub Charging: BOOLEAN,
    pub Discharging: BOOLEAN,
    pub Spare1: [BOOLEAN; 3],
    pub Tag: BYTE,
    pub MaxCapacity: DWORD,
    pub RemainingCapacity: DWORD,
    pub Rate: DWORD,
    pub EstimatedTime: DWORD,
    pub DefaultAlert1: DWORD,
    pub DefaultAlert2: DWORD,
}Fields§
§AcOnLine: BOOLEAN§BatteryPresent: BOOLEAN§Charging: BOOLEAN§Discharging: BOOLEAN§Spare1: [BOOLEAN; 3]§Tag: BYTE§MaxCapacity: DWORD§RemainingCapacity: DWORD§Rate: DWORD§EstimatedTime: DWORD§DefaultAlert1: DWORD§DefaultAlert2: DWORDTrait Implementations§
Source§impl Clone for SYSTEM_BATTERY_STATE
 
impl Clone for SYSTEM_BATTERY_STATE
Source§fn clone(&self) -> SYSTEM_BATTERY_STATE
 
fn clone(&self) -> SYSTEM_BATTERY_STATE
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_BATTERY_STATE
Auto Trait Implementations§
impl Freeze for SYSTEM_BATTERY_STATE
impl RefUnwindSafe for SYSTEM_BATTERY_STATE
impl Send for SYSTEM_BATTERY_STATE
impl Sync for SYSTEM_BATTERY_STATE
impl Unpin for SYSTEM_BATTERY_STATE
impl UnwindSafe for SYSTEM_BATTERY_STATE
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