FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IconSourceImpl

    trait · ferroui-controls · v0.5.0

    trait IconSourceImpl: FerroObjectImpl + $crate::Upcast<IconSource>
    

    The overridable members introduced by the class.

    View source

    Members

    create_icon_element_core

    fn create_icon_element_core(this: &Self) -> Option<Ref<IconElement>>
    

    Creates the icon element of the source with the values of its properties (CreateIconElementCore); None for the abstract base.

    Source

    get_icon_element_property_core

    fn get_icon_element_property_core(this: &Self, property: &'static FerroProperty) -> Option<&'static FerroProperty>
    

    The property of the icon elements that a property of the source is set on (GetIconElementPropertyCore); None for a property that is not.

    Source

    Trait implementations

    Availability

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