FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    XamlLightImpl

    trait · ferroui-base · v0.5.0

    trait XamlLightImpl: FerroObjectImpl + $crate::Upcast<XamlLight>
    

    The overridable members introduced by the class.

    View source

    Members

    get_id

    fn get_id(this: &Self) -> String
    

    GetId: the id the elements and brushes the light lights target.

    Source

    on_connected

    fn on_connected(this: &Self, new_element: &Visual)
    

    OnConnected: the light is in the Lights of new_element, which is in a visual tree.

    Source

    on_disconnected

    fn on_disconnected(this: &Self, old_element: &Visual)
    

    OnDisconnected: the light left old_element, or the element left its visual tree.

    Source

    Trait implementations

    Availability

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