pub struct SemVerTriplet {
pub major: u32,
pub minor: u32,
pub patch: u32,
}Fields§
§major: u32§minor: u32§patch: u32Implementations§
Trait Implementations§
Source§impl Clone for SemVerTriplet
impl Clone for SemVerTriplet
Source§fn clone(&self) -> SemVerTriplet
fn clone(&self) -> SemVerTriplet
Returns a duplicate 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 SemVerTriplet
impl Debug for SemVerTriplet
Source§impl Display for SemVerTriplet
impl Display for SemVerTriplet
Source§impl Ord for SemVerTriplet
impl Ord for SemVerTriplet
Source§fn cmp(&self, other: &SemVerTriplet) -> Ordering
fn cmp(&self, other: &SemVerTriplet) -> 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 SemVerTriplet
impl PartialEq for SemVerTriplet
Source§impl PartialOrd for SemVerTriplet
impl PartialOrd for SemVerTriplet
impl Copy for SemVerTriplet
impl Eq for SemVerTriplet
impl StructuralPartialEq for SemVerTriplet
Auto Trait Implementations§
impl Freeze for SemVerTriplet
impl RefUnwindSafe for SemVerTriplet
impl Send for SemVerTriplet
impl Sync for SemVerTriplet
impl Unpin for SemVerTriplet
impl UnsafeUnpin for SemVerTriplet
impl UnwindSafe for SemVerTriplet
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