pub struct BTreeEntry<Index, ReducedIndex> {
pub dirty: bool,
pub node: BTreeNode<Index, ReducedIndex>,
}Expand description
A B-Tree entry that stores a list of key-Index pairs.
Fields§
§dirty: boolWhether the node contains unsaved changes.
node: BTreeNode<Index, ReducedIndex>The B-Tree node.
Implementations§
Source§impl<Index, ReducedIndex> BTreeEntry<Index, ReducedIndex>
impl<Index, ReducedIndex> BTreeEntry<Index, ReducedIndex>
Trait Implementations§
Source§impl<Index: Clone, ReducedIndex: Clone> Clone for BTreeEntry<Index, ReducedIndex>
impl<Index: Clone, ReducedIndex: Clone> Clone for BTreeEntry<Index, ReducedIndex>
Source§fn clone(&self) -> BTreeEntry<Index, ReducedIndex>
fn clone(&self) -> BTreeEntry<Index, ReducedIndex>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Index, ReducedIndex> Default for BTreeEntry<Index, ReducedIndex>
impl<Index, ReducedIndex> Default for BTreeEntry<Index, ReducedIndex>
Source§impl<Index, ReducedIndex> From<BTreeEntry<Index, ReducedIndex>> for Interior<Index, ReducedIndex>
impl<Index, ReducedIndex> From<BTreeEntry<Index, ReducedIndex>> for Interior<Index, ReducedIndex>
Source§fn from(entry: BTreeEntry<Index, ReducedIndex>) -> Self
fn from(entry: BTreeEntry<Index, ReducedIndex>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Index, ReducedIndex> Freeze for BTreeEntry<Index, ReducedIndex>
impl<Index, ReducedIndex> RefUnwindSafe for BTreeEntry<Index, ReducedIndex>where
Index: RefUnwindSafe,
ReducedIndex: RefUnwindSafe,
impl<Index, ReducedIndex> Send for BTreeEntry<Index, ReducedIndex>
impl<Index, ReducedIndex> Sync for BTreeEntry<Index, ReducedIndex>
impl<Index, ReducedIndex> Unpin for BTreeEntry<Index, ReducedIndex>
impl<Index, ReducedIndex> UnwindSafe for BTreeEntry<Index, ReducedIndex>where
Index: UnwindSafe,
ReducedIndex: UnwindSafe,
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