FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TransformOperationsAnimator

    struct · ferroui-base · v0.5.0

    struct TransformOperationsAnimator
    

    Interpolates transform operation lists.

    This is the interpolation behind TransformOperationsTransition. It is not registered for any property type, so key frame animations do not select it.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    interpolate

    fn interpolate(self: &Self, progress: f64, old_value: &Rc<TransformOperations>, new_value: &Rc<TransformOperations>) -> Rc<TransformOperations>
    

    Interpolates between two operation lists using the specified progress.

    Source

    validate

    fn validate(self: &Self, item: &Ref<AnimatorKeyFrame>)
    

    Validates a key frame: its value must be an operation list.

    Source

    Trait implementations

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

    Availability

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