pub trait SimdVector<T: GpuValue>: Copy {
const WIDTH: usize;
// Required methods
fn splat(value: T) -> Self;
fn extract(self, lane: usize) -> T;
fn insert(self, lane: usize, value: T) -> Self;
}Expand description
Platform-specific SIMD vector type
Required Associated Constants§
Required Methods§
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.