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 moresourceimpl PartialEq<DefaultParams> for DefaultParams
impl PartialEq<DefaultParams> for DefaultParams
sourcefn eq(&self, other: &DefaultParams) -> bool
fn eq(&self, other: &DefaultParams) -> bool
sourceimpl RTreeParams for DefaultParams
impl RTreeParams for DefaultParams
sourceconst MIN_SIZE: usize = 3usize
const MIN_SIZE: usize = 3usize
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 moresourceconst 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. Read more
type DefaultInsertionStrategy = RStarInsertionStrategy
type DefaultInsertionStrategy = RStarInsertionStrategy
The insertion strategy which is used when calling 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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