FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ControlElement

    struct · ferroui-view · v0.5.0

    struct ControlElement
    

    An element of a control class.

    View source

    Members

    class

    class: ElementClass
    

    The class of the control.

    Source

    key

    key: Option<Key>
    

    The key among its siblings.

    Source

    name

    name: Option<String>
    

    Name of the control.

    Source

    classes

    classes: Vec<String>
    

    Style classes of the control.

    Source

    props

    props: Vec<PropEntry>
    

    Values of properties, in the order they were given.

    Source

    handlers

    handlers: Vec<Handler>
    

    Handlers.

    Source

    children

    children: Vec<Element>
    

    Children, placed into the content of the control (see Element::mount).

    Source

    on_mount

    on_mount: Vec<Attach>
    

    Called with the control once it was made and given its values.

    Source

    new

    fn new(class: ElementClass) -> Self
    

    An element of class with nothing set.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.