Trait list_fn::MapFn

source ·
pub trait MapFn {
    type Input;
    type Output;

    // Required method
    fn map(&self, input: Self::Input) -> Self::Output;
}

Required Associated Types§

Required Methods§

source

fn map(&self, input: Self::Input) -> Self::Output

Map the given input item into an output item.

Implementors§