RunAnimationTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct RunAnimationTrigger
Runs an animation and invokes actions when the associated control is attached to the visual tree.
Members
TYPEto_refanimation_propertyanimation_builder_propertyconstructnewanimationset_animationanimation_builderset_animation_builder
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RunAnimationTrigger>
Returns a strong reference to this object.
animation_property
fn animation_property() -> &'static StyledProperty<Option<Ref<Animation>>>
Identifies the Animation property.
animation_builder_property
fn animation_builder_property() -> &'static StyledProperty<Option<AnimationBuilderRef>>
Identifies the AnimationBuilder property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
animation
fn animation(self: &Self) -> Option<Ref<Animation>>
Gets or sets the animation to run.
set_animation
fn set_animation(self: &Self, value: Option<Ref<Animation>>)
animation_builder
fn animation_builder(self: &Self) -> Option<AnimationBuilderRef>
Gets or sets the animation builder used to create an animation.
set_animation_builder
fn set_animation_builder(self: &Self, value: Option<AnimationBuilderRef>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeTriggerBaseImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDisposingTriggerImplExtDerefUpcast<T>Upcast<RunAnimationTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplDisposingTriggerImplAttachedToVisualTreeTriggerBaseImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.