pub enum HelpScope {
OneLevel,
Recursive,
}Expand description
How much of a command tree a help request should render.
Requires the cli-help feature.
Variants§
OneLevel
Render only the selected command’s own clap-style help.
Clap’s normal help still lists direct subcommands in the “Commands” section, but descendant command detail is not expanded.
Recursive
Render the selected command and all visible descendant subcommands.
Trait Implementations§
impl Copy for HelpScope
impl Eq for HelpScope
impl StructuralPartialEq for HelpScope
Auto Trait Implementations§
impl Freeze for HelpScope
impl RefUnwindSafe for HelpScope
impl Send for HelpScope
impl Sync for HelpScope
impl Unpin for HelpScope
impl UnsafeUnpin for HelpScope
impl UnwindSafe for HelpScope
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> 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.