[][src]Enum gc_sequence::and_then::AndThenWith

#[must_use = "sequences do nothing unless stepped"]
pub enum AndThenWith<S, C, F, I> { First(S, Option<(C, StaticCollect<F>)>), Second(Option<(C, I, StaticCollect<F>)>), }

Variants

First(S, Option<(C, StaticCollect<F>)>)Second(Option<(C, I, StaticCollect<F>)>)

Methods

impl<S, C, F, I> AndThenWith<S, C, F, I>[src]

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

Trait Implementations

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

type Output = Result<R, E>

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

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

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

Auto Trait Implementations

impl<S, C, F, I> Send for AndThenWith<S, C, F, I> where
    C: Send,
    F: Send,
    I: Send,
    S: Send

impl<S, C, F, I> Sync for AndThenWith<S, C, F, I> where
    C: Sync,
    F: Sync,
    I: Sync,
    S: Sync

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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