pub struct RecordId(/* private fields */);Expand description
A record: one key’s row for as long as the key is live, through updates, compactions and
view changes. Deleting the key ends the record; inserting the key again starts a new one.
Get one with LiveTable::record_of_key or View::record, find its row with
LiveTable::row_of and its place in a view with View::position.
It is a plain number (to_bits), so a widget can keep it as a selection
without borrowing the table. It names a record of the table it came from and of clones
made after; in any other table it may name an unrelated row.
Implementations§
Trait Implementations§
impl Copy for RecordId
impl Eq for RecordId
impl StructuralPartialEq for RecordId
Auto Trait Implementations§
impl Freeze for RecordId
impl RefUnwindSafe for RecordId
impl Send for RecordId
impl Sync for RecordId
impl Unpin for RecordId
impl UnsafeUnpin for RecordId
impl UnwindSafe for RecordId
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