#[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: BYTE
§BatteryFlag: BYTE
§BatteryLifePercent: BYTE
§Reserved1: BYTE
§BatteryLifeTime: DWORD
§BatteryFullLifeTime: DWORD
Trait Implementations§
Source§impl Clone for SYSTEM_POWER_STATUS
impl Clone for SYSTEM_POWER_STATUS
Source§fn clone(&self) -> SYSTEM_POWER_STATUS
fn clone(&self) -> SYSTEM_POWER_STATUS
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_POWER_STATUS
Auto Trait Implementations§
impl Freeze for SYSTEM_POWER_STATUS
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