Trait Additive
splines::interpolate
pub trait Additive: Copy + Add<Self, Output = Self> + Sub<Self, Output = Self> { }
Set of types that support additions and subtraction.
The Copy trait is also a supertrait as it’s likely to be used everywhere.
Copy
impl<T> Additive for T where T: Copy + Add<Self, Output = Self> + Sub<Self, Output = Self>,