pub trait MapEachCloned<T, U> {
// Required method
fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut(T) -> U + Send + 'static;
}
Expand description
A type that can create a Dynamic<U>
from a T
passed into a mapping
function.
Required Methods§
Sourcefn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
fn map_each_cloned<F>(&self, map_each: F) -> Dynamic<U>
Apply map_each
to each value in self
, storing the result in the
returned dynamic.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.