ControlElement
struct · ferroui-view · v0.5.0
struct ControlElement
An element of a control class.
Members
class
class: ElementClass
The class of the control.
key
key: Option<Key>
The key among its siblings.
name
name: Option<String>
Name of the control.
classes
classes: Vec<String>
Style classes of the control.
props
props: Vec<PropEntry>
Values of properties, in the order they were given.
handlers
handlers: Vec<Handler>
Handlers.
children
children: Vec<Element>
Children, placed into the content of the control (see
Element::mount).
on_mount
on_mount: Vec<Attach>
Called with the control once it was made and given its values.
new
fn new(class: ElementClass) -> Self
An element of class with nothing set.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeIntoValue<T>FromValue<T>FromValue<Option<T>>IntoProp<T, Value>Borrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.