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