FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IDisposable

    trait · ferroui-system · v0.5.0

    trait IDisposable
    

    A resource or subscription that is released explicitly.

    Unlike Drop, disposal is an explicit, idempotent operation: dropping a handle without calling dispose keeps the subscription alive, which is what callers that ignore the returned handle expect. Subscription is the guard that disposes the handle when it is dropped.

    View source

    Members

    dispose

    fn dispose(self: &Self)
    

    Source

    Availability

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