FilterFn

Trait 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§