pub trait MapEach<T, U> {
type Ref<'a>
where T: 'a;
// Required method
fn map_each<F>(&self, map_each: F) -> Dynamic<U>
where F: for<'a> FnMut(Self::Ref<'a>) -> U + Send + 'static;
}
Expand description
A type that can create a Dynamic<U>
from a T
passed into a mapping
function.
Required Associated Types§
Required Methods§
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.