pub enum TreeSubcommand {
Show(TreeShowCommand),
Replace(TreeReplaceCommand),
ReplaceLeaf(TreeReplaceLeafCommand),
Delete(TreeDeleteCommand),
Insert(TreeInsertCommand),
Swap(TreeSwapCommand),
Unwrap(TreeUnwrapCommand),
Raise(TreeRaiseCommand),
Wrap(TreeWrapCommand),
SearchReplace(TreeSearchReplaceCommand),
Rewrite(TreeStructuralCommand),
}Variants§
Show(TreeShowCommand)
Replace(TreeReplaceCommand)
ReplaceLeaf(TreeReplaceLeafCommand)
Delete(TreeDeleteCommand)
Insert(TreeInsertCommand)
Swap(TreeSwapCommand)
Unwrap(TreeUnwrapCommand)
Raise(TreeRaiseCommand)
Wrap(TreeWrapCommand)
SearchReplace(TreeSearchReplaceCommand)
Rewrite(TreeStructuralCommand)
Trait Implementations§
Source§impl Clone for TreeSubcommand
impl Clone for TreeSubcommand
Source§impl Debug for TreeSubcommand
impl Debug for TreeSubcommand
Source§impl FromArgs for TreeSubcommand
impl FromArgs for TreeSubcommand
Source§fn from_args(command_name: &[&str], args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(command_name: &[&str], args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
Source§fn redact_arg_values(
command_name: &[&str],
args: &[&str],
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( command_name: &[&str], args: &[&str], ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
Source§impl PartialEq for TreeSubcommand
impl PartialEq for TreeSubcommand
impl StructuralPartialEq for TreeSubcommand
Source§impl SubCommands for TreeSubcommand
impl SubCommands for TreeSubcommand
Source§const COMMANDS: &'static [&'static CommandInfo]
const COMMANDS: &'static [&'static CommandInfo]
Info for the commands.
Source§fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
Get a list of commands that are discovered at runtime.
Auto Trait Implementations§
impl Forget for TreeSubcommand
impl Freeze for TreeSubcommand
impl Move for TreeSubcommand
impl RefUnwindSafe for TreeSubcommand
impl Send for TreeSubcommandwhere
RawVecInner: Send,
impl Sync for TreeSubcommandwhere
RawVecInner: Sync,
impl Unpin for TreeSubcommand
impl UnsafeUnpin for TreeSubcommandwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for TreeSubcommandwhere
RawVecInner: UnwindSafe,
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