[go: up one dir, main page]

Module i_slint_core::model

source ·
Expand description

Model and Repeater

Structs

  • Provides a filtered subset of rows by another Model.
  • Provides rows that are generated by a map function based on the rows of another Model
  • This is a structure that contains a T which implements ModelChangeListener and can provide a ModelPeer for it when pinned.
  • An iterator over the elements of a model. This struct is created by the Model::iter() trait function.
  • Dispatch notifications from a Model to one or several ModelPeer. Typically, you would want to put this in the implementation of the Model
  • Represent a handle to a view that listens to changes to a model.
  • A Reference counted Model.
  • This field is put in a component when using the for syntax It helps instantiating the components C
  • A model backed by a SharedVector<T>
  • Provides a sorted view of rows by another Model.
  • Represents an item in a StandardListView and a StandardTableView. This is the Rust/C++ type for the StandardListViewItem type in Slint files, when declaring for example a property <[StandardListViewItem]> my-list-view-model;.
  • Represent an TableColumn header
  • A model backed by a Vec<T>

Traits