pub trait ImageData {
// Required method
fn to_image_data(&self) -> Vec<Vec<PixelColor>>;
}Expand description
A marker trait allowing several ways to describe the pixel data for an
Image trace.
Required Methods§
fn to_image_data(&self) -> Vec<Vec<PixelColor>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".