FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PreparedReload

    trait · ferroui-hot-reload · v0.5.0

    trait PreparedReload
    

    An adapter must keep its prior state until finish. Rollback must also undo a partially failed commit. Preparation must not change the live tree or run irreversible user effects.

    View source

    Members

    commit

    fn commit(self: &mut Self) -> Result<(), ReloadError>
    

    Source

    rollback

    fn rollback(self: &mut Self)
    

    Source

    finish

    fn finish(self: &mut Self)
    

    Source

    Availability

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