Expand description
§Views
Views allow virtual scrolling and query views over a data set, supporting both sync and async access.
Each visible data Item
is assigned a view widget, with dynamic
re-assignment as the view changes.
§Data sets and clerks
The full data set might be available in local memory, on disk, or on a remote server.
A DataClerk
manages all interactions between the view and the data as
well as providing a local cache of (at least) the currently visible data.
§Data generators
A higher-level interface is provided for data generators: DataGenerator
using clerk GeneratorClerk
.
§View controller
This crate provides the following view controllers:
ListView
constructs a row or column view over items indexed by typeusize
GridView
constructs a table over items indexed by type(u32, u32)
§Driver
A view controller uses a driver to construct and re-assign view widgets.
Simple types (strings and numbers) may use a pre-defined driver
,
otherwise a custom implementation of Driver
is required.
Re-exports§
pub use driver::Driver;
Modules§
Structs§
- Generator
Clerk - An implementation of
DataClerk
for data generators - Grid
Index - Index of a grid cell
- Grid
View - View controller for 2D indexable data (grid)
- List
View - View controller for 1D indexable data (list)
- Token
- A pair which may be borrowed over the first item
Enums§
- Data
Changes - Indicates whether an update to a
DataClerk
changes any keys or values - DataLen
- Result of
Self::len
- Generator
Changes - Indicates whether an update to a
DataGenerator
has changed - Selection
Mode - Selection mode used by
ListView
- Selection
Msg - Used to notify selection and deselection of
ListView
andGridView
children - Token
Changes - Return value of
DataClerk::update_token
Traits§
- Data
Clerk - Data access manager
- Data
Generator - A generator for use with
GeneratorClerk
- DataKey
- Bounds on the key type