Module virtual_list
Expand description
Sparse, variable-height list with retained row delegates.
The model exposes stable keys and random access without requiring all rows to be resident. Only the viewport window owns widget instances; those instances survive reorder while their key remains visible.
Structs§
- Duplicate
List Key - RowSelection
- A row’s selection with its neighbours’, for a delegate that paints its
own selection: a run of selected rows is one lift
(
crate::chrome::RowJoin), and a separator hides beside a selected row. - VecList
Model - Convenient fully-resident model. Database and paged sources generally
implement
ListModeldirectly instead. - Virtual
List
Enums§
- List
Model Change - One already-applied change to a
ListModel. Structural variants retain mounted delegates by stable key;Self::RowsChangedrebuilds only the named rows. - List
RowState - State of one stable row in a paged or asynchronously populated list.
Traits§
- List
Model - Random-access collection contract for
VirtualList. Keys must be unique and stable while an item represents the same logical entity.