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,
}
Expand description
Required features: ‘Win32_System_Power’
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
impl Copy for BATTERY_INFORMATION
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more