FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FunctionRegistration

    struct · ferroui-hot-patch · v0.5.0

    struct FunctionRegistration
    

    A stable application declaration, supplied when its patch supervisor starts. Changing registrations is a build-input change and requires process replacement.

    View source

    Members

    callback

    fn callback(source: impl Into<String>, function: impl Into<String>) -> Self
    

    A handler or command whose updated body takes effect on its next invocation. Register the function here and invoke it through a patch-aware callback helper.

    Source

    view_builder

    fn view_builder(source: impl Into<String>, function: impl Into<String>, views: impl IntoIterator<Item = String>) -> Self
    

    A synchronous builder which explicitly requests reapplication of these views. View identifiers belong to the application; the view transaction must resolve them to reversible adapters. At least one nonempty identifier is required.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Clone
    • Debug

    Availability

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