Struct pxl::Image [−][src]
pub struct Image<'pixels> { pub width: usize, pub height: usize, pub pixels: &'pixels [Pixel], }
An image made of pixels. Used by the pxl-build
crate
for image resources
Fields
width: usize
Width in pixels of the image
height: usize
Height in pixels of the image
pixels: &'pixels [Pixel]
Pixels of the image, containing width*height
pixels