FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FontFeatureCollection

    struct · ferroui-base · v0.5.0

    struct FontFeatureCollection
    

    List of font feature settings.

    A shared handle to an observable list; equality is reference equality.

    View source

    Members

    new

    fn new() -> Self
    

    Creates an empty collection.

    Source

    from_items

    fn from_items(font_features: impl IntoIterator<Item = FontFeature>) -> Self
    

    Creates a collection from features.

    Source

    parse

    fn parse(s: &str) -> Result<FontFeatureCollection, FormatError>
    

    Parses a comma separated list of font features.

    Source

    Trait implementations

    Availability

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