[][src]Trait image2::PixelMut

pub trait PixelMut<'a, T: Type, C: Color>: Pixel<'a, T, C> + AsMut<[T]> {
    fn set_f<P: Pixel<'a, f64, C>>(&mut self, other: &P) { ... }
fn set<P: Pixel<'a, T, C>>(&mut self, other: &P) { ... }
fn iter_mut(&mut self) -> IterMut<T> { ... }
fn blend_alpha(&mut self) { ... } }

PixelMut is used to access mutable chunks of image data

Provided methods

fn set_f<P: Pixel<'a, f64, C>>(&mut self, other: &P)

Copy values from a normalized f64 pixel

fn set<P: Pixel<'a, T, C>>(&mut self, other: &P)

Copy values from another pixel

fn iter_mut(&mut self) -> IterMut<T>

fn blend_alpha(&mut self)

Loading content...

Implementations on Foreign Types

impl<'a, T: Type, C: Color> PixelMut<'a, T, C> for &'a mut [T][src]

impl<'a, T: Type, C: Color> PixelMut<'a, T, C> for Vec<T>[src]

impl<'a, T: Type, C: Color> PixelMut<'a, T, C> for &'a mut Vec<T>[src]

Loading content...

Implementors

impl<'a, T: Type, C: Color> PixelMut<'a, T, C> for PixelVec<T>[src]

Loading content...