pub struct ManContent {
pub description: Option<&'static str>,
pub extra_sections: &'static [(&'static str, &'static str)],
}Expand description
Hand-authored extras for a single command’s documentation. Returned
by extras_for keyed on the subcommand name (or "" for the top-
level git-lfs page). Both fields are markdown — xtask renders them
to either groff or markdown depending on output format.
Fields§
§description: Option<&'static str>Replaces the auto-generated DESCRIPTION (which is just the short
about from the clap derive). Markdown.
extra_sections: &'static [(&'static str, &'static str)]Sections appended after OPTIONS, in order. Each entry is
(title, markdown body). Conventional titles: EXAMPLES,
FILES, ENVIRONMENT, NOTES, BUGS, SEE ALSO. The title
becomes a .SH in groff and a top-level ## in markdown.
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