pub struct HilbertSort;Expand description
An implementation of hilbert sorting.
The implementation is ported from the original flatbush JavaScript library. The hilbert calculations are originally derived from a C++ implementation.
Trait Implementations§
Source§impl Clone for HilbertSort
impl Clone for HilbertSort
Source§fn clone(&self) -> HilbertSort
fn clone(&self) -> HilbertSort
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HilbertSort
impl Debug for HilbertSort
Source§impl PartialEq for HilbertSort
impl PartialEq for HilbertSort
Source§impl<N: IndexableNum> Sort<N> for HilbertSort
impl<N: IndexableNum> Sort<N> for HilbertSort
Source§fn sort(
params: &mut SortParams<N>,
boxes: &mut [N],
indices: &mut MutableIndices<'_>,
)
fn sort( params: &mut SortParams<N>, boxes: &mut [N], indices: &mut MutableIndices<'_>, )
impl Copy for HilbertSort
impl StructuralPartialEq for HilbertSort
Auto Trait Implementations§
impl Freeze for HilbertSort
impl RefUnwindSafe for HilbertSort
impl Send for HilbertSort
impl Sync for HilbertSort
impl Unpin for HilbertSort
impl UnwindSafe for HilbertSort
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