pub trait Animatable: Copy {
const LANES: usize;
// Required methods
fn to_lanes(self) -> Lanes;
fn from_lanes(lanes: Lanes) -> Self;
}Expand description
A value that animates lane by lane. Each lane moves independently along the same curve.
Required Associated Constants§
Required Methods§
Sourcefn from_lanes(lanes: Lanes) -> Self
fn from_lanes(lanes: Lanes) -> Self
The value from lanes.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".