pub trait SplitParameters {
const MAX: usize;
const MIN: usize;
// Required method
fn split(entries: &[Bounds]) -> (Vec<usize>, Vec<usize>);
}Expand description
How a full node is partitioned when it overflows.
Mirrors index::parameters + the split policy
(index/parameters.hpp). MAX is the node capacity; MIN the
minimum fill each half must reach. The split method takes the
overflowing children (as (Bounds, index) pairs, so the strategy is
payload-agnostic) and returns the two groups by index.
Required Associated Constants§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".