pub struct Quadratic<const MAX: usize = 8, const MIN: usize = 3>;Expand description
Quadratic split — Boost’s textbook default.
O(n²): pick the two children whose combined bounding box wastes the
most area as the seeds of the two groups, then assign each remaining
child to whichever group’s box it enlarges least. Mirrors
index/detail/rtree/quadratic/redistribute_elements.hpp.
Trait Implementations§
impl<const MAX: usize, const MIN: usize> Copy for Quadratic<MAX, MIN>
Auto Trait Implementations§
impl<const MAX: usize, const MIN: usize> Freeze for Quadratic<MAX, MIN>
impl<const MAX: usize, const MIN: usize> RefUnwindSafe for Quadratic<MAX, MIN>
impl<const MAX: usize, const MIN: usize> Send for Quadratic<MAX, MIN>
impl<const MAX: usize, const MIN: usize> Sync for Quadratic<MAX, MIN>
impl<const MAX: usize, const MIN: usize> Unpin for Quadratic<MAX, MIN>
impl<const MAX: usize, const MIN: usize> UnsafeUnpin for Quadratic<MAX, MIN>
impl<const MAX: usize, const MIN: usize> UnwindSafe for Quadratic<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