#[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: 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 moreSource§impl Debug for _SYSTEM_POWER_STATUS
impl Debug for _SYSTEM_POWER_STATUS
Source§impl Ord for _SYSTEM_POWER_STATUS
impl Ord for _SYSTEM_POWER_STATUS
Source§fn cmp(&self, other: &_SYSTEM_POWER_STATUS) -> Ordering
fn cmp(&self, other: &_SYSTEM_POWER_STATUS) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for _SYSTEM_POWER_STATUS
impl PartialEq for _SYSTEM_POWER_STATUS
Source§impl PartialOrd for _SYSTEM_POWER_STATUS
impl PartialOrd for _SYSTEM_POWER_STATUS
impl Copy for _SYSTEM_POWER_STATUS
impl Eq for _SYSTEM_POWER_STATUS
impl StructuralPartialEq 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