pub trait MapRender<G: GenericNode> {
type Item;
type Output;
// Required method
fn map_render(
self,
callback: impl Fn(Self::Item) -> G + 'static,
) -> Self::Output;
}Required Associated Types§
Required Methods§
fn map_render( self, callback: impl Fn(Self::Item) -> G + 'static, ) -> Self::Output
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.