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