pub fn dark_leaf_vec_integrity_check<T: Clone + Send + Sync>(
leafs: &[DarkLeaf<T>],
min_capacity: Option<usize>,
max_capacity: Option<usize>,
offset: Option<usize>,
) -> DarkTreeResult<()>
Expand description
Auxiliary function to verify provided DarkLeaf
slice is
properly bounded and its members indexes are valid.
Optionally, an offset can be provided in case leaf indexes
are known to be shifted.