Trait image2::PixelMut

source ·
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> { ... }
}
Expand description

PixelMut is used to access mutable chunks of image data

Provided Methods§

Copy values from a normalized f64 pixel

Copy values from another pixel

Implementations on Foreign Types§

Implementors§