Skip to main content

Crate kas_view

Crate kas_view 

Source
Expand description

§Views

Views allow virtual scrolling over (subsets of) a data set. Each visible data Item is assigned a view widget, with dynamic re-assignment as the view changes.

§Data clerks

The full data set might be available in local memory, on disk, or on a remote server, and may be viewed as a raw list of items or through a filter or query. A clerk is required to manage this access.

§View controller

This crate provides the following view controllers:

  • ListView constructs a row or column view over items indexed by type usize
  • 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§

clerk
Data clerks
driver
View drivers
filter
Filters over data

Structs§

GridIndex
Index of a grid cell
GridView
View controller for 2D indexable data (grid)
ListView
View controller for 1D indexable data (list)

Enums§

SelectionMode
Selection mode used by ListView
SelectionMsg
Used to notify selection and deselection of ListView and GridView children