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.
Members
set_bounceset_flashset_pulseset_rubber_bandset_shake_xset_shake_yset_head_shakeset_swingset_tadaset_wobbleset_jelloset_heart_beat
set_bounce
fn set_bounce(element: &Control, milliseconds: f64)
Applies a bounce animation to the element when loaded.
set_flash
fn set_flash(element: &Control, milliseconds: f64)
Applies a flash animation to the element when loaded.
set_pulse
fn set_pulse(element: &Control, milliseconds: f64)
Applies a pulse animation to the element when loaded.
set_rubber_band
fn set_rubber_band(element: &Control, milliseconds: f64)
Applies a rubber band animation to the element when loaded.
set_shake_x
fn set_shake_x(element: &Control, milliseconds: f64)
Applies a horizontal shake animation to the element when loaded.
set_shake_y
fn set_shake_y(element: &Control, milliseconds: f64)
Applies a vertical shake animation to the element when loaded.
set_head_shake
fn set_head_shake(element: &Control, milliseconds: f64)
Applies a head shake animation to the element when loaded.
set_swing
fn set_swing(element: &Control, milliseconds: f64)
Applies a swing animation to the element when loaded.
set_tada
fn set_tada(element: &Control, milliseconds: f64)
Applies a tada animation (scale and rotation) to the element when loaded.
set_wobble
fn set_wobble(element: &Control, milliseconds: f64)
Applies a wobble animation to the element when loaded.
set_jello
fn set_jello(element: &Control, milliseconds: f64)
Applies a jello animation to the element when loaded.
set_heart_beat
fn set_heart_beat(element: &Control, milliseconds: f64)
Applies a heart beat animation to the element when loaded.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.