Trait IsFilter

Source
pub trait IsFilter<T> {
    // Required method
    fn is_allowed(&self, x: &T) -> bool;
}
Expand description

IsFilter trait used for filters

Required Methods§

Source

fn is_allowed(&self, x: &T) -> bool

Should return true if a it passes the filter, otherwise false

Implementors§

Source§

impl<DF, P, N> IsFilter<(P, N)> for FilterDirectionField2D<DF>

Source§

impl<DF, P, N> IsFilter<(P, N)> for FilterDirectionField3D<DF>

Source§

impl<F1, F2, T> IsFilter<T> for FilterAND<F1, F2, T>
where F1: IsFilter<T>, F2: IsFilter<T>,

Source§

impl<F1, F2, T> IsFilter<T> for FilterOR<F1, F2, T>
where F1: IsFilter<T>, F2: IsFilter<T>,

Source§

impl<F1, F2, T> IsFilter<T> for FilterXOR<F1, F2, T>
where F1: IsFilter<T>, F2: IsFilter<T>,

Source§

impl<F, T> IsFilter<T> for FilterNegate<F, T>
where F: IsFilter<T>,

Source§

impl<FOuter, FInner, T> IsFilter<T> for FilterOuterInner<FOuter, FInner, T>
where FOuter: IsFilter<T>, FInner: IsFilter<T>,

Source§

impl<S, P, PSearch> IsFilter<PSearch> for FilterOutlier3D<S, P>
where P: Is3D, PSearch: Is3D, S: IsSphereSearchable<P>,

Source§

impl<T> IsFilter<T> for FilterAll<T>

Source§

impl<T> IsFilter<T> for FilterAllow

Source§

impl<T> IsFilter<T> for FilterAny<T>

Source§

impl<T> IsFilter<T> for FilterBox2D
where T: Is2D,

Source§

impl<T> IsFilter<T> for FilterBox3D
where T: Is3D,

Source§

impl<T> IsFilter<T> for FilterCircle
where T: Is2D,

Source§

impl<T> IsFilter<T> for FilterDeny

Source§

impl<T> IsFilter<T> for FilterSphere
where T: Is3D,