#[repr(C)]pub struct SYSTEM_POWER_STATUS {
    pub ACLineStatus: BYTE,
    pub BatteryFlag: BYTE,
    pub BatteryLifePercent: BYTE,
    pub Reserved1: BYTE,
    pub BatteryLifeTime: DWORD,
    pub BatteryFullLifeTime: DWORD,
}Fields
ACLineStatus: BYTEBatteryFlag: BYTEBatteryLifePercent: BYTEReserved1: BYTEBatteryLifeTime: DWORDBatteryFullLifeTime: DWORDTrait Implementations
sourceimpl Clone for SYSTEM_POWER_STATUS
 
impl Clone for SYSTEM_POWER_STATUS
sourcefn clone(&self) -> SYSTEM_POWER_STATUS
 
fn clone(&self) -> SYSTEM_POWER_STATUS
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_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