FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ExitAnimations

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

    struct ExitAnimations
    

    Provides exit animation helpers inspired by animate.css.

    Every set_* function animates element with its exit effect over milliseconds, the animation duration in milliseconds, when the element is loaded.

    View source

    Members

    set_back_out_down

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

    Animates element with the BackOutDown exit effect over the specified duration.

    Source

    set_back_out_left

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

    Animates element with the BackOutLeft exit effect over the specified duration.

    Source

    set_back_out_right

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

    Animates element with the BackOutRight exit effect over the specified duration.

    Source

    set_back_out_up

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

    Animates element with the BackOutUp exit effect over the specified duration.

    Source

    set_bounce_out

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

    Animates element with the BounceOut exit effect over the specified duration.

    Source

    set_bounce_out_down

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

    Animates element with the BounceOutDown exit effect over the specified duration.

    Source

    set_bounce_out_left

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

    Animates element with the BounceOutLeft exit effect over the specified duration.

    Source

    set_bounce_out_right

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

    Animates element with the BounceOutRight exit effect over the specified duration.

    Source

    set_bounce_out_up

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

    Animates element with the BounceOutUp exit effect over the specified duration.

    Source

    set_fade_out

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

    Animates element with the FadeOut exit effect over the specified duration.

    Source

    set_fade_out_down

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

    Animates element with the FadeOutDown exit effect over the specified duration.

    Source

    set_fade_out_down_big

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

    Animates element with the FadeOutDownBig exit effect over the specified duration.

    Source

    set_fade_out_left

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

    Animates element with the FadeOutLeft exit effect over the specified duration.

    Source

    set_fade_out_left_big

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

    Animates element with the FadeOutLeftBig exit effect over the specified duration.

    Source

    set_fade_out_right

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

    Animates element with the FadeOutRight exit effect over the specified duration.

    Source

    set_fade_out_right_big

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

    Animates element with the FadeOutRightBig exit effect over the specified duration.

    Source

    set_fade_out_up

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

    Animates element with the FadeOutUp exit effect over the specified duration.

    Source

    set_fade_out_up_big

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

    Animates element with the FadeOutUpBig exit effect over the specified duration.

    Source

    set_fade_out_top_left

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

    Animates element with the FadeOutTopLeft exit effect over the specified duration.

    Source

    set_fade_out_top_right

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

    Animates element with the FadeOutTopRight exit effect over the specified duration.

    Source

    set_fade_out_bottom_left

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

    Animates element with the FadeOutBottomLeft exit effect over the specified duration.

    Source

    set_fade_out_bottom_right

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

    Animates element with the FadeOutBottomRight exit effect over the specified duration.

    Source

    set_flip_out_x

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

    Animates element with the FlipOutX exit effect over the specified duration.

    Source

    set_flip_out_y

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

    Animates element with the FlipOutY exit effect over the specified duration.

    Source

    set_light_speed_out_left

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

    Animates element with the LightSpeedOutLeft exit effect over the specified duration.

    Source

    set_light_speed_out_right

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

    Animates element with the LightSpeedOutRight exit effect over the specified duration.

    Source

    set_rotate_out

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

    Animates element with the RotateOut exit effect over the specified duration.

    Source

    set_rotate_out_down_left

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

    Animates element with the RotateOutDownLeft exit effect over the specified duration.

    Source

    set_rotate_out_down_right

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

    Animates element with the RotateOutDownRight exit effect over the specified duration.

    Source

    set_rotate_out_up_left

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

    Animates element with the RotateOutUpLeft exit effect over the specified duration.

    Source

    set_rotate_out_up_right

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

    Animates element with the RotateOutUpRight exit effect over the specified duration.

    Source

    set_slide_out_down

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

    Animates element with the SlideOutDown exit effect over the specified duration.

    Source

    set_slide_out_left

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

    Animates element with the SlideOutLeft exit effect over the specified duration.

    Source

    set_slide_out_right

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

    Animates element with the SlideOutRight exit effect over the specified duration.

    Source

    set_slide_out_up

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

    Animates element with the SlideOutUp exit effect over the specified duration.

    Source

    set_zoom_out

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

    Animates element with the ZoomOut exit effect over the specified duration.

    Source

    set_zoom_out_down

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

    Animates element with the ZoomOutDown exit effect over the specified duration.

    Source

    set_zoom_out_left

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

    Animates element with the ZoomOutLeft exit effect over the specified duration.

    Source

    set_zoom_out_right

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

    Animates element with the ZoomOutRight exit effect over the specified duration.

    Source

    set_zoom_out_up

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

    Animates element with the ZoomOutUp exit effect over the specified duration.

    Source

    set_hinge

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

    Animates element with the Hinge exit effect over the specified duration.

    Source

    set_roll_out

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

    Animates element with the RollOut exit effect over the specified duration.

    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.