Trait cushy::value::MapEachCloned
source · 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.
Object Safety§
This trait is not object safe.