Struct lyon::extra::image::MutableImageSlice [] [src]

pub struct MutableImageSlice<'l, Pixel> where Pixel: Copy + 'static {
    pub width: usize,
    pub height: usize,
    pub stride: usize,
    pub pixels: &'l mut [Pixel],
}

A view on a writable image in memory.

Fields

Methods

impl<'l, Pixel> MutableImageSlice<'l, Pixel> where Pixel: Copy + 'static