Trait list_fn::FilterFn

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

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

Required Associated Types§

Required Methods§

source

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

Map the given input item into an output item.

Implementors§