[][src]Struct clap_conf::convert::Holder

pub struct Holder<'a, A, B, R, RB> { /* fields omitted */ }

Methods

impl<'a, A, RA, B, RB> Holder<'a, A, B, RA, RB> where
    A: Getter<'a, RA>,
    B: Getter<'a, RB>,
    RA: From<RB> + Debug + PartialEq,
    RB: Debug + PartialEq
[src]

pub fn new(a: A, b: B) -> Self[src]

Trait Implementations

impl<'a, A, RA, B, RB> Getter<'a, RA> for Holder<'a, A, B, RA, RB> where
    A: Getter<'a, RA>,
    B: Getter<'a, RB>,
    A::Iter: Iterator<Item = RA>,
    B::Iter: Iterator<Item = RB>,
    RA: PartialEq + Debug,
    RB: PartialEq + Debug,
    RA: From<RB>, 
[src]

type Iter = OrIter<A::Iter, B::Iter>

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<'a, A, B, R, RB> Send for Holder<'a, A, B, R, RB> where
    A: Send,
    B: Send,
    R: Sync,
    RB: Send

impl<'a, A, B, R, RB> Sync for Holder<'a, A, B, R, RB> where
    A: Sync,
    B: Sync,
    R: Sync,
    RB: 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]