pub trait AnimationTime:
Copy
+ Debug
+ Send {
// Required method
fn elapsed_since(self, time: Self) -> f32;
}Expand description
An interface for interacting with time.
Required Methods§
fn elapsed_since(self, time: Self) -> f32
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.