FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ElementClass

    struct · ferroui-view · v0.5.0

    struct ElementClass
    

    The class of an element: how its control is made.

    View source

    Members

    name

    name: &'static str
    

    The name of the class, for messages.

    Source

    type_id

    type_id: fn() -> std::any::TypeId
    

    The identity of the class.

    Source

    create

    create: fn() -> ferroui_base::Ref<ferroui_controls::Control>
    

    Creates a control of the class.

    Source

    Trait implementations

    Availability

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