pub struct SubCommandGroup(/* private fields */);Expand description
Builds a group of sub-commands (/name group sub).
Implementations§
Source§impl SubCommandGroup
impl SubCommandGroup
Sourcepub fn sub_command(self, sub: SubCommand) -> Self
pub fn sub_command(self, sub: SubCommand) -> Self
Adds a sub-command.
Trait Implementations§
Source§impl Clone for SubCommandGroup
impl Clone for SubCommandGroup
Source§fn clone(&self) -> SubCommandGroup
fn clone(&self) -> SubCommandGroup
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 moreAuto Trait Implementations§
impl Freeze for SubCommandGroup
impl RefUnwindSafe for SubCommandGroup
impl Send for SubCommandGroup
impl Sync for SubCommandGroup
impl Unpin for SubCommandGroup
impl UnsafeUnpin for SubCommandGroup
impl UnwindSafe for SubCommandGroup
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