Struct sanakirja_core::btree::del::ModifiedPage
source · pub struct ModifiedPage<'a, K: ?Sized, V: ?Sized, P: BTreePage<K, V>> {
pub page: CowPage,
pub mutable: bool,
pub c0: P::Cursor,
pub l: u64,
pub r: u64,
pub ins: Option<(&'a K, &'a V)>,
pub ins2: Option<(&'a K, &'a V)>,
pub c1: P::Cursor,
pub skip_first: bool,
pub mod_is_left: bool,
}
Expand description
Represents a page with modifications from a merge.
Fields§
§page: CowPage
§mutable: bool
§c0: P::Cursor
§l: u64
§r: u64
§ins: Option<(&'a K, &'a V)>
§ins2: Option<(&'a K, &'a V)>
§c1: P::Cursor
§skip_first: bool
§mod_is_left: bool
Trait Implementations§
Auto Trait Implementations§
impl<'a, K: ?Sized, V: ?Sized, P> RefUnwindSafe for ModifiedPage<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> Send for ModifiedPage<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> Sync for ModifiedPage<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> Unpin for ModifiedPage<'a, K, V, P>
impl<'a, K: ?Sized, V: ?Sized, P> UnwindSafe for ModifiedPage<'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