FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ControlStateRestoreContext

    struct · ferroui-hot-reload · v0.5.0

    struct ControlStateRestoreContext<'a>
    

    Common admission checks for an application's state-restoration callback.

    View source

    Members

    identity

    fn identity(self: &Self) -> &[String]
    

    Namescope-qualified identity within this document/component boundary.

    Source

    may_restore_property

    fn may_restore_property(self: &Self, property: &FerroProperty) -> bool
    

    Rejects changed/removed authored values, markup expressions, existing property values and local bindings (including direct-property bindings). This is a necessary guard, not ownership inference for custom storage: the adapter must also respect application values not represented by the property system and coupled properties which a setter may update.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither

    Availability

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