[][src]Struct mtots_core::ArgSpecBuilder

pub struct ArgSpecBuilder { /* fields omitted */ }

Implementations

impl ArgSpecBuilder[src]

pub fn build(self) -> ArgSpec[src]

pub fn req<S: Into<RcStr>>(self, name: S) -> Self[src]

pub fn def<S: Into<RcStr>, V: Into<ConstVal>>(self, name: S, value: V) -> Self[src]

pub fn var<S: Into<RcStr>>(self, optname: S) -> Self[src]

pub fn key<S: Into<RcStr>>(self, keyname: S) -> Self[src]

Trait Implementations

impl Default for ArgSpecBuilder[src]

impl From<ArgSpecBuilder> for ArgSpec[src]

Auto Trait Implementations

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, 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.