#[repr(C)]pub struct _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR {
pub Version: DWORD,
pub Size: DWORD,
pub ElementIdentifier: DWORD,
pub PhysicalElementType: BYTE,
pub PhysicalElementHealth: BYTE,
pub Reserved1: [BYTE; 2],
pub AssociatedCapacity: DWORDLONG,
pub Reserved2: [DWORD; 4],
}
Fields§
§Version: DWORD
§Size: DWORD
§ElementIdentifier: DWORD
§PhysicalElementType: BYTE
§PhysicalElementHealth: BYTE
§Reserved1: [BYTE; 2]
§AssociatedCapacity: DWORDLONG
§Reserved2: [DWORD; 4]
Trait Implementations§
Source§impl Clone for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl Clone for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
Source§fn clone(&self) -> _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
fn clone(&self) -> _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
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 moreSource§impl Ord for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl Ord for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
Source§fn cmp(&self, other: &_PHYSICAL_ELEMENT_STATUS_DESCRIPTOR) -> Ordering
fn cmp(&self, other: &_PHYSICAL_ELEMENT_STATUS_DESCRIPTOR) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl PartialEq for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
Source§fn eq(&self, other: &_PHYSICAL_ELEMENT_STATUS_DESCRIPTOR) -> bool
fn eq(&self, other: &_PHYSICAL_ELEMENT_STATUS_DESCRIPTOR) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl PartialOrd for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl Copy for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl Eq for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl StructuralPartialEq for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl RefUnwindSafe for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl Send for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl Sync for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl Unpin for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
impl UnwindSafe for _PHYSICAL_ELEMENT_STATUS_DESCRIPTOR
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