[][src]Struct argwerk::HelpFormat

pub struct HelpFormat<'a> { /* fields omitted */ }

A wrapper to format the help message with custom parameters.

Constructed through Help::format.

Implementations

impl HelpFormat<'_>[src]

pub fn width(self, width: usize) -> Self[src]

Configure the width to use for help text.

pub fn padding(self, padding: usize) -> Self[src]

Configure the padding to use when formatting help.

This determines the indentation of options and the distances between options and help text.

Trait Implementations

impl<'a> Display for HelpFormat<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for HelpFormat<'a>[src]

impl<'a> Send for HelpFormat<'a>[src]

impl<'a> Sync for HelpFormat<'a>[src]

impl<'a> Unpin for HelpFormat<'a>[src]

impl<'a> UnwindSafe for HelpFormat<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.