pub struct RowRef {
pub batch: usize,
pub row: usize,
}Expand description
Where a row’s values are: table.batches()[batch], row row. Valid until the next
compaction, which LiveTable::upsert and LiveTable::delete may run: compare
LiveTable::generation before reusing one.
Fields§
§batch: usizeIndex into LiveTable::batches.
row: usizeRow within that batch.
Trait Implementations§
impl Copy for RowRef
impl Eq for RowRef
impl StructuralPartialEq for RowRef
Auto Trait Implementations§
impl Freeze for RowRef
impl RefUnwindSafe for RowRef
impl Send for RowRef
impl Sync for RowRef
impl Unpin for RowRef
impl UnsafeUnpin for RowRef
impl UnwindSafe for RowRef
Blanket Implementations§
impl<T> Allocation for T
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