Struct windows::Win32::System::Power::SYSTEM_POWER_STATUS
#[repr(C)]pub struct SYSTEM_POWER_STATUS {
pub ACLineStatus: u8,
pub BatteryFlag: u8,
pub BatteryLifePercent: u8,
pub SystemStatusFlag: u8,
pub BatteryLifeTime: u32,
pub BatteryFullLifeTime: u32,
}
Fields§
§ACLineStatus: u8
§BatteryFlag: u8
§BatteryLifePercent: u8
§SystemStatusFlag: u8
§BatteryLifeTime: u32
§BatteryFullLifeTime: u32
Trait Implementations§
§impl Clone for SYSTEM_POWER_STATUS
impl Clone for SYSTEM_POWER_STATUS
§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 more§impl Debug for SYSTEM_POWER_STATUS
impl Debug for SYSTEM_POWER_STATUS
§impl Default for SYSTEM_POWER_STATUS
impl Default for SYSTEM_POWER_STATUS
§impl PartialEq for SYSTEM_POWER_STATUS
impl PartialEq for SYSTEM_POWER_STATUS
§fn eq(&self, other: &SYSTEM_POWER_STATUS) -> bool
fn eq(&self, other: &SYSTEM_POWER_STATUS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)