FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    hot_reloadable_with

    function · ferroui-hot-patch · v0.5.0

    fn hot_reloadable_with<A, R>(function: fn(A) -> R, argument: A) -> R
    

    Invoke a registered synchronous function with a handler or command argument. Pass a tuple for multiple arguments. Call this at every invocation of the existing subscription; the function pointer is resolved through the current patch table each time. Argument and return types must live in stable code. This does not admit a function or rebuild its view: the owning supervisor still validates the complete source revision before installing a patch.

    View source

    Availability

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