pub enum YarnCommand {
Install,
Add,
Run,
Test,
Workspaces,
Publish,
}Expand description
Common Yarn command labels.
Variants§
Trait Implementations§
Source§impl Clone for YarnCommand
impl Clone for YarnCommand
Source§fn clone(&self) -> YarnCommand
fn clone(&self) -> YarnCommand
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 YarnCommand
impl Debug for YarnCommand
Source§impl FromStr for YarnCommand
impl FromStr for YarnCommand
Source§type Err = YarnTextError
type Err = YarnTextError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<YarnCommand, <YarnCommand as FromStr>::Err>
fn from_str(input: &str) -> Result<YarnCommand, <YarnCommand as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for YarnCommand
impl Hash for YarnCommand
Source§impl Ord for YarnCommand
impl Ord for YarnCommand
Source§fn cmp(&self, other: &YarnCommand) -> Ordering
fn cmp(&self, other: &YarnCommand) -> 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 YarnCommand
impl PartialEq for YarnCommand
Source§fn eq(&self, other: &YarnCommand) -> bool
fn eq(&self, other: &YarnCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for YarnCommand
impl PartialOrd for YarnCommand
impl Copy for YarnCommand
impl Eq for YarnCommand
impl StructuralPartialEq for YarnCommand
Auto Trait Implementations§
impl Freeze for YarnCommand
impl RefUnwindSafe for YarnCommand
impl Send for YarnCommand
impl Sync for YarnCommand
impl Unpin for YarnCommand
impl UnsafeUnpin for YarnCommand
impl UnwindSafe for YarnCommand
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