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