Struct rust_3d::filters::combinators::FilterOR
[−]
[src]
pub struct FilterOR<F1, F2, T> where
F1: IsFilter<T>,
F2: IsFilter<T>, { /* fields omitted */ }
FilterOR, a filter which combines two filters and is true if one of its filters is true
Methods
impl<F1, F2, T> FilterOR<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 FilterOR from two other IsFilter
Trait Implementations
impl<F1, F2, T> IsFilter<T> for FilterOR<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