Skip to main content

Animation

Trait Animation 

Source
pub trait Animation: Sized {
    // Required method
    fn build(self) -> AnimationCell;
}
Expand description

A statically typed animation definition that can be lowered into a runtime animation.

Required Methods§

Source

fn build(self) -> AnimationCell

Lower this definition into its local runtime representation.

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§