#[repr(C)]pub struct _SYSTEM_POWER_STATUS {
pub ACLineStatus: BYTE,
pub BatteryFlag: BYTE,
pub BatteryLifePercent: BYTE,
pub SystemStatusFlag: BYTE,
pub BatteryLifeTime: DWORD,
pub BatteryFullLifeTime: DWORD,
}Fields§
§ACLineStatus: BYTE§BatteryFlag: BYTE§BatteryLifePercent: BYTE§SystemStatusFlag: BYTE§BatteryLifeTime: DWORD§BatteryFullLifeTime: DWORDTrait 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 duplicate 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 moreSource§impl Debug for _SYSTEM_POWER_STATUS
impl Debug for _SYSTEM_POWER_STATUS
impl 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