FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Subclassable

    trait · ferroui-base · v0.5.0

    trait Subclassable<T>: ObjectType
    

    Implemented by a class C for every class T that can derive from it: C's part of the virtual table with T's overrides.

    The table is a constant: every slot is known when the program is compiled (the function of T, or the slot of the parent table that a member T does not override forwards to), so a class's table is data in the executable, not code that builds it at run time (#569).

    View source

    Trait implementations

    Availability

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