[−][src]Struct mtots_core::ArgSpecBuilder
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]
fn default() -> ArgSpecBuilder
[src]
impl From<ArgSpecBuilder> for ArgSpec
[src]
fn from(builder: ArgSpecBuilder) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ArgSpecBuilder
impl !Send for ArgSpecBuilder
impl !Sync for ArgSpecBuilder
impl Unpin for ArgSpecBuilder
impl UnwindSafe for ArgSpecBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,