pub trait FilterFn<T> { fn apply(&self, t: &T) -> bool; }
Essentially Fn (&T) -> bool.
Fn (&T) -> bool
Test whether t passes the filter.
t