pub trait ScalarInterface:
'static
+ Debug
+ Display
+ PartialEq
+ PartialOrd
+ Default
+ Copy
+ Clone
+ Sized
+ Num
+ NumCast
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self>
+ Rem<Output = Self>
+ AddAssign<Self>
+ SubAssign<Self>
+ MulAssign<Self>
+ DivAssign<Self>
+ RemAssign<Self>
+ NanLikeInterface { }Expand description
Traits any element of a vector should implement.
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.