Struct image::Rgba 
            
                [−]
            
        [src]
pub struct Rgba<T: Primitive> {
    pub data: [T; 4],
}RGB colors + alpha channel
Fields
data | 
pub struct Rgba<T: Primitive> {
    pub data: [T; 4],
}RGB colors + alpha channel
data | 
impl<T: Primitive + 'static> Pixel for Rgba<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) -> Rgba<T>fn from_slice<'a>(slice: &'a [T]) -> &'a Rgba<T>fn from_slice_mut<'a>(slice: &'a mut [T]) -> &'a mut Rgba<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) -> Rgba<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) -> Rgba<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) -> Rgba<T> where F: Fn(T, T) -> Tfn apply2<F>(&mut self, other: &Rgba<T>, f: F) where F: Fn(T, T) -> Tfn invert(&mut self)fn blend(&mut self, other: &Rgba<T>)impl<T: Primitive> Index<usize> for Rgba<T>impl<T: Primitive> IndexMut<usize> for Rgba<T>impl<T: Hash + Primitive> Hash for Rgba<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 Rgba<T>impl<T: Debug + Primitive> Debug for Rgba<T>impl<T: Clone + Primitive> Clone for Rgba<T>fn clone(&self) -> Rgba<T>fn clone_from(&mut self, source: &Self)impl<T: Eq + Primitive> Eq for Rgba<T>impl<T: PartialEq + Primitive> PartialEq for Rgba<T>