pub struct VersionTriple {
pub major: u32,
pub minor: u32,
pub patch: u32,
}
Fields§
§major: u32
§minor: u32
§patch: u32
Implementations§
Trait Implementations§
source§impl Clone for VersionTriple
impl Clone for VersionTriple
source§fn clone(&self) -> VersionTriple
fn clone(&self) -> VersionTriple
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 VersionTriple
impl Debug for VersionTriple
source§impl Default for VersionTriple
impl Default for VersionTriple
source§fn default() -> VersionTriple
fn default() -> VersionTriple
Returns the “default value” for a type. Read more
source§impl Display for VersionTriple
impl Display for VersionTriple
source§impl FromStr for VersionTriple
impl FromStr for VersionTriple
source§impl Ord for VersionTriple
impl Ord for VersionTriple
source§fn cmp(&self, other: &VersionTriple) -> Ordering
fn cmp(&self, other: &VersionTriple) -> 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 VersionTriple
impl PartialEq for VersionTriple
source§impl PartialOrd for VersionTriple
impl PartialOrd for VersionTriple
source§impl Serialize for VersionTriple
impl Serialize for VersionTriple
impl Copy for VersionTriple
impl Eq for VersionTriple
impl StructuralPartialEq for VersionTriple
Auto Trait Implementations§
impl Freeze for VersionTriple
impl RefUnwindSafe for VersionTriple
impl Send for VersionTriple
impl Sync for VersionTriple
impl Unpin for VersionTriple
impl UnwindSafe for VersionTriple
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§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
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.