FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AttentionAnimations

    struct · ferroui-xaml-behaviors-animations · v0.5.0

    struct AttentionAnimations
    

    Provides attention-drawing animation helpers inspired by popular web animation libraries such as animate.css.

    View source

    Members

    set_bounce

    fn set_bounce(element: &Control, milliseconds: f64)
    

    Applies a bounce animation to the element when loaded.

    Source

    set_flash

    fn set_flash(element: &Control, milliseconds: f64)
    

    Applies a flash animation to the element when loaded.

    Source

    set_pulse

    fn set_pulse(element: &Control, milliseconds: f64)
    

    Applies a pulse animation to the element when loaded.

    Source

    set_rubber_band

    fn set_rubber_band(element: &Control, milliseconds: f64)
    

    Applies a rubber band animation to the element when loaded.

    Source

    set_shake_x

    fn set_shake_x(element: &Control, milliseconds: f64)
    

    Applies a horizontal shake animation to the element when loaded.

    Source

    set_shake_y

    fn set_shake_y(element: &Control, milliseconds: f64)
    

    Applies a vertical shake animation to the element when loaded.

    Source

    set_head_shake

    fn set_head_shake(element: &Control, milliseconds: f64)
    

    Applies a head shake animation to the element when loaded.

    Source

    set_swing

    fn set_swing(element: &Control, milliseconds: f64)
    

    Applies a swing animation to the element when loaded.

    Source

    set_tada

    fn set_tada(element: &Control, milliseconds: f64)
    

    Applies a tada animation (scale and rotation) to the element when loaded.

    Source

    set_wobble

    fn set_wobble(element: &Control, milliseconds: f64)
    

    Applies a wobble animation to the element when loaded.

    Source

    set_jello

    fn set_jello(element: &Control, milliseconds: f64)
    

    Applies a jello animation to the element when loaded.

    Source

    set_heart_beat

    fn set_heart_beat(element: &Control, milliseconds: f64)
    

    Applies a heart beat animation to the element when loaded.

    Source

    Trait implementations

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

    Availability

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