Struct sanakirja_core::btree::del::Concat
source · pub struct Concat<'a, K: ?Sized, V: ?Sized, P: BTreePage<K, V>> {
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
.
Trait Implementations§
Auto Trait Implementations§
impl<'a, K: ?Sized, V: ?Sized, P> RefUnwindSafe for Concat<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> Send for Concat<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> Sync for Concat<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> Unpin for Concat<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> UnwindSafe for Concat<'a, K, V, P>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more