Skip to main content

DefaultAnimations

Trait DefaultAnimations 

Source
pub trait DefaultAnimations:
    Styled
    + Sized
    + Element {
    // Provided methods
    fn animate_in(
        self,
        animation_type: AnimationDirection,
        fade_in: bool,
    ) -> AnimationElement<Self> { ... }
    fn animate_in_from_bottom(self, fade: bool) -> AnimationElement<Self> { ... }
    fn animate_in_from_left(self, fade: bool) -> AnimationElement<Self> { ... }
    fn animate_in_from_right(self, fade: bool) -> AnimationElement<Self> { ... }
    fn animate_in_from_top(self, fade: bool) -> AnimationElement<Self> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§