FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InteractionTrackerAnimation

    enum · ferroui-base · v0.5.0

    enum InteractionTrackerAnimation
    

    A custom animation of the position or of the scale of a tracker: the CompositionAnimation that TryUpdatePositionWithAnimation and TryUpdateScaleWithAnimation take.

    Deviation (winui-composition.md): the tracker runs on the UI thread, so it evaluates the animation itself rather than on the server: key frames (value and expression key frames, easing, delay, iterations, direction) and expressions. Reference parameters of these animations that are property sets (or trackers) are read; references to other composition objects read as missing, because their values live on the server.

    View source

    Members

    Vector3KeyFrame

    Vector3KeyFrame(std::rc::Rc<crate::rendering::composition::animations::Vector3KeyFrameAnimation>)
    

    A key frame animation of the position.

    Source

    ScalarKeyFrame

    ScalarKeyFrame(std::rc::Rc<crate::rendering::composition::animations::ScalarKeyFrameAnimation>)
    

    A key frame animation of the scale.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • From<Rc<Vector3KeyFrameAnimation>>
    • From<Rc<ScalarKeyFrameAnimation>>
    • From<Rc<ExpressionAnimation>>

    Availability

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