Trait MapFn
pub trait MapFn<T> {
type Output: Debug;
// Required method
fn apply(&self, t: T) -> Self::Output;
}
Expand description
Essentially Fn (T) -> Output
.
pub trait MapFn<T> {
type Output: Debug;
// Required method
fn apply(&self, t: T) -> Self::Output;
}
Essentially Fn (T) -> Output
.