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 in pixels of the image

Height in pixels of the image

Pixels of the image, containing width*height pixels

Auto Trait Implementations

impl<'pixels> Send for Image<'pixels>

impl<'pixels> Sync for Image<'pixels>