pub struct ManContent {
pub description: Option<&'static str>,
pub extra_sections: &'static [(&'static str, &'static str)],
}Fields§
§description: Option<&'static str>Replaces clap’s auto-generated DESCRIPTION (which would otherwise
be the short about string from the derive). Plain text — the
generator wraps it in .SH DESCRIPTION itself.
extra_sections: &'static [(&'static str, &'static str)]Sections appended after OPTIONS, in the order given. Each entry
is (uppercase title, raw groff body). Conventional ordering:
EXAMPLES, FILES, ENVIRONMENT, NOTES, BUGS, SEE ALSO.
Implementations§
Source§impl ManContent
impl ManContent
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ManContent
impl RefUnwindSafe for ManContent
impl Send for ManContent
impl Sync for ManContent
impl Unpin for ManContent
impl UnsafeUnpin for ManContent
impl UnwindSafe for ManContent
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