Model
trait · ferroui-base · v0.5.0
trait Model: PartialEq + Sized + 'static
A model type that declares its binding metadata.
Implement it with ferro_model!; create instances
with Model::new_model (or call Model::register once per thread
before the first binding touches an instance).
Members
describe
fn describe(builder: ModelTypeBuilder<Self>) -> ModelTypeBuilder<Self>
Describes the type's properties, methods and notification interfaces.
register
fn register()
Registers the metadata on the current thread, once.
new_model
fn new_model(value: Self) -> Rc<Self>
Wraps an instance into its shared, bindable form.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.