pub struct HelpOptions {
pub scope: HelpScope,
pub format: HelpFormat,
}Expand description
Options for rendering CLI help.
Requires the cli-help feature.
Fields§
§scope: HelpScope§format: HelpFormatImplementations§
Source§impl HelpOptions
impl HelpOptions
Sourcepub const fn one_level_plain() -> Self
pub const fn one_level_plain() -> Self
Human-friendly current-level plain help.
Sourcepub const fn recursive_plain() -> Self
pub const fn recursive_plain() -> Self
Agent/doc-friendly recursive plain help.
Trait Implementations§
Source§impl Clone for HelpOptions
impl Clone for HelpOptions
Source§fn clone(&self) -> HelpOptions
fn clone(&self) -> HelpOptions
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 moreimpl Copy for HelpOptions
Source§impl Debug for HelpOptions
impl Debug for HelpOptions
impl Eq for HelpOptions
Source§impl PartialEq for HelpOptions
impl PartialEq for HelpOptions
impl StructuralPartialEq for HelpOptions
Auto Trait Implementations§
impl Freeze for HelpOptions
impl RefUnwindSafe for HelpOptions
impl Send for HelpOptions
impl Sync for HelpOptions
impl Unpin for HelpOptions
impl UnsafeUnpin for HelpOptions
impl UnwindSafe for HelpOptions
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.