Trait kas::view::filter::Filter

source ·
pub trait Filter<T>: FilterValue {
    // Required method
    fn matches(&self, item: &T) -> bool;
}
Available on crate feature view only.
Expand description

Types usable as a filter

Required Methods§

source

fn matches(&self, item: &T) -> bool

Returns true if the given item matches this filter

Object Safety§

This trait is not object safe.

Implementors§