pub struct Node {
pub node_type: NodeType,
pub is_root: bool,
pub parent_offset: Option<Offset>,
}Expand description
Node represents a node in the BTree occupied by a single page in memory.
Fields§
§node_type: NodeType§is_root: bool§parent_offset: Option<Offset>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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