pub trait Ops:
Vector
+ AsRef<[<Self as Vector>::Scalar]>
+ AsMut<[<Self as Vector>::Scalar]>
+ Deref<Target = [<Self as Vector>::Scalar]>
+ DerefMut
+ Add<Self, Output = Self>
+ Add<<Self as Vector>::Scalar, Output = Self>
+ AddAssign<Self>
+ AddAssign<<Self as Vector>::Scalar>
+ Sub<Self, Output = Self>
+ Sub<<Self as Vector>::Scalar, Output = Self>
+ SubAssign<Self>
+ SubAssign<<Self as Vector>::Scalar>
+ Mul<Self, Output = Self>
+ Mul<<Self as Vector>::Scalar, Output = Self>
+ MulAssign<Self>
+ MulAssign<<Self as Vector>::Scalar>
+ Div<Self, Output = Self>
+ Div<<Self as Vector>::Scalar, Output = Self>
+ DivAssign<Self>
+ DivAssign<<Self as Vector>::Scalar> { }
Expand description
A supertrait for vectors supporting typical arithmetic operations.
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.