Enum gc_sequence::and_then::AndThenWith [−][src]
#[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>)>)
Implementations
impl<S, C, F, I> AndThenWith<S, C, F, I>
[src]
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<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]
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]fn needs_trace() -> bool
[src]
fn trace(&self, cc: CollectionContext<'_>)
[src]
impl<S, C, F, I> MustNotImplDrop for AndThenWith<S, C, F, I>
[src]
impl<S, C, F, I> MustNotImplDrop for AndThenWith<S, C, F, I>
[src]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]
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]Auto Trait Implementations
impl<S, C, F, I> RefUnwindSafe for AndThenWith<S, C, F, I> where
C: RefUnwindSafe,
F: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, C, F, I> RefUnwindSafe for AndThenWith<S, C, F, I> where
C: RefUnwindSafe,
F: RefUnwindSafe,
I: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, C, F, I> UnwindSafe for AndThenWith<S, C, F, I> where
C: UnwindSafe,
F: UnwindSafe,
I: UnwindSafe,
S: UnwindSafe,
impl<S, C, F, I> UnwindSafe for AndThenWith<S, C, F, I> where
C: UnwindSafe,
F: UnwindSafe,
I: UnwindSafe,
S: UnwindSafe,