pub struct BTreeRootPointerPage { /* private fields */ }
Implementations§
Source§impl BTreeRootPointerPage
impl BTreeRootPointerPage
pub fn new(pid: &BTreePageID, bytes: Vec<u8>) -> Self
pub fn get_root_pid(&self) -> BTreePageID
pub fn set_root_pid(&mut self, pid: &BTreePageID)
Methods from Deref<Target = BTreeBasePage>§
pub fn get_pid(&self) -> BTreePageID
pub fn get_parent_pid(&self) -> BTreePageID
pub fn set_parent_pid(&mut self, pid: &BTreePageID)
Trait Implementations§
Source§impl Deref for BTreeRootPointerPage
impl Deref for BTreeRootPointerPage
Auto Trait Implementations§
impl Freeze for BTreeRootPointerPage
impl RefUnwindSafe for BTreeRootPointerPage
impl Send for BTreeRootPointerPage
impl Sync for BTreeRootPointerPage
impl Unpin for BTreeRootPointerPage
impl UnwindSafe for BTreeRootPointerPage
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