Struct generic_btree::MutElemArrSlice
source · pub struct MutElemArrSlice<'a, Elem> {
pub elements: &'a mut HeapVec<Elem>,
pub start: Option<(usize, usize)>,
pub end: Option<(usize, usize)>,
}Expand description
A slice of elements in a leaf node of BTree.
startis Some((start_index, start_offset)) when the slice is the first slice of the given range. i.e. the first element should be sliced.endis Some((end_index, end_offset)) when the slice is the last slice of the given range. i.e. the last element should be sliced.
Fields§
§elements: &'a mut HeapVec<Elem>§start: Option<(usize, usize)>start is Some((start_index, start_offset)) when the slice is the first slice of the given range. i.e. the first element should be sliced.
end: Option<(usize, usize)>end is Some((end_index, end_offset)) when the slice is the last slice of the given range. i.e. the last element should be sliced.