pub trait IntoKeyframe {
// Required method
fn into_keyframe(self) -> Keyframe;
}Expand description
Anything that can stand in for a Keyframe in a list.
A list of legs is usually a list of destinations — [-30.0, 0.0] — and
only sometimes a list of built keyframes with their own timings. Rust
arrays are homogeneous either way, so one trait covers both without any
wrapping at the call site.
Required Methods§
fn into_keyframe(self) -> Keyframe
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".