[][src]Struct work_tock_lib::convert::Holder

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

Implementations

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<RA> + Display,
    RB: Debug + PartialEq<RB> + Display
[src]

pub fn new(a: A, b: B) -> Holder<'a, A, B, RA, RB>[src]

Trait Implementations

impl<'a, A, B, R, RB> Debug for Holder<'a, A, B, R, RB> where
    A: Debug,
    B: Debug,
    R: Debug,
    RB: Debug
[src]

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>,
    RA: PartialEq<RA> + Debug + Display + From<RB>,
    RB: PartialEq<RB> + Debug + Display,
    <A as Getter<'a, RA>>::Iter: Iterator,
    <B as Getter<'a, RB>>::Iter: Iterator,
    <<A as Getter<'a, RA>>::Iter as Iterator>::Item == RA,
    <<B as Getter<'a, RB>>::Iter as Iterator>::Item == RB, 
[src]

type Iter = OrIter<<A as Getter<'a, RA>>::Iter, <B as Getter<'a, RB>>::Iter>

Auto Trait Implementations

impl<'a, A, B, R, RB> RefUnwindSafe for Holder<'a, A, B, R, RB> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    R: RefUnwindSafe,
    RB: RefUnwindSafe

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

impl<'a, A, B, R, RB> Unpin for Holder<'a, A, B, R, RB> where
    A: Unpin,
    B: Unpin,
    RB: Unpin

impl<'a, A, B, R, RB> UnwindSafe for Holder<'a, A, B, R, RB> where
    A: UnwindSafe,
    B: UnwindSafe,
    R: RefUnwindSafe,
    RB: UnwindSafe

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.