FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IAffectsRender

    trait · ferroui-base · v0.5.0

    trait IAffectsRender
    

    Signals that a change of the object requires everything drawn with it to be redrawn.

    Implemented by the mutable media classes: brushes, pens, geometries, transforms, effects and the images that can change.

    View source

    Members

    invalidated

    fn invalidated(self: &Self, handler: Rc<dyn Fn() -> ()>) -> Rc<dyn IDisposable>
    

    Subscribes to invalidation of the object. Disposing the returned handle unsubscribes.

    Source

    Trait implementations

    Availability

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