NaturalMotionAnimation
struct · ferroui-base · v0.5.0
struct NaturalMotionAnimation
The base of the natural motion animations (WinUI NaturalMotionAnimation):
the delay and the stop behavior.
Members
delay_behavior
fn delay_behavior(self: &Self) -> AnimationDelayBehavior
Whether the property takes the initial value before the delay
(SetInitialValueBeforeDelay) or when the motion starts.
set_delay_behavior
fn set_delay_behavior(self: &Self, value: AnimationDelayBehavior)
delay_time
fn delay_time(self: &Self) -> Duration
The delay between the start of the animation and the start of the motion.
set_delay_time
fn set_delay_time(self: &Self, value: Duration)
stop_behavior
fn stop_behavior(self: &Self) -> AnimationStopBehavior
The value the property is set to when the animation is stopped with
StopAnimation.
set_stop_behavior
fn set_stop_behavior(self: &Self, value: AnimationStopBehavior)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.