pub trait FromF32Color:
Sized
+ Debug
+ Copy
+ Clone {
const ZERO: Self;
// Required method
fn from_f32<S: Simd>(color: f32x4<S>) -> [Self; 4];
}
Expand description
A helper trait for converting a premultiplied f32 color to Self
.
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.