Struct rust_3d::filters::combinators::FilterNegate
[−]
[src]
pub struct FilterNegate<F, T> where
F: IsFilter<T>, { /* fields omitted */ }
FilterNegate, a filter which negates another filter
Methods
impl<F, T> FilterNegate<F, T> where
F: IsFilter<T>,
[src]
F: IsFilter<T>,
fn new(filter: F) -> Self
Creates a new FilterNegate from another IsFilter which will be negated
Trait Implementations
impl<F, T> IsFilter<T> for FilterNegate<F, T> where
F: IsFilter<T>,
[src]
F: IsFilter<T>,
fn is_allowed(&self, x: &T) -> bool
Should return true if a it passes the filter, otherwise false