FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    XamlCompositionBrushBaseImpl

    trait · ferroui-base · v0.5.0

    trait XamlCompositionBrushBaseImpl: BrushImpl + $crate::Upcast<XamlCompositionBrushBase>
    

    The overridable members introduced by the class.

    View source

    Members

    on_connected

    fn on_connected(this: &Self)
    

    OnConnected: the brush is used in a window with a compositor for the first time; the subclass creates its composition brush.

    Source

    on_disconnected

    fn on_disconnected(this: &Self)
    

    OnDisconnected: no element of a window with a compositor uses the brush any more; the subclass releases its composition brush.

    Source

    Trait implementations

    Availability

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