Struct broccoli::query::KResult [−][src]
pub struct KResult<'a, T: Aabb> { /* fields omitted */ }
Expand description
Returned by knearest.
Implementations
pub fn iter(
&mut self
) -> impl Iterator<Item = &mut [KnearestResult<'a, T>]> + FusedIterator + DoubleEndedIterator
pub fn iter(
&mut self
) -> impl Iterator<Item = &mut [KnearestResult<'a, T>]> + FusedIterator + DoubleEndedIterator
Iterators over each group of ties starting with the closest. All the elements in one group have the same distance.
Return the underlying datastructure