CompositionGradientStop
struct · ferroui-base · v0.5.0
struct CompositionGradientStop
A gradient stop of the composition brushes, with animatable color and offset.
Members
compositor
fn compositor(self: &Self) -> &Rc<Compositor>
object
fn object(self: &Self) -> &CompositionObject
The embedded CompositionObject.
color
fn color(self: &Self) -> Color
set_color
fn set_color(self: &Self, value: Color)
offset
fn offset(self: &Self) -> f64
set_offset
fn set_offset(self: &Self, value: f64)
implicit_animations
fn implicit_animations(self: &Self) -> Option<Rc<ImplicitAnimationCollection>>
The collection of implicit animations attached to this object.
set_implicit_animations
fn set_implicit_animations(self: &Self, value: Option<Rc<ImplicitAnimationCollection>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherCompositionGradientStopHooksIGradientStopIRegisterForSerializationICompositionObjectHostICompositionObjectAnimationsAsCompositionObjectICompositionObjectICompositorSerializable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.