#[non_exhaustive]pub enum RowId {
Stored(RowAddress),
Added(u32),
}Expand description
A row’s identity within its table.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Stored(RowAddress)
A row of the file, by where it is stored.
Added(u32)
A row that was laid over a file, by the number it was given.
Implementations§
Trait Implementations§
impl Copy for RowId
impl Eq for RowId
Source§impl From<RowAddress> for RowId
impl From<RowAddress> for RowId
Source§fn from(address: RowAddress) -> Self
fn from(address: RowAddress) -> Self
Converts to this type from the input type.
Source§impl Ord for RowId
impl Ord for RowId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for RowId
impl PartialOrd for RowId
impl StructuralPartialEq for RowId
Auto Trait Implementations§
impl Forget for RowId
impl Freeze for RowId
impl Move for RowId
impl RefUnwindSafe for RowId
impl Send for RowId
impl Sync for RowId
impl Unpin for RowId
impl UnsafeUnpin for RowId
impl UnwindSafe for RowId
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