[][src]Trait ffimage::core::traits::GenericImage

pub trait GenericImage<'a>: GenericImageView<'a> {
    fn set_pixel(&mut self, x: u32, y: u32, pix: &Self::T) -> Result<(), ()>;
}

Buffered image, provides read-write pixel access

Required methods

fn set_pixel(&mut self, x: u32, y: u32, pix: &Self::T) -> Result<(), ()>

Sets the pixel values at the specified coordinates

Loading content...

Implementors

impl<'a, T: Pixel + 'a> GenericImage<'a> for ImageBuffer<T>[src]

impl<'a, T: Pixel + 'a> GenericImage<'a> for ImageViewMut<'a, T>[src]

Loading content...