[][src]Struct cmdtree::builder::Builder

pub struct Builder<'a, R> { /* fields omitted */ }

The persistent Builder structure to construct a Commander command tree. See module level documentation for more information.

Methods

impl<'a> Builder<'a, ()>[src]

pub fn default_config(root_name: &str) -> Self[src]

Initialise a Builder instance with the given root name.

impl<'a, R> Builder<'a, R>[src]

pub fn new(root_name: &str) -> Self[src]

Initialise new Builder instance with no configuration.

Trait Implementations

impl<'a, R> BuilderChain<'a, R> for Builder<'a, R>[src]

impl<'a, R: PartialEq> PartialEq<Builder<'a, R>> for Builder<'a, R>[src]

impl<'a, R: Debug> Debug for Builder<'a, R>[src]

Auto Trait Implementations

impl<'a, R> Send for Builder<'a, R>

impl<'a, R> Sync for Builder<'a, R>

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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