Struct winapi::winbase::SYSTEM_POWER_STATUS [] [src]

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: BYTE BatteryFlag: BYTE BatteryLifePercent: BYTE Reserved1: BYTE BatteryLifeTime: DWORD BatteryFullLifeTime: DWORD

Trait Implementations

impl Debug for SYSTEM_POWER_STATUS
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for SYSTEM_POWER_STATUS
[src]

impl Clone for SYSTEM_POWER_STATUS
[src]

fn clone(&self) -> SYSTEM_POWER_STATUS

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more