[][src]Struct clap_conf::grabber::Grabber

pub struct Grabber<'a, H, R, I> where
    I: Iterator<Item = R>,
    H: Getter<'a, R>,
    R: PartialEq + Debug
{ /* fields omitted */ }

Methods

impl<'a, H, R, I> Grabber<'a, H, R, I> where
    I: Iterator<Item = R>,
    H: Getter<'a, R>,
    R: PartialEq + Debug
[src]

pub fn new(h: &'a H) -> Self[src]

pub fn op<S: AsRef<str>>(self, s: S, f: Filter) -> Self[src]

pub fn conf<S: AsRef<str>>(self, s: S) -> Self[src]

pub fn env<S: AsRef<str>>(self, s: S) -> Self[src]

pub fn arg<S: AsRef<str>>(self, s: S) -> Self[src]

pub fn done(self) -> Option<R>[src]

pub fn def<V>(self, v: V) -> R where
    R: From<V>, 
[src]

impl<'a, H, R, I> Grabber<'a, H, R, I> where
    I: Iterator<Item = R>,
    H: Getter<'a, R>,
    R: PartialEq + Debug + AsRef<str>, 
[src]

pub fn rep_env(self) -> Result<String, ConfError>[src]

pub fn ask<S: AsRef<str>>(self, s: S) -> Result<String, ConfError>[src]

pub fn ask_def<S: AsRef<str>>(self, s: S, def: S) -> String[src]

Trait Implementations

impl<'a, H: Clone, R: Clone, I: Clone> Clone for Grabber<'a, H, R, I> where
    I: Iterator<Item = R>,
    H: Getter<'a, R>,
    R: PartialEq + Debug
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a, H, R, I> Send for Grabber<'a, H, R, I> where
    H: Sync,
    I: Send,
    R: Send

impl<'a, H, R, I> Sync for Grabber<'a, H, R, I> where
    H: Sync,
    I: Sync,
    R: Sync

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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> Borrow for T where
    T: ?Sized
[src]

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

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