Struct flo_render_gl_offscreen::winapi::um::winnt::SYSTEM_BATTERY_STATE
source · pub struct SYSTEM_BATTERY_STATE {
pub AcOnLine: u8,
pub BatteryPresent: u8,
pub Charging: u8,
pub Discharging: u8,
pub Spare1: [u8; 3],
pub Tag: u8,
pub MaxCapacity: u32,
pub RemainingCapacity: u32,
pub Rate: u32,
pub EstimatedTime: u32,
pub DefaultAlert1: u32,
pub DefaultAlert2: u32,
}
Fields§
§AcOnLine: u8
§BatteryPresent: u8
§Charging: u8
§Discharging: u8
§Spare1: [u8; 3]
§Tag: u8
§MaxCapacity: u32
§RemainingCapacity: u32
§Rate: u32
§EstimatedTime: u32
§DefaultAlert1: u32
§DefaultAlert2: u32
Trait 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 more