FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AnonymousDisposable

    struct · ferroui-reactive · v0.5.0

    struct AnonymousDisposable
    

    A disposable that runs an action the first time it is disposed (AnonymousDisposable).

    View source

    Members

    new

    fn new(dispose: impl FnOnce() -> () + 'static) -> Rc<Self>
    

    A disposable that runs dispose when it is disposed.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • IDisposable
    • ICancelable

    Availability

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