Struct rust_3d::filters::combinators::FilterAny
[−]
[src]
pub struct FilterAny<T> {
pub filters: Vec<Box<IsFilter<T>>>,
// some fields omitted
}FilterAny, a filter to chain multiple filters with the or condition => must pass any filter to pass this filter
Fields
filters: Vec<Box<IsFilter<T>>>
Methods
impl<T> FilterAny<T>[src]
fn new() -> Self
Creates a new FilterAny
Trait Implementations
impl<T> IsFilter<T> for FilterAny<T>[src]
fn is_allowed(&self, x: &T) -> bool
Should return true if a it passes the filter, otherwise false