pub trait ChunkedNearestNeighborIndex: NearestNeighborIndex {
// Required method
fn nearest_k_chunk_into(
&self,
x: &[f32],
y: &[f32],
z: &[f32],
chunk: Range<usize>,
k: usize,
out: &mut Vec<(usize, Neighbor)>,
);
}Expand description
k-NN search over contiguous query index ranges.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".