StaticAnim

Trait StaticAnim 

Source
pub trait StaticAnim: StaticAnimRequirement {
    // Required methods
    fn show(&self) -> AnimationCell<Self>;
    fn hide(&self) -> AnimationCell<Self>;
}
Expand description

The helper methods for Static, i.e. evaluates to the same value

Required Methods§

Source

fn show(&self) -> AnimationCell<Self>

Show the item

Source

fn hide(&self) -> AnimationCell<Self>

Hide the item

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: StaticAnimRequirement + 'static> StaticAnim for T