pub trait MapWithGen<E0>where
E0: Clone + 'static,{
// Required method
fn map<E1>(
&self,
map_fn: fn(E0) -> E1,
unmap_fn: fn(E1) -> E0,
) -> BoxGen<E1>
where E1: Clone + 'static;
}Expand description
Non-object-safe trait for providing generator mapping.
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.