FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FontIconSourceProps

    trait · ferroui-view · v0.5.0

    trait FontIconSourceProps: ElementBuilder
    

    The properties and routed events of FontIconSource.

    View source

    Members

    glyph

    fn glyph<M>(self: Self, value: impl IntoProp<String, M>) -> Self
    

    Sets FontIconSource::glyph_property.

    Source

    font_family

    fn font_family<M>(self: Self, value: impl IntoProp<Option<ferroui_base::media::FontFamily>, M>) -> Self
    

    Sets FontIconSource::font_family_property.

    Source

    font_size

    fn font_size<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets FontIconSource::font_size_property.

    Source

    font_style

    fn font_style<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontStyle, M>) -> Self
    

    Sets FontIconSource::font_style_property.

    Source

    font_weight

    fn font_weight<M>(self: Self, value: impl IntoProp<ferroui_base::media::FontWeight, M>) -> Self
    

    Sets FontIconSource::font_weight_property.

    Source

    mirrored_when_right_to_left

    fn mirrored_when_right_to_left<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets FontIconSource::mirrored_when_right_to_left_property.

    Source

    Trait implementations

    Availability

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