[−][src]Struct nannou::image::Bgr
BGR colors
Trait Implementations
impl<T> Clone for Bgr<T> where
T: Primitive + Clone,
[src]
T: Primitive + Clone,
impl<T> Copy for Bgr<T> where
T: Primitive + Copy,
[src]
T: Primitive + Copy,
impl<T> Debug for Bgr<T> where
T: Primitive + Debug,
[src]
T: Primitive + Debug,
impl<T> Eq for Bgr<T> where
T: Primitive + Eq,
[src]
T: Primitive + Eq,
impl<T> From<[T; 3]> for Bgr<T> where
T: 'static + Primitive,
[src]
T: 'static + Primitive,
impl<T> Hash for Bgr<T> where
T: Primitive + Hash,
[src]
T: Primitive + Hash,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T> Index<usize> for Bgr<T> where
T: Primitive,
[src]
T: Primitive,
impl<T> IndexMut<usize> for Bgr<T> where
T: Primitive,
[src]
T: Primitive,
impl<T> PartialEq<Bgr<T>> for Bgr<T> where
T: Primitive + PartialEq<T>,
[src]
T: Primitive + PartialEq<T>,
impl<T> Pixel for Bgr<T> where
T: 'static + Primitive,
[src]
T: 'static + Primitive,
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) -> Bgr<T>
[src]
fn from_slice(slice: &[T]) -> &Bgr<T>
[src]
fn from_slice_mut(slice: &mut [T]) -> &mut Bgr<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) -> Bgr<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) -> Bgr<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: &Bgr<T>, f: F) -> Bgr<T> where
F: FnMut(T, T) -> T,
[src]
F: FnMut(T, T) -> T,
fn apply2<F>(&mut self, other: &Bgr<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: &Bgr<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> StructuralEq for Bgr<T> where
T: Primitive,
[src]
T: Primitive,
impl<T> StructuralPartialEq for Bgr<T> where
T: Primitive,
[src]
T: Primitive,
Auto Trait Implementations
impl<T> RefUnwindSafe for Bgr<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Bgr<T> where
T: Send,
T: Send,
impl<T> Sync for Bgr<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Bgr<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Bgr<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,
fn convert_into(self) -> U
[src]
fn convert_unclamped_into(self) -> U
[src]
fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> NodeId for T where
T: 'static + Copy + Clone + PartialEq<T> + Eq + Hash + Send,
[src]
T: 'static + Copy + Clone + PartialEq<T> + Eq + Hash + Send,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,