Vector2NaturalMotionAnimation
struct · ferroui-base · v0.5.0
struct Vector2NaturalMotionAnimation
A natural motion animation of Vector2 values (WinUI Vector2NaturalMotionAnimation): where the motion starts and ends, and its initial velocity.
Members
final_value
fn final_value(self: &Self) -> Option<Vector2>
The value the motion comes to rest at. When None, an
implicit animation moves to the new value of the property
(this.FinalValue), and an explicit one to the current value.
set_final_value
fn set_final_value(self: &Self, value: Option<Vector2>)
initial_value
fn initial_value(self: &Self) -> Option<Vector2>
The value the motion starts from; the current value of the
property when None.
set_initial_value
fn set_initial_value(self: &Self, value: Option<Vector2>)
initial_velocity
fn initial_velocity(self: &Self) -> Vector2
The velocity the motion starts with, in units of the property per second.
set_initial_velocity
fn set_initial_velocity(self: &Self, value: Vector2)
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.