Enum gc_sequence::then::Then [−][src]
#[must_use = "sequences do nothing unless stepped"] pub enum Then<'gc, S, F> where
S: Sequence<'gc>, { First(S, Option<StaticCollect<F>>), Second(Option<(S::Output, StaticCollect<F>)>), }
Variants
First(S, Option<StaticCollect<F>>)
Second(Option<(S::Output, StaticCollect<F>)>)
Implementations
Trait Implementations
impl<'gc, S, F> Collect for Then<'gc, S, F> where
S: Sequence<'gc>,
S: Collect,
Option<StaticCollect<F>>: Collect,
Option<(S::Output, StaticCollect<F>)>: Collect,
[src]
impl<'gc, S, F> Collect for Then<'gc, S, F> where
S: Sequence<'gc>,
S: Collect,
Option<StaticCollect<F>>: Collect,
Option<(S::Output, StaticCollect<F>)>: Collect,
[src]fn needs_trace() -> bool
[src]
fn trace(&self, cc: CollectionContext<'_>)
[src]
Auto Trait Implementations
impl<'gc, S, F> RefUnwindSafe for Then<'gc, S, F> where
F: RefUnwindSafe,
S: RefUnwindSafe,
<S as Sequence<'gc>>::Output: RefUnwindSafe,
impl<'gc, S, F> RefUnwindSafe for Then<'gc, S, F> where
F: RefUnwindSafe,
S: RefUnwindSafe,
<S as Sequence<'gc>>::Output: RefUnwindSafe,
impl<'gc, S, F> Send for Then<'gc, S, F> where
F: Send,
S: Send,
<S as Sequence<'gc>>::Output: Send,
impl<'gc, S, F> Send for Then<'gc, S, F> where
F: Send,
S: Send,
<S as Sequence<'gc>>::Output: Send,
impl<'gc, S, F> Sync for Then<'gc, S, F> where
F: Sync,
S: Sync,
<S as Sequence<'gc>>::Output: Sync,
impl<'gc, S, F> Sync for Then<'gc, S, F> where
F: Sync,
S: Sync,
<S as Sequence<'gc>>::Output: Sync,
impl<'gc, S, F> Unpin for Then<'gc, S, F> where
F: Unpin,
S: Unpin,
<S as Sequence<'gc>>::Output: Unpin,
impl<'gc, S, F> Unpin for Then<'gc, S, F> where
F: Unpin,
S: Unpin,
<S as Sequence<'gc>>::Output: Unpin,
impl<'gc, S, F> UnwindSafe for Then<'gc, S, F> where
F: UnwindSafe,
S: UnwindSafe,
<S as Sequence<'gc>>::Output: UnwindSafe,
impl<'gc, S, F> UnwindSafe for Then<'gc, S, F> where
F: UnwindSafe,
S: UnwindSafe,
<S as Sequence<'gc>>::Output: UnwindSafe,