model
module · ferroui-base · v0.5.0
module model
The model layer: what bindings need from data that is not part of the class hierarchy (view models, plain data, collections, commands).
The managed runtime discovers these capabilities through reflection and
interface casts on arbitrary objects. Here a model type states them once:
it implements the notification traits it supports and declares its
bindable properties and methods (see ferro_model!
and ModelTypeBuilder). Compiled bindings do not need the declaration:
they are built from typed accessor closures.
Contents
Event— useICommand— traitBindableArray— structBindableDictionary— structIBindableArray— traitIBindableIndexer— traitBindableList— structCollectionChange— useIBindableList— traitINotifyCollectionChanged— useINotifyDataErrorInfo— traitINotifyPropertyChanged— useModel— traitModelMethod— structModelType— structModelTypeBuilder— structModelTypes— struct
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.