[][src]Struct gc_sequence::map_result::MapOkWith

#[must_use = "sequences do nothing unless stepped"]
pub struct MapOkWith<S, C, F>(_, _);

Methods

impl<S, C, F> MapOkWith<S, C, F>[src]

pub fn new(s: S, c: C, f: F) -> MapOkWith<S, C, F>[src]

Trait Implementations

impl<'gc, S, C, F, I, E, R> Sequence<'gc> for MapOkWith<S, C, F> where
    S: Sequence<'gc, Output = Result<I, E>>,
    C: Collect,
    F: 'static + FnOnce(C, I) -> R, 
[src]

type Output = Result<R, E>

impl<S, C, F> Drop for MapOkWith<S, C, F>[src]

impl<S: Debug, C: Debug, F: Debug> Debug for MapOkWith<S, C, F>[src]

impl<S, C, F> Collect for MapOkWith<S, C, F> where
    S: Collect,
    Option<(C, StaticCollect<F>)>: Collect
[src]

Auto Trait Implementations

impl<S, C, F> Send for MapOkWith<S, C, F> where
    C: Send,
    F: Send,
    S: Send

impl<S, C, F> Sync for MapOkWith<S, C, F> where
    C: Sync,
    F: Sync,
    S: Sync

Blanket Implementations

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]