pub struct Linear<const MAX: usize = 8, const MIN: usize = 3>;Expand description
Linear split — cheap inserts, looser trees.
O(n): pick the two children furthest apart along the axis of
greatest spread as seeds, then distribute the rest greedily by
least enlargement. Mirrors
index/detail/rtree/linear/redistribute_elements.hpp.
Trait Implementations§
impl<const MAX: usize, const MIN: usize> Copy for Linear<MAX, MIN>
Auto Trait Implementations§
impl<const MAX: usize, const MIN: usize> Freeze for Linear<MAX, MIN>
impl<const MAX: usize, const MIN: usize> RefUnwindSafe for Linear<MAX, MIN>
impl<const MAX: usize, const MIN: usize> Send for Linear<MAX, MIN>
impl<const MAX: usize, const MIN: usize> Sync for Linear<MAX, MIN>
impl<const MAX: usize, const MIN: usize> Unpin for Linear<MAX, MIN>
impl<const MAX: usize, const MIN: usize> UnsafeUnpin for Linear<MAX, MIN>
impl<const MAX: usize, const MIN: usize> UnwindSafe for Linear<MAX, MIN>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more