[][src]Struct clap_conf::convert::Wrapper

pub struct Wrapper<G, F, CR> {
    pub g: G,
    pub f: F,
    // some fields omitted
}

Fields

g: Gf: F

Methods

impl<G, F, CR> Wrapper<G, F, CR>[src]

pub fn new(g: G, f: F) -> Self[src]

Trait Implementations

impl<'a, G, R, F, CR> Getter<'a, R> for Wrapper<G, F, CR> where
    G: Getter<'a, CR>,
    F: Fn(CR) -> R + Clone,
    CR: PartialEq + Debug,
    R: PartialEq + Debug
[src]

type Iter = ConvIter<G::Iter, F>

fn wrap<R2, F: Fn(R) -> R2>(self, f: F) -> Wrapper<Self, F, R>[src]

fn hold<B, RB>(self, b: B) -> Holder<'a, Self, B, R, RB> where
    B: Getter<'a, RB>,
    R: From<RB>,
    RB: PartialEq + Debug,
    B::Iter: Iterator<Item = RB>, 
[src]

fn grab(&'a self) -> Grabber<'a, Self, R, Self::Iter>[src]

Auto Trait Implementations

impl<G, F, CR> Send for Wrapper<G, F, CR> where
    CR: Send,
    F: Send,
    G: Send

impl<G, F, CR> Sync for Wrapper<G, F, CR> where
    CR: Sync,
    F: Sync,
    G: Sync

Blanket Implementations

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

impl<T> From for 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]