Trait fabric_support::traits::Filter[][src]

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

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

Required methods

fn filter(_: &T) -> bool[src]

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

Loading content...

Implementations on Foreign Types

impl<T> Filter<T> for ()[src]

Loading content...

Implementors

Loading content...