Struct windows_sys::Win32::System::Power::BATTERY_INFORMATION
#[repr(C)]pub struct BATTERY_INFORMATION {
pub Capabilities: u32,
pub Technology: u8,
pub Reserved: [u8; 3],
pub Chemistry: [u8; 4],
pub DesignedCapacity: u32,
pub FullChargedCapacity: u32,
pub DefaultAlert1: u32,
pub DefaultAlert2: u32,
pub CriticalBias: u32,
pub CycleCount: u32,
}
Fields§
§Capabilities: u32
§Technology: u8
§Reserved: [u8; 3]
§Chemistry: [u8; 4]
§DesignedCapacity: u32
§FullChargedCapacity: u32
§DefaultAlert1: u32
§DefaultAlert2: u32
§CriticalBias: u32
§CycleCount: u32
Trait Implementations§
§impl Clone for BATTERY_INFORMATION
impl Clone for BATTERY_INFORMATION
§fn clone(&self) -> BATTERY_INFORMATION
fn clone(&self) -> BATTERY_INFORMATION
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 BATTERY_INFORMATION
Auto Trait Implementations§
impl Freeze for BATTERY_INFORMATION
impl RefUnwindSafe for BATTERY_INFORMATION
impl Send for BATTERY_INFORMATION
impl Sync for BATTERY_INFORMATION
impl Unpin for BATTERY_INFORMATION
impl UnwindSafe for BATTERY_INFORMATION
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
)