pub trait SubPixel:
Default
+ Debug
+ Clone
+ Copy
+ Send
+ Sync
+ Into<Rational> {
// Required methods
fn as_f32(self) -> f32;
fn as_u16(self) -> u16;
}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.