pub struct GoMinorVersion(/* private fields */);Expand description
Minor component of a Go version.
Implementations§
Trait Implementations§
Source§impl Clone for GoMinorVersion
impl Clone for GoMinorVersion
Source§fn clone(&self) -> GoMinorVersion
fn clone(&self) -> GoMinorVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GoMinorVersion
impl Debug for GoMinorVersion
Source§impl Display for GoMinorVersion
impl Display for GoMinorVersion
Source§impl Hash for GoMinorVersion
impl Hash for GoMinorVersion
Source§impl Ord for GoMinorVersion
impl Ord for GoMinorVersion
Source§fn cmp(&self, other: &GoMinorVersion) -> Ordering
fn cmp(&self, other: &GoMinorVersion) -> Ordering
1.21.0 (const: unstable) · 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 GoMinorVersion
impl PartialEq for GoMinorVersion
Source§fn eq(&self, other: &GoMinorVersion) -> bool
fn eq(&self, other: &GoMinorVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GoMinorVersion
impl PartialOrd for GoMinorVersion
impl Copy for GoMinorVersion
impl Eq for GoMinorVersion
impl StructuralPartialEq for GoMinorVersion
Auto Trait Implementations§
impl Freeze for GoMinorVersion
impl RefUnwindSafe for GoMinorVersion
impl Send for GoMinorVersion
impl Sync for GoMinorVersion
impl Unpin for GoMinorVersion
impl UnsafeUnpin for GoMinorVersion
impl UnwindSafe for GoMinorVersion
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