pub struct SortParams<N: IndexableNum> {
pub num_items: usize,
pub node_size: usize,
pub min_x: N,
pub min_y: N,
pub max_x: N,
pub max_y: N,
}Expand description
Parameters that are passed in to the sort function of the Sort trait.
Fields§
§num_items: usizeThe number of items in this RTree
node_size: usizeThe node size of this RTree
min_x: NThe global min_x of this RTree
min_y: NThe global min_y of this RTree
max_x: NThe global max_x of this RTree
max_y: NThe global max_y of this RTree
Auto Trait Implementations§
impl<N> Freeze for SortParams<N>where
N: Freeze,
impl<N> RefUnwindSafe for SortParams<N>where
N: RefUnwindSafe,
impl<N> Send for SortParams<N>
impl<N> Sync for SortParams<N>
impl<N> Unpin for SortParams<N>where
N: Unpin,
impl<N> UnwindSafe for SortParams<N>where
N: UnwindSafe,
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