Struct image::LumaA 
            
                [−]
            
        [src]
pub struct LumaA<T: Primitive> {
    pub data: [T; 2],
}Grayscale colors + alpha channel
Fields
data | 
pub struct LumaA<T: Primitive> {
    pub data: [T; 2],
}Grayscale colors + alpha channel
data | 
impl<T: Primitive + 'static> Pixel for LumaA<T>type Subpixel = Tfn channel_count() -> u8fn color_model() -> &'static strfn color_type() -> ColorTypefn channels(&self) -> &[T]fn channels_mut(&mut self) -> &mut [T]fn channels4(&self) -> (T, T, T, T)fn from_channels(a: T, b: T, c: T, d: T) -> LumaA<T>fn from_slice<'a>(slice: &'a [T]) -> &'a LumaA<T>fn from_slice_mut<'a>(slice: &'a mut [T]) -> &'a mut LumaA<T>fn to_rgb(&self) -> Rgb<T>fn to_rgba(&self) -> Rgba<T>fn to_luma(&self) -> Luma<T>fn to_luma_alpha(&self) -> LumaA<T>fn map<F>(&self, f: F) -> LumaA<T> where F: Fn(T) -> Tfn apply<F>(&mut self, f: F) where F: Fn(T) -> Tfn map_with_alpha<F, G>(&self, f: F, g: G) -> LumaA<T> where F: Fn(T) -> T, G: Fn(T) -> Tfn apply_with_alpha<F, G>(&mut self, f: F, g: G) where F: Fn(T) -> T, G: Fn(T) -> Tfn map2<F>(&self, other: &Self, f: F) -> LumaA<T> where F: Fn(T, T) -> Tfn apply2<F>(&mut self, other: &LumaA<T>, f: F) where F: Fn(T, T) -> Tfn invert(&mut self)fn blend(&mut self, other: &LumaA<T>)impl<T: Primitive> Index<usize> for LumaA<T>impl<T: Primitive> IndexMut<usize> for LumaA<T>impl<T: Hash + Primitive> Hash for LumaA<T>fn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl<T: Copy + Primitive> Copy for LumaA<T>impl<T: Debug + Primitive> Debug for LumaA<T>impl<T: Clone + Primitive> Clone for LumaA<T>fn clone(&self) -> LumaA<T>fn clone_from(&mut self, source: &Self)impl<T: Eq + Primitive> Eq for LumaA<T>impl<T: PartialEq + Primitive> PartialEq for LumaA<T>