FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Vector3NaturalMotionAnimation

    struct · ferroui-base · v0.5.0

    struct Vector3NaturalMotionAnimation
    

    A natural motion animation of Vector3 values (WinUI Vector3NaturalMotionAnimation): where the motion starts and ends, and its initial velocity.

    View source

    Members

    final_value

    fn final_value(self: &Self) -> Option<Vector3>
    

    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.

    Source

    set_final_value

    fn set_final_value(self: &Self, value: Option<Vector3>)
    

    Source

    initial_value

    fn initial_value(self: &Self) -> Option<Vector3>
    

    The value the motion starts from; the current value of the property when None.

    Source

    set_initial_value

    fn set_initial_value(self: &Self, value: Option<Vector3>)
    

    Source

    initial_velocity

    fn initial_velocity(self: &Self) -> Vector3
    

    The velocity the motion starts with, in units of the property per second.

    Source

    set_initial_velocity

    fn set_initial_velocity(self: &Self, value: Vector3)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ErasedDestructor
    • IntoEither
    • Deref

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.