[][src]Struct work_tock_lib::convert::Wrapper

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

Fields

g: Gf: F

Implementations

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

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

Trait Implementations

impl<G, F, CR> Debug for Wrapper<G, F, CR> where
    CR: Debug,
    F: Debug,
    G: Debug
[src]

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

type Iter = ConvIter<<G as Getter<'a, CR>>::Iter, F>

Auto Trait Implementations

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

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

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

impl<G, F, CR> UnwindSafe for Wrapper<G, F, CR> where
    CR: UnwindSafe,
    F: UnwindSafe,
    G: 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.