Trait rust_3d::traits::IsFilter
[−]
[src]
pub trait IsFilter<T> { fn is_allowed(&self, x: &T) -> bool; }
IsFilter trait used for filters
Required Methods
fn is_allowed(&self, x: &T) -> bool
Should return true if a it passes the filter, otherwise false
Implementors
impl<T> IsFilter<T> for FilterAll<T>
impl<T> IsFilter<T> for FilterAny<T>
impl<F, T> IsFilter<T> for FilterNegate<F, T> where
F: IsFilter<T>,impl<F1, F2, T> IsFilter<T> for FilterAND<F1, F2, T> where
F1: IsFilter<T>,
F2: IsFilter<T>,impl<F1, F2, T> IsFilter<T> for FilterOR<F1, F2, T> where
F1: IsFilter<T>,
F2: IsFilter<T>,impl<F1, F2, T> IsFilter<T> for FilterXOR<F1, F2, T> where
F1: IsFilter<T>,
F2: IsFilter<T>,impl<FOuter, FInner, T> IsFilter<T> for FilterOuterInner<FOuter, FInner, T> where
FOuter: IsFilter<T>,
FInner: IsFilter<T>,impl<T> IsFilter<T> for FilterAllow
impl<T> IsFilter<T> for FilterDeny
impl<DF, P, N> IsFilter<(P, N)> for FilterDirectionField2D<DF> where
DF: IsDirectionField2D,
P: Is2D,
N: IsNormalized2D,impl<DF, P, N> IsFilter<(P, N)> for FilterDirectionField3D<DF> where
DF: IsDirectionField3D,
P: Is3D,
N: IsNormalized3D,impl<T> IsFilter<T> for FilterBox2D where
T: Is2D,impl<T> IsFilter<T> for FilterBox3D where
T: Is3D,impl<T> IsFilter<T> for FilterCircle where
T: Is2D,impl<T> IsFilter<T> for FilterSphere where
T: Is3D,impl<P> IsFilter<P> for FilterOutlier3D<P> where
P: Is3D + Clone,