pub struct DefaultParams;
Expand description
The default parameters used when creating an r-tree without specific parameters.
Trait Implementations§
Source§impl Clone for DefaultParams
impl Clone for DefaultParams
Source§fn clone(&self) -> DefaultParams
fn clone(&self) -> DefaultParams
Returns a copy 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 Default for DefaultParams
impl Default for DefaultParams
Source§fn default() -> DefaultParams
fn default() -> DefaultParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for DefaultParams
impl PartialEq for DefaultParams
Source§impl RTreeParams for DefaultParams
impl RTreeParams for DefaultParams
Source§const MIN_SIZE: usize = 3usize
const MIN_SIZE: usize = 3usize
The minimum size of an internal node.
MIN_SIZE
must be greater than zero, and up to half
as large as MAX_SIZE
. Read moreSource§const MAX_SIZE: usize = 6usize
const MAX_SIZE: usize = 6usize
The maximum size of an internal node. Larger values will improve insertion performance
but increase the average query time.
Source§const REINSERTION_COUNT: usize = 2usize
const REINSERTION_COUNT: usize = 2usize
The number of nodes that the insertion strategy tries to occasionally reinsert to
maintain a good tree quality. Must be smaller than
MAX_SIZE
- MIN_SIZE
.
Larger values will improve query times but increase insertion time.Source§type DefaultInsertionStrategy = RStarInsertionStrategy
type DefaultInsertionStrategy = RStarInsertionStrategy
The insertion strategy which is used when calling RTree::insert.
impl Copy for DefaultParams
impl Eq for DefaultParams
impl StructuralPartialEq for DefaultParams
Auto Trait Implementations§
impl Freeze for DefaultParams
impl RefUnwindSafe for DefaultParams
impl Send for DefaultParams
impl Sync for DefaultParams
impl Unpin for DefaultParams
impl UnwindSafe for DefaultParams
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