pub struct RowKey(pub u64);Expand description
Stable identity for a row in the table.
This is aligned with TanStack Table’s getRowId guidance, but uses an efficient numeric key so
it can be used in hot paths (selection, row maps, virtualization keys) without heap allocation.
The default key strategy is index-path based, so callers should supply their own stable key (e.g. a database primary key) when the underlying data can reorder or change over time.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl FromIterator<RowKey> for ExpandingState
impl FromIterator<RowKey> for ExpandingState
Source§fn from_iter<T>(iter: T) -> ExpandingStatewhere
T: IntoIterator<Item = RowKey>,
fn from_iter<T>(iter: T) -> ExpandingStatewhere
T: IntoIterator<Item = RowKey>,
Creates a value from an iterator. Read more
Source§impl Ord for RowKey
impl Ord for RowKey
Source§impl PartialOrd for RowKey
impl PartialOrd for RowKey
impl Copy for RowKey
impl Eq for RowKey
impl StructuralPartialEq for RowKey
Auto Trait Implementations§
impl Freeze for RowKey
impl RefUnwindSafe for RowKey
impl Send for RowKey
impl Sync for RowKey
impl Unpin for RowKey
impl UnsafeUnpin for RowKey
impl UnwindSafe for RowKey
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