pub enum ToolChainCommand {
Add {
user: String,
repo: String,
},
Remove {
toolchain: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for ToolChainCommand
impl Clone for ToolChainCommand
Source§fn clone(&self) -> ToolChainCommand
fn clone(&self) -> ToolChainCommand
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 ToolChainCommand
impl Debug for ToolChainCommand
Source§impl FromArgMatches for ToolChainCommand
impl FromArgMatches for ToolChainCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Ord for ToolChainCommand
impl Ord for ToolChainCommand
Source§fn cmp(&self, other: &ToolChainCommand) -> Ordering
fn cmp(&self, other: &ToolChainCommand) -> 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 ToolChainCommand
impl PartialEq for ToolChainCommand
Source§fn eq(&self, other: &ToolChainCommand) -> bool
fn eq(&self, other: &ToolChainCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ToolChainCommand
impl PartialOrd for ToolChainCommand
Source§impl Subcommand for ToolChainCommand
impl Subcommand for ToolChainCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandimpl Eq for ToolChainCommand
impl StructuralPartialEq for ToolChainCommand
Auto Trait Implementations§
impl Freeze for ToolChainCommand
impl RefUnwindSafe for ToolChainCommand
impl Send for ToolChainCommand
impl Sync for ToolChainCommand
impl Unpin for ToolChainCommand
impl UnsafeUnpin for ToolChainCommand
impl UnwindSafe for ToolChainCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.