Struct image::Bgra [−][src]
BGR colors + alpha channel
Trait Implementations
impl<T: Primitive + 'static> Pixel for Bgra<T>
[src]
impl<T: Primitive + 'static> Pixel for Bgra<T>
[src]type Subpixel = T
The underlying subpixel type.
const CHANNEL_COUNT: u8
[src]
const COLOR_MODEL: &'static str
[src]
const COLOR_TYPE: ColorType
[src]
fn channels(&self) -> &[T]
[src]
fn channels_mut(&mut self) -> &mut [T]
[src]
fn channels4(&self) -> (T, T, T, T)
[src]
fn from_channels(a: T, b: T, c: T, d: T) -> Bgra<T>
[src]
fn from_slice(slice: &[T]) -> &Bgra<T>
[src]
fn from_slice_mut(slice: &mut [T]) -> &mut Bgra<T>
[src]
fn to_rgb(&self) -> Rgb<T>
[src]
fn to_bgr(&self) -> Bgr<T>
[src]
fn to_rgba(&self) -> Rgba<T>
[src]
fn to_bgra(&self) -> Bgra<T>
[src]
fn to_luma(&self) -> Luma<T>
[src]
fn to_luma_alpha(&self) -> LumaA<T>
[src]
fn map<F>(&self, f: F) -> Bgra<T> where
F: FnMut(T) -> T,
[src]
F: FnMut(T) -> T,
fn apply<F>(&mut self, f: F) where
F: FnMut(T) -> T,
[src]
F: FnMut(T) -> T,
fn map_with_alpha<F, G>(&self, f: F, g: G) -> Bgra<T> where
F: FnMut(T) -> T,
G: FnMut(T) -> T,
[src]
F: FnMut(T) -> T,
G: FnMut(T) -> T,
fn apply_with_alpha<F, G>(&mut self, f: F, g: G) where
F: FnMut(T) -> T,
G: FnMut(T) -> T,
[src]
F: FnMut(T) -> T,
G: FnMut(T) -> T,
fn map2<F>(&self, other: &Self, f: F) -> Bgra<T> where
F: FnMut(T, T) -> T,
[src]
F: FnMut(T, T) -> T,
fn apply2<F>(&mut self, other: &Bgra<T>, f: F) where
F: FnMut(T, T) -> T,
[src]
F: FnMut(T, T) -> T,
fn invert(&mut self)
[src]
fn blend(&mut self, other: &Bgra<T>)
[src]
fn channel_count() -> u8
[src]
fn color_model() -> &'static str
[src]
fn color_type() -> ColorType
[src]
fn map_without_alpha<F>(&self, f: F) -> Self where
F: FnMut(Self::Subpixel) -> Self::Subpixel,
[src]
F: FnMut(Self::Subpixel) -> Self::Subpixel,
fn apply_without_alpha<F>(&mut self, f: F) where
F: FnMut(Self::Subpixel) -> Self::Subpixel,
[src]
F: FnMut(Self::Subpixel) -> Self::Subpixel,
impl<T: Copy + Primitive> Copy for Bgra<T>
[src]
impl<T: Eq + Primitive> Eq for Bgra<T>
[src]
impl<T: Primitive> StructuralEq for Bgra<T>
[src]
impl<T: Primitive> StructuralPartialEq for Bgra<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Bgra<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Bgra<T> where
T: Send,
T: Send,
impl<T> Sync for Bgra<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Bgra<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Bgra<T> where
T: UnwindSafe,
T: UnwindSafe,