pub trait PixelFormat: Any + Clone { }
Expand description
Implementations of this trait describe the format of raw image data.
Note that when const generics for custom types are introduced to the rust compiler, we intend to switch PixelFormat to use that feature.
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.