[][src]Struct kargs::ParserOptions

pub struct ParserOptions { /* fields omitted */ }

Methods

impl ParserOptions[src]

pub fn definitions(self, value: TypeDefs) -> Self[src]

pub fn default_type(self, value: Type) -> Self[src]

pub fn single_shorthand(self, value: bool) -> Self[src]

pub fn the_rest_are_positional(self, value: bool) -> Self[src]

pub fn equals_assignment(self, value: bool) -> Self[src]

pub fn reject_undefined(self, value: bool) -> Self[src]

pub fn reject_positional(self, value: bool) -> Self[src]

pub fn need<S: ToString>(self, name: S, type_: Type) -> Self[src]

pub fn want<S: ToString>(self, name: S, type_: Type) -> Self[src]

Important traits for Parser<I>
pub fn build<I: Iterator<Item = String>>(self, input: I) -> Parser<I>[src]

Important traits for Parser<I>
pub fn build_from_args(self) -> Parser<Skip<Args>>[src]

Trait Implementations

impl Default for ParserOptions[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.