[−][src]Enum gc_sequence::and_then::AndThen
Variants
First(S, Option<StaticCollect<F>>)
Second(Option<(I, StaticCollect<F>)>)
Methods
impl<S, F, I> AndThen<S, F, I>
[src]
Trait Implementations
impl<'gc, S, F, I, E, R> Sequence<'gc> for AndThen<S, F, I> where
S: Sequence<'gc, Output = Result<I, E>>,
I: Collect,
F: 'static + FnOnce(MutationContext<'gc, '_>, I) -> Result<R, E>,
[src]
S: Sequence<'gc, Output = Result<I, E>>,
I: Collect,
F: 'static + FnOnce(MutationContext<'gc, '_>, I) -> Result<R, E>,
type Output = Result<R, E>
fn step(&mut self, mc: MutationContext<'gc, '_>) -> Option<Self::Output>
[src]
impl<S, F, I> Drop for AndThen<S, F, I>
[src]
impl<S: Debug, F: Debug, I: Debug> Debug for AndThen<S, F, I>
[src]
impl<S, F, I> Collect for AndThen<S, F, I> where
S: Collect,
Option<StaticCollect<F>>: Collect,
Option<(I, StaticCollect<F>)>: Collect,
[src]
S: Collect,
Option<StaticCollect<F>>: Collect,
Option<(I, StaticCollect<F>)>: Collect,
fn needs_trace() -> bool
[src]
fn trace(&self, cc: CollectionContext)
[src]
Auto Trait Implementations
impl<S, F, I> Send for AndThen<S, F, I> where
F: Send,
I: Send,
S: Send,
F: Send,
I: Send,
S: Send,
impl<S, F, I> Sync for AndThen<S, F, I> where
F: Sync,
I: Sync,
S: Sync,
F: Sync,
I: Sync,
S: Sync,
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,