FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GradientStops

    struct · ferroui-base · v0.5.0

    struct GradientStops
    

    A collection of GradientStops.

    View source

    Members

    new

    fn new() -> Self
    

    Creates an empty collection.

    Source

    from_items

    fn from_items(items: impl IntoIterator<Item = Ref<GradientStop>>) -> Self
    

    Creates a collection holding items.

    Source

    to_immutable

    fn to_immutable(self: &Self) -> Vec<ImmutableGradientStop>
    

    Creates an immutable copy of the gradient stops.

    Source

    Trait implementations

    Availability

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