pub trait MbrQuery<P: FP, const DIM: usize, LG, T, NODE> {
// Required methods
fn accept_leaf(&self, leaf: &MbrLeaf<P, DIM, LG, T>) -> bool;
fn accept_level(&self, level: &NODE) -> bool;
}
Expand description
Query trait for navigating the tree
Required Methods§
Sourcefn accept_leaf(&self, leaf: &MbrLeaf<P, DIM, LG, T>) -> bool
fn accept_leaf(&self, leaf: &MbrLeaf<P, DIM, LG, T>) -> bool
Returns true if the leaf matches the query
Sourcefn accept_level(&self, level: &NODE) -> bool
fn accept_level(&self, level: &NODE) -> bool
Returns true if the level matches the query