Trait ImageData

Source
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§

Implementations on Foreign Types§

Source§

impl ImageData for Vec<Vec<Rgb>>

Source§

impl ImageData for Vec<Vec<Rgba>>

Implementors§