Enum GoVersionFamily
pub enum GoVersionFamily {
Go1,
Go2,
}Expand description
Go major release family.
Variants§
Implementations§
§impl GoVersionFamily
impl GoVersionFamily
Trait Implementations§
§impl Clone for GoVersionFamily
impl Clone for GoVersionFamily
§fn clone(&self) -> GoVersionFamily
fn clone(&self) -> GoVersionFamily
Returns a duplicate 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 more§impl Debug for GoVersionFamily
impl Debug for GoVersionFamily
§impl Display for GoVersionFamily
impl Display for GoVersionFamily
§impl FromStr for GoVersionFamily
impl FromStr for GoVersionFamily
§type Err = GoVersionParseError
type Err = GoVersionParseError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<GoVersionFamily, <GoVersionFamily as FromStr>::Err>
fn from_str( input: &str, ) -> Result<GoVersionFamily, <GoVersionFamily as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for GoVersionFamily
impl Hash for GoVersionFamily
§impl Ord for GoVersionFamily
impl Ord for GoVersionFamily
§impl PartialEq for GoVersionFamily
impl PartialEq for GoVersionFamily
§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