FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    on_cleanup

    function · ferroui-view · v0.5.0

    fn on_cleanup(f: impl FnOnce() -> () + 'static)
    

    Runs f once the current owner (or the running effect) is disposed or runs again.

    View source

    Availability

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