[][src]Struct round_based::containers::push::Map

pub struct Map<P, F> { /* fields omitted */ }

Wraps pushable collection and applies closure f to every pushed element

This wrapper is created by method map on PushExt

Trait Implementations

impl<A, B, P, F> Push<B> for Map<P, F> where
    P: Push<A>,
    F: FnMut(B) -> A, 
[src]

Auto Trait Implementations

impl<P, F> RefUnwindSafe for Map<P, F> where
    F: RefUnwindSafe,
    P: RefUnwindSafe
[src]

impl<P, F> Send for Map<P, F> where
    F: Send,
    P: Send
[src]

impl<P, F> Sync for Map<P, F> where
    F: Sync,
    P: Sync
[src]

impl<P, F> Unpin for Map<P, F> where
    F: Unpin,
    P: Unpin
[src]

impl<P, F> UnwindSafe for Map<P, F> where
    F: UnwindSafe,
    P: UnwindSafe
[src]

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<P, T> PushExt<T> for P where
    P: Push<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.