pub trait GradientLutExt:
Sized
+ Debug
+ Copy
+ Clone
+ Pod {
const ZERO: Self;
// Required method
fn from_f32x16<S: Simd>(color: f32x16<S>) -> [Self; 16];
}Expand description
A helper trait for converting gradient colors to Self.
Required Associated Constants§
Required Methods§
Sourcefn from_f32x16<S: Simd>(color: f32x16<S>) -> [Self; 16]
fn from_f32x16<S: Simd>(color: f32x16<S>) -> [Self; 16]
Convert from f32x16 to [Self; 16].
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.