#[must_use = "sequences do nothing unless stepped"]
pub struct MapOkWith<S, C, F>(_, _);
As an optimization, if this type can never hold a Gc pointer and trace is unnecessary to
call, you may implement this method and return false. The default implementation returns
true, signaling that Collect::trace must be called. Read more
Must call Collect::trace on all held Gc pointers. If this type holds inner types that
implement Collect, a valid implementation would simply call Collect::trace on all the
held values to ensure this. Read more
Formats the value using the given formatter. Read more
impl<S, C, F> MustNotImplDrop for MapOkWith<S, C, F>[src]
impl<'gc, S, C, F, I, E, R> Sequence<'gc> for MapOkWith<S, C, F> where
S: Sequence<'gc, Output = Result<I, E>>,
C: Collect,
F: 'static + FnOnce(C, I) -> R, [src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.