FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IStyleInstance

    trait · ferroui-base · v0.5.0

    trait IStyleInstance
    

    Represents a style that has been instanced on a control.

    View source

    Members

    source

    fn source(self: &Self) -> Option<Ref<StyleBase>>
    

    The source style, if it is still alive.

    Source

    has_activator

    fn has_activator(self: &Self) -> bool
    

    Whether this style has an activator.

    A style instance without an activator will always be active.

    Source

    is_active

    fn is_active(self: &Self) -> bool
    

    Whether this style is active.

    Source

    Trait implementations

    Availability

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