Struct windows_sys::Win32::System::Power::BATTERY_STATUS
[−]#[repr(C)]pub struct BATTERY_STATUS {
pub PowerState: u32,
pub Capacity: u32,
pub Voltage: u32,
pub Rate: i32,
}
Expand description
Required features: "Win32_System_Power"
Fields
PowerState: u32
Capacity: u32
Voltage: u32
Rate: i32
Trait Implementations
impl Clone for BATTERY_STATUS
impl Clone for BATTERY_STATUS
impl Copy for BATTERY_STATUS
Auto Trait Implementations
impl RefUnwindSafe for BATTERY_STATUS
impl Send for BATTERY_STATUS
impl Sync for BATTERY_STATUS
impl Unpin for BATTERY_STATUS
impl UnwindSafe for BATTERY_STATUS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more