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