Trait image2::Pixel

source ·
pub trait Pixel<'a, T: Type, C: Color>: AsRef<[T]> {
    fn to_float(&self) -> Vec<f64> { ... }
    fn to_pixel_vec(&self) -> PixelVec<T> { ... }
    fn is_true(&self) -> bool { ... }
    fn is_false(&self) -> bool { ... }
    fn map<F: FnMut(&T) -> T>(&self, f: F) -> PixelVec<T> { ... }
}

Provided Methods§

Implementations on Foreign Types§

Implementors§