Struct windows::Win32::System::Power::EMI_METADATA_V1
#[repr(C)]pub struct EMI_METADATA_V1 {
pub MeasurementUnit: EMI_MEASUREMENT_UNIT,
pub HardwareOEM: [u16; 16],
pub HardwareModel: [u16; 16],
pub HardwareRevision: u16,
pub MeteredHardwareNameSize: u16,
pub MeteredHardwareName: [u16; 1],
}
Fields§
§MeasurementUnit: EMI_MEASUREMENT_UNIT
§HardwareOEM: [u16; 16]
§HardwareModel: [u16; 16]
§HardwareRevision: u16
§MeteredHardwareNameSize: u16
§MeteredHardwareName: [u16; 1]
Trait Implementations§
§impl Clone for EMI_METADATA_V1
impl Clone for EMI_METADATA_V1
§fn clone(&self) -> EMI_METADATA_V1
fn clone(&self) -> EMI_METADATA_V1
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 EMI_METADATA_V1
impl Debug for EMI_METADATA_V1
§impl Default for EMI_METADATA_V1
impl Default for EMI_METADATA_V1
§impl PartialEq for EMI_METADATA_V1
impl PartialEq for EMI_METADATA_V1
§fn eq(&self, other: &EMI_METADATA_V1) -> bool
fn eq(&self, other: &EMI_METADATA_V1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EMI_METADATA_V1
impl Eq for EMI_METADATA_V1
impl StructuralPartialEq for EMI_METADATA_V1
Auto Trait Implementations§
impl Freeze for EMI_METADATA_V1
impl RefUnwindSafe for EMI_METADATA_V1
impl Send for EMI_METADATA_V1
impl Sync for EMI_METADATA_V1
impl Unpin for EMI_METADATA_V1
impl UnwindSafe for EMI_METADATA_V1
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
)