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>,
pub fn new(filter: F) -> Self[src]
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[src]
Should return true if a it passes the filter, otherwise false
Auto Trait Implementations
impl<F, T> Send for FilterNegate<F, T> where
F: Send,
T: Send,
F: Send,
T: Send,
impl<F, T> Sync for FilterNegate<F, T> where
F: Sync,
T: Sync,
F: Sync,
T: Sync,