pub trait Interpolation<Position, Velocity> {
type Motion: Motion<Position, Velocity>;
// Required method
fn interpolate(&self, up_to: &Self) -> Self::Motion;
}Required Associated Types§
Required Methods§
Sourcefn interpolate(&self, up_to: &Self) -> Self::Motion
fn interpolate(&self, up_to: &Self) -> Self::Motion
Interpolate the motion from this waypoint to another one.
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.