pub enum GoVersionFamily {
Go1,
Go2,
}Expand description
Go major release family.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GoVersionFamily
impl Clone for GoVersionFamily
Source§fn clone(&self) -> GoVersionFamily
fn clone(&self) -> GoVersionFamily
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 GoVersionFamily
impl Debug for GoVersionFamily
Source§impl Display for GoVersionFamily
impl Display for GoVersionFamily
Source§impl FromStr for GoVersionFamily
impl FromStr for GoVersionFamily
Source§impl Hash for GoVersionFamily
impl Hash for GoVersionFamily
Source§impl Ord for GoVersionFamily
impl Ord for GoVersionFamily
Source§fn cmp(&self, other: &GoVersionFamily) -> Ordering
fn cmp(&self, other: &GoVersionFamily) -> 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 GoVersionFamily
impl PartialEq for GoVersionFamily
Source§fn eq(&self, other: &GoVersionFamily) -> bool
fn eq(&self, other: &GoVersionFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GoVersionFamily
impl PartialOrd for GoVersionFamily
impl Copy for GoVersionFamily
impl Eq for GoVersionFamily
impl StructuralPartialEq for GoVersionFamily
Auto Trait Implementations§
impl Freeze for GoVersionFamily
impl RefUnwindSafe for GoVersionFamily
impl Send for GoVersionFamily
impl Sync for GoVersionFamily
impl Unpin for GoVersionFamily
impl UnsafeUnpin for GoVersionFamily
impl UnwindSafe for GoVersionFamily
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