#[must_use = "sequences do nothing unless stepped"]
pub struct Map<S, F>(_, _);
impl<S, F> Map<S, F>
[src]
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 Map<S, F>
[src]
impl<'gc, S, F, R> Sequence<'gc> for Map<S, F> where
S: Sequence<'gc>,
F: 'static + FnOnce(S::Output) -> R,
[src]
impl<S, F> Send for Map<S, F> where
F: Send,
S: Send,
impl<S, F> Sync for Map<S, F> where
F: Sync,
S: Sync,
impl<S, F> Unpin for Map<S, F> where
F: Unpin,
S: Unpin,
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.