pub trait PrimitiveSimdValue: Copy + SimdValue { }
Expand description
Marker trait implemented by SIMD and non-SIMD primitive numeric values.
This trait is useful for some disambiguations when writing blanked impls.
This is implemented by all unsigned integer, integer, float, and complex types, as
with only one lane, i.e., f32
, f64
, u32
, i64
, etc. as well as SIMD types like
f32x4, i32x8
, etc..
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.