GradientStops
struct · ferroui-base · v0.5.0
struct GradientStops
A collection of GradientStops.
Members
new
fn new() -> Self
Creates an empty collection.
from_items
fn from_items(items: impl IntoIterator<Item = Ref<GradientStop>>) -> Self
Creates a collection holding items.
to_immutable
fn to_immutable(self: &Self) -> Vec<ImmutableGradientStop>
Creates an immutable copy of the gradient stops.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneStructuralPartialEqPartialEqDerefDefaultFromIterator<Ref<GradientStop>>MarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.