FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    StyleBaseImpl

    trait · ferroui-base · v0.5.0

    trait StyleBaseImpl: FerroObjectImpl + $crate::Upcast<StyleBase>
    

    The overridable members introduced by the class.

    View source

    Members

    set_parent

    fn set_parent(this: &Self, parent: Option<&Ref<StyleBase>>)
    

    Sets the parent style. Called when the style is added to or removed from the children of another style; validates that the style can be nested in parent.

    Source

    to_display_string

    fn to_display_string(this: &Self) -> String
    

    A string describing the style: its selector, target type or query.

    Source

    Trait implementations

    Availability

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