pub trait SimdBase<T, U>:
Copy
+ Debug
+ IndexMut<usize>
+ Add<T, Output = T>
+ Sub<T, Output = T>
+ AddAssign<T>
+ SubAssign<T>
+ BitAnd<T, Output = T>
+ BitOr<T, Output = T>
+ BitXor<T, Output = T>
+ BitAndAssign<T>
+ BitOrAssign<T>
+ BitXorAssign<T>
+ Index<usize, Output = U>
+ Sync
+ Send { }
Expand description
Grouping all the constraints shared by associated types in the Simd trait into this marker trait drastically reduces compile time.
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.