FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Diagnostic

    enum · ferroui-view · v0.5.0

    enum Diagnostic
    

    A warning of the declarative API.

    View source

    Members

    MissingKeys

    MissingKeys { items: usize, first: String }
    

    A list of elements (for in rsx!, a Vec) whose items have no keys: an item that moves or is removed makes the items after it patch one another's controls instead of keeping their own.

    Source

    DuplicateKey

    DuplicateKey { key: crate::element::Key }
    

    Two siblings with the same key: the second does not keep its control.

    Source

    RunawayComponent

    RunawayComponent { name: &'static str, runs: u32 }
    

    A component that ran again more times than RUNAWAY_RUNS in one propagation of changes: a run that writes a signal it reads.

    Source

    NeedsRebuild

    NeedsRebuild { file: String, line: u32 }
    

    The source of an rsx! changed more than its literals: hot reload applies literals only, the rest needs a rebuild.

    Source

    HotReloaded

    HotReloaded { file: String, literals: usize }
    

    Hot reload applied changed literals of a file.

    Source

    ErrorCaught

    ErrorCaught { component: &'static str, message: String }
    

    A run of a component below an error boundary panicked: the nearest boundary shows its fallback (see error_boundary).

    Source

    Trait implementations

    Availability

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