[−][src]Enum gc_sequence::then::Then
Variants
First(S, Option<StaticCollect<F>>)
Second(Option<(S::Output, StaticCollect<F>)>)
Methods
impl<'gc, S, F> Then<'gc, S, F> where
S: Sequence<'gc>,
[src]
S: Sequence<'gc>,
Trait Implementations
impl<'gc, S, F, R> Sequence<'gc> for Then<'gc, S, F> where
S: Sequence<'gc>,
S::Output: Collect,
F: 'static + FnOnce(MutationContext<'gc, '_>, S::Output) -> R,
[src]
S: Sequence<'gc>,
S::Output: Collect,
F: 'static + FnOnce(MutationContext<'gc, '_>, S::Output) -> R,
type Output = R
fn step(&mut self, mc: MutationContext<'gc, '_>) -> Option<R>
[src]
impl<'gc, S: Debug, F: Debug> Debug for Then<'gc, S, F> where
S: Sequence<'gc>,
S::Output: Debug,
[src]
S: Sequence<'gc>,
S::Output: Debug,
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]
S: Sequence<'gc>,
S: Collect,
Option<StaticCollect<F>>: Collect,
Option<(S::Output, StaticCollect<F>)>: Collect,
fn needs_trace() -> bool
[src]
fn trace(&self, cc: CollectionContext)
[src]
impl<'gc, S, F> MustNotImplDrop for Then<'gc, S, F> where
S: Sequence<'gc>,
[src]
S: Sequence<'gc>,
Auto Trait Implementations
impl<'gc, S, F> Send for Then<'gc, S, F> where
F: Send,
S: Send,
<S as Sequence<'gc>>::Output: Send,
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,
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,
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,
F: UnwindSafe,
S: UnwindSafe,
<S as Sequence<'gc>>::Output: UnwindSafe,
impl<'gc, S, F> RefUnwindSafe for Then<'gc, S, F> where
F: RefUnwindSafe,
S: RefUnwindSafe,
<S as Sequence<'gc>>::Output: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
<S as Sequence<'gc>>::Output: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,