pub trait MapFn<T> {
    type Output: Debug;

    fn apply(&self, t: T) -> Self::Output;
}
Expand description

Essentially Fn (T) -> Output.

Required Associated Types§

Required Methods§

Map T to Output.

Implementations on Foreign Types§

Implementors§