pub struct RecordAddress {
pub page: Page,
pub offset: PageOffset,
}Expand description
The address of a record in the table registry, consisting of a page number and an offset within that page.
Fields§
§page: Page§offset: PageOffsetImplementations§
Source§impl RecordAddress
impl RecordAddress
Sourcepub fn new(page: Page, offset: PageOffset) -> Self
pub fn new(page: Page, offset: PageOffset) -> Self
Creates a new RecordAddress with the given page and offset.
Trait Implementations§
Source§impl Clone for RecordAddress
impl Clone for RecordAddress
Source§fn clone(&self) -> RecordAddress
fn clone(&self) -> RecordAddress
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 Debug for RecordAddress
impl Debug for RecordAddress
Source§impl Encode for RecordAddress
impl Encode for RecordAddress
Source§impl Ord for RecordAddress
impl Ord for RecordAddress
Source§impl PartialEq for RecordAddress
impl PartialEq for RecordAddress
Source§impl PartialOrd for RecordAddress
impl PartialOrd for RecordAddress
impl Copy for RecordAddress
impl Eq for RecordAddress
impl StructuralPartialEq for RecordAddress
Auto Trait Implementations§
impl Freeze for RecordAddress
impl RefUnwindSafe for RecordAddress
impl Send for RecordAddress
impl Sync for RecordAddress
impl Unpin for RecordAddress
impl UnsafeUnpin for RecordAddress
impl UnwindSafe for RecordAddress
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