Struct windows::Win32::System::Power::BATTERY_SET_INFORMATION
#[repr(C)]pub struct BATTERY_SET_INFORMATION {
pub BatteryTag: u32,
pub InformationLevel: BATTERY_SET_INFORMATION_LEVEL,
pub Buffer: [u8; 1],
}
Fields§
§BatteryTag: u32
§InformationLevel: BATTERY_SET_INFORMATION_LEVEL
§Buffer: [u8; 1]
Trait Implementations§
§impl Clone for BATTERY_SET_INFORMATION
impl Clone for BATTERY_SET_INFORMATION
§fn clone(&self) -> BATTERY_SET_INFORMATION
fn clone(&self) -> BATTERY_SET_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 more§impl Debug for BATTERY_SET_INFORMATION
impl Debug for BATTERY_SET_INFORMATION
§impl Default for BATTERY_SET_INFORMATION
impl Default for BATTERY_SET_INFORMATION
§impl PartialEq for BATTERY_SET_INFORMATION
impl PartialEq for BATTERY_SET_INFORMATION
§fn eq(&self, other: &BATTERY_SET_INFORMATION) -> bool
fn eq(&self, other: &BATTERY_SET_INFORMATION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BATTERY_SET_INFORMATION
impl Eq for BATTERY_SET_INFORMATION
impl StructuralPartialEq for BATTERY_SET_INFORMATION
Auto Trait Implementations§
impl Freeze for BATTERY_SET_INFORMATION
impl RefUnwindSafe for BATTERY_SET_INFORMATION
impl Send for BATTERY_SET_INFORMATION
impl Sync for BATTERY_SET_INFORMATION
impl Unpin for BATTERY_SET_INFORMATION
impl UnwindSafe for BATTERY_SET_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
)