FadeAnimation
struct · ferroui-xaml-behaviors-animations · v0.5.0
struct FadeAnimation
Provides fade animation helpers using composition animations.
Members
set_fade_in
fn set_fade_in(element: &Control, milliseconds: f64)
Applies a fade-in animation to the element when loaded, over milliseconds.
set_fade_out
fn set_fade_out(element: &Control, milliseconds: f64)
Applies a fade-out animation to the element when loaded, over milliseconds.
set_custom_fade
fn set_custom_fade(element: &Control, from_opacity: f64, to_opacity: f64, milliseconds: f64)
Applies a custom fade animation to the element when loaded: from from_opacity to
to_opacity (0.0 to 1.0), over milliseconds.
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.