pub struct HelpDoc {
pub feature: &'static str,
pub group: &'static str,
pub synopsis: &'static str,
pub syntax: &'static str,
pub params: &'static [HelpParam],
pub examples: &'static [&'static str],
pub gotchas: &'static [&'static str],
pub related: &'static [&'static str],
}Expand description
One feature’s compiled documentation. feature matches the tool/CLI name
so lookups are stable.
Fields§
§feature: &'static str§group: &'static str§synopsis: &'static str§syntax: &'static str§params: &'static [HelpParam]§examples: &'static [&'static str]§gotchas: &'static [&'static str]Trait Implementations§
Auto Trait Implementations§
impl Freeze for HelpDoc
impl RefUnwindSafe for HelpDoc
impl Send for HelpDoc
impl Sync for HelpDoc
impl Unpin for HelpDoc
impl UnsafeUnpin for HelpDoc
impl UnwindSafe for HelpDoc
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