Struct sanakirja_core::btree::del::Concat[][src]

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,
}

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

impl<'a, K: Debug + ?Sized, V: Debug + ?Sized, P: Debug + BTreePage<K, V>> Debug for Concat<'a, K, V, P>[src]

Auto Trait Implementations

impl<'a, K, V, P> !Send for Concat<'a, K, V, P>

impl<'a, K, V, P> !Sync for Concat<'a, K, V, P>

impl<'a, K: ?Sized, V: ?Sized, P> Unpin for Concat<'a, K, V, P> where
    <P as BTreePage<K, V>>::Cursor: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.