pub fn from_slice(points: &mut [Point<T, DIM>]) -> Self[src]
Insert a point into the tree.
Inserting elements one by one is likely to cause the tree to become inbalanced.
from_slice to construct the tree.
impl<T, const DIM: usize> RefUnwindSafe for KdTree<T, DIM> where[src]
impl<T, const DIM: usize> UnwindSafe for KdTree<T, DIM> where[src]
type Error = Infallible
The type returned in the event of a conversion error.