Struct dmidecode::SmbiosVersion
source · pub struct SmbiosVersion {
pub major: u8,
pub minor: u8,
}Expand description
The version number associated with the Smbios EntryPoint
Fields§
§major: u8§minor: u8Trait Implementations§
source§impl Clone for SmbiosVersion
impl Clone for SmbiosVersion
source§fn clone(&self) -> SmbiosVersion
fn clone(&self) -> SmbiosVersion
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 Debug for SmbiosVersion
impl Debug for SmbiosVersion
source§impl Hash for SmbiosVersion
impl Hash for SmbiosVersion
source§impl Ord for SmbiosVersion
impl Ord for SmbiosVersion
source§fn cmp(&self, other: &SmbiosVersion) -> Ordering
fn cmp(&self, other: &SmbiosVersion) -> 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 SmbiosVersion
impl PartialEq for SmbiosVersion
source§fn eq(&self, other: &SmbiosVersion) -> bool
fn eq(&self, other: &SmbiosVersion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SmbiosVersion
impl PartialOrd for SmbiosVersion
source§fn partial_cmp(&self, other: &SmbiosVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &SmbiosVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for SmbiosVersion
impl Eq for SmbiosVersion
impl StructuralEq for SmbiosVersion
impl StructuralPartialEq for SmbiosVersion
Auto Trait Implementations§
impl RefUnwindSafe for SmbiosVersion
impl Send for SmbiosVersion
impl Sync for SmbiosVersion
impl Unpin for SmbiosVersion
impl UnwindSafe for SmbiosVersion
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