Struct rust_3d::filters::combinators::FilterXOR
[−]
[src]
pub struct FilterXOR<F1, F2, T> where
F1: IsFilter<T>,
F2: IsFilter<T>, { /* fields omitted */ }FilterXOR, a filter which combines two filters and is true iff one of its filters is true
Methods
impl<F1, F2, T> FilterXOR<F1, F2, T> where
F1: IsFilter<T>,
F2: IsFilter<T>, [src]
F1: IsFilter<T>,
F2: IsFilter<T>,
Trait Implementations
impl<F1, F2, T> IsFilter<T> for FilterXOR<F1, F2, T> where
F1: IsFilter<T>,
F2: IsFilter<T>, [src]
F1: IsFilter<T>,
F2: IsFilter<T>,
fn is_allowed(&self, x: &T) -> bool[src]
Should return true if a it passes the filter, otherwise false