pub struct Manual { /* private fields */ }
Expand description
The main man page struct.
Implementations§
Source§impl Manual
impl Manual
Sourcepub fn description<S: Into<String>>(self, description: S) -> Self
pub fn description<S: Into<String>>(self, description: S) -> Self
Add a long description.
Add an author.
Sourcepub fn arg(self, arg: Arg) -> Self
pub fn arg(self, arg: Arg) -> Self
Add a positional argument. The items are displayed in the order they’re pushed.
pub fn custom_synopsis_expansion<S: Into<String>>(self, expansion: S) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Manual
impl !RefUnwindSafe for Manual
impl !Send for Manual
impl !Sync for Manual
impl Unpin for Manual
impl !UnwindSafe for Manual
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