Trait MapFn
pub trait MapFn<T> {
type Output: Debug;
// Required method
fn apply(&self, t: T) -> Self::Output;
}Expand description
Essentially Fn (T) -> Output.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".