IAnimationSetter
trait · ferroui-base · v0.5.0
trait IAnimationSetter: 'static
A setter that can be used in the key frames of an animation.
Members
property
fn property(self: &Self) -> Option<&'static FerroProperty>
The property the setter targets.
set_property
fn set_property(self: &Self, value: Option<&'static FerroProperty>)
value
fn value(self: &Self) -> Option<SetterValue>
The value of the setter: a plain value holding exactly the value type of the property, or a source of such values.
set_value
fn set_value(self: &Self, value: Option<SetterValue>)
as_any
fn as_any(self: &Self) -> Option<&dyn std::any::Any>
The implementing value, for casting to its concrete type
(as_any()?.downcast_ref::<T>()): the equivalent of is/as on the
contract. None for an implementation that does not expose itself.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.