pub trait Filter<T> {
    fn filter(_: &T) -> bool;
}
Expand description

Simple trait for providing a filter over a reference to some type.

Required methods

Determine if a given value should be allowed through the filter (returns true) or not.

Implementations on Foreign Types

Implementors