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,
}
Fields§
§PowerState: u32
§Capacity: u32
§Voltage: u32
§Rate: i32
Trait Implementations§
§impl Clone for BATTERY_STATUS
impl Clone for BATTERY_STATUS
§fn clone(&self) -> BATTERY_STATUS
fn clone(&self) -> BATTERY_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 moreimpl Copy for BATTERY_STATUS
Auto Trait Implementations§
impl Freeze for BATTERY_STATUS
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§
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
)