element
module · ferroui-view · v0.5.0
module element
The element tree: a description of controls, their properties, handlers
and children, and how it becomes controls (Element::mount).
An element is data: the class to create, a list of property values (the
property and its value, compared by value), handlers, children and a key.
Mounting creates the controls (mount.rs). What changes afterwards
changes through the reactive values the element holds (a property set from
a signal or a closure, a list of children that follows a signal), or by a
component that runs again (rerender): the reconciler compares the tree
it returns with the one before and patches the controls.
Contents
Key— enumPropValue— enumPropEntry— structAttach— type aliasHandler— structElementClass— structControlElement— structDynamicChildren— structAnyValueEq— traitComponentElement— structrerender— functionElement— enumIntoElement— traitIntoChild— traitIntoChildren— traitwith_key— function
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.