pub struct HelpSection {
pub title: &'static str,
pub entries: Vec<HelpEntry>,
}Expand description
A named section in the help output (e.g. “Arguments”, “Assets”).
Fields§
§title: &'static strSection title shown after the ◆ symbol.
entries: Vec<HelpEntry>Entries within the section.
Auto Trait Implementations§
impl Freeze for HelpSection
impl RefUnwindSafe for HelpSection
impl Send for HelpSection
impl Sync for HelpSection
impl Unpin for HelpSection
impl UnsafeUnpin for HelpSection
impl UnwindSafe for HelpSection
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