FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StyleInstance

    struct · ferroui-base · v0.5.0

    struct StyleInstance
    

    Stores state for a style that has been instanced on a control.

    A style instance is created when a style is applied to a control. It is responsible for tracking the setter instances of the style and its activator, and is the value frame that holds the style's values in the control's value store. A style without an activator whose setters are all plain values has a single instance, shared by every control it applies to.

    View source

    Members

    priority

    fn priority(self: &Self) -> BindingPriority
    

    The priority of the values of the style instance.

    Source

    Trait implementations

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

    Availability

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