pub trait FuncAnim: FuncRequirement + 'static {
// Required method
fn func(
&mut self,
f: impl Fn(&Self, f64) -> Self + 'static,
) -> AnimationCell<Self>;
}Expand description
The methods to create animations for T that satisfies FuncRequirement
Required Methods§
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.