Struct trace_recorder_parser::types::PlatformCfgVersion
source · pub struct PlatformCfgVersion {
pub major: u8,
pub minor: u8,
pub patch: u16,
}
Fields§
§major: u8
§minor: u8
§patch: u16
Trait Implementations§
source§impl Clone for PlatformCfgVersion
impl Clone for PlatformCfgVersion
source§fn clone(&self) -> PlatformCfgVersion
fn clone(&self) -> PlatformCfgVersion
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 PlatformCfgVersion
impl Debug for PlatformCfgVersion
source§impl Display for PlatformCfgVersion
impl Display for PlatformCfgVersion
source§impl From<PlatformCfgVersion> for (u8, u8, u16)
impl From<PlatformCfgVersion> for (u8, u8, u16)
source§fn from(original: PlatformCfgVersion) -> Self
fn from(original: PlatformCfgVersion) -> Self
Converts to this type from the input type.
source§impl Hash for PlatformCfgVersion
impl Hash for PlatformCfgVersion
source§impl Ord for PlatformCfgVersion
impl Ord for PlatformCfgVersion
source§fn cmp(&self, other: &PlatformCfgVersion) -> Ordering
fn cmp(&self, other: &PlatformCfgVersion) -> 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<PlatformCfgVersion> for PlatformCfgVersion
impl PartialEq<PlatformCfgVersion> for PlatformCfgVersion
source§fn eq(&self, other: &PlatformCfgVersion) -> bool
fn eq(&self, other: &PlatformCfgVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PlatformCfgVersion> for PlatformCfgVersion
impl PartialOrd<PlatformCfgVersion> for PlatformCfgVersion
source§fn partial_cmp(&self, other: &PlatformCfgVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &PlatformCfgVersion) -> 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 PlatformCfgVersion
impl Eq for PlatformCfgVersion
impl StructuralEq for PlatformCfgVersion
impl StructuralPartialEq for PlatformCfgVersion
Auto Trait Implementations§
impl RefUnwindSafe for PlatformCfgVersion
impl Send for PlatformCfgVersion
impl Sync for PlatformCfgVersion
impl Unpin for PlatformCfgVersion
impl UnwindSafe for PlatformCfgVersion
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