FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NaturalMotionAnimation

    struct · ferroui-base · v0.5.0

    struct NaturalMotionAnimation
    

    The base of the natural motion animations (WinUI NaturalMotionAnimation): the delay and the stop behavior.

    View source

    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.

    Source

    set_delay_behavior

    fn set_delay_behavior(self: &Self, value: AnimationDelayBehavior)
    

    Source

    delay_time

    fn delay_time(self: &Self) -> Duration
    

    The delay between the start of the animation and the start of the motion.

    Source

    set_delay_time

    fn set_delay_time(self: &Self, value: Duration)
    

    Source

    stop_behavior

    fn stop_behavior(self: &Self) -> AnimationStopBehavior
    

    The value the property is set to when the animation is stopped with StopAnimation.

    Source

    set_stop_behavior

    fn set_stop_behavior(self: &Self, value: AnimationStopBehavior)
    

    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.