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