Struct rstar::DefaultParams
source · [−]pub struct DefaultParams;
Expand description
The default parameters used when creating an r-tree without specific parameters.
Trait Implementations
sourceimpl Clone for DefaultParams
impl Clone for DefaultParams
sourcefn clone(&self) -> DefaultParams
fn clone(&self) -> DefaultParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<DefaultParams> for DefaultParams
impl PartialEq<DefaultParams> for DefaultParams
sourceimpl RTreeParams for DefaultParams
impl RTreeParams for DefaultParams
sourceconst MIN_SIZE: usize
const MIN_SIZE: usize
The minimum size of an internal node. Must be at most half as large as MAX_SIZE
.
Choosing a value around one half or one third of MAX_SIZE
is recommended. Higher
values should yield slightly better tree quality while lower values may benefit
insertion performance. Read more
sourceconst MAX_SIZE: usize
const MAX_SIZE: usize
The maximum size of an internal node. Larger values will improve insertion performance but increase the average query time. Read more
sourceconst REINSERTION_COUNT: usize
const REINSERTION_COUNT: usize
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. Read more
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 StructuralEq for DefaultParams
impl StructuralPartialEq for DefaultParams
Auto Trait Implementations
impl RefUnwindSafe for DefaultParams
impl Send for DefaultParams
impl Sync for DefaultParams
impl Unpin for DefaultParams
impl UnwindSafe for DefaultParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more