[−][src]Trait ffimage::packed::traits::AccessPixelMut
Access pixel (mutable)
This trait guarantees efficient pixel access in a way that the backing pixel storage is already allocated. Packed images allow for reinterpreting raw but coherent memory as a set of pixels.
Associated Types
Loading content...Required methods
fn pixel_row_mut(&mut self, y: u32) -> Option<&mut [Self::PixelType]>
Returns the pixel row at the specified y offset
Provided methods
fn pixel_mut(&mut self, x: u32, y: u32) -> Option<&mut Self::PixelType>
Returns the pixel at the specified coordinates