#[must_use = "sequences do nothing unless stepped"]
pub struct MapError<S, 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, F> MustNotImplDrop for MapError<S, F>
[src]
impl<'gc, S, F, I, E, R> Sequence<'gc> for MapError<S, F> where
S: Sequence<'gc, Output = Result<I, E>>,
F: 'static + FnOnce(E) -> 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.