pub unsafe trait ScalarOrVector:
Copy
+ Default
+ Send
+ Sync
+ 'static {
type Scalar: Scalar;
const N: NonZeroUsize;
}
Expand description
Required Associated Constants§
Sourceconst N: NonZeroUsize
const N: NonZeroUsize
The dimension of the vector, or 1 if it is a scalar
Required Associated Types§
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.