[][src]Struct papyrus::cmds::CommandBuilder

pub struct CommandBuilder<R> { /* fields omitted */ }

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

Methods

impl Builder<()>[src]

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

Initialise a Builder instance with the given root name.

impl<R> Builder<R>[src]

pub fn new(root_name: &str) -> Builder<R>[src]

Initialise new Builder instance with no configuration.

Trait Implementations

impl<R> BuilderChain<R> for Builder<R>[src]

impl<R> Debug for Builder<R> where
    R: Debug
[src]

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

impl<R> StructuralPartialEq for Builder<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for Builder<R>

impl<R> Send for Builder<R>

impl<R> Sync for Builder<R>

impl<R> Unpin for Builder<R>

impl<R> UnwindSafe for Builder<R>

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> Erased for T[src]

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

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

impl<E> SpecializationError for E[src]

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

type Error = !

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.