pub trait InterpolationIndex:
Sub<Self, Output = Self::Delta>
+ PartialOrd
+ Copy
+ Clone
+ Sized {
type Delta: Div<Self::Delta, Output = Self::DeltaDiv> + Mul<Self::DeltaDiv, Output = Self::Delta>;
type DeltaDiv: InterpolationValue;
}
Expand description
Trait describing requirements to be an index of interpolation.
Required Associated Types§
Sourcetype Delta: Div<Self::Delta, Output = Self::DeltaDiv> + Mul<Self::DeltaDiv, Output = Self::Delta>
type Delta: Div<Self::Delta, Output = Self::DeltaDiv> + Mul<Self::DeltaDiv, Output = Self::Delta>
Type of the difference of Self
- Self
Sourcetype DeltaDiv: InterpolationValue
type DeltaDiv: InterpolationValue
Type of Delta
/ Delta
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.