Struct sanakirja::btree::del::Concat [−][src]
pub struct Concat<'a, K, V, P> where
P: BTreePage<K, V>,
K: ?Sized,
V: ?Sized, {
pub modified: ModifiedPage<'a, K, V, P>,
pub mid: (&'a K, &'a V),
pub other: CowPage,
pub mod_is_left: bool,
pub other_is_mutable: bool,
}
Expand description
Represents the concatenation of a modified page and one of its sibling (left or right).
Fields
modified: ModifiedPage<'a, K, V, P>
Modified page.
mid: (&'a K, &'a V)
Middle element.
other: CowPage
Sibling of the modified page.
mod_is_left: bool
Is the modified field on the left or on the right of the concatenation?
other_is_mutable: bool
Is the other page owned by this tree? If not, it means other
is shared with another tree, and hence we need to increase the
reference count of entries coming from other
.