Trait MapFn
pub trait MapFn<T>
Essentially Fn (T) -> Output.
Associated Types
type Output: Debug;
Required Methods
fn apply(&self, t: T) -> Self::OutputMap
TtoOutput.
MapFnpub trait MapFn<T>
Essentially Fn (T) -> Output.
type Output: Debug;fn apply(&self, t: T) -> Self::OutputMap T to Output.