Skip to main content

PointFilter

Trait PointFilter 

Source
pub trait PointFilter<Idx: Copy> {
    // Required method
    fn is_active(&self, idx: Idx) -> bool;
}
Expand description

Per-point search filter.

Required Methods§

Source

fn is_active(&self, idx: Idx) -> bool

Whether the point at idx should be considered a candidate.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Idx: Copy> PointFilter<Idx> for AcceptAll