[−][src]Struct rin::graphics::image::Bgr
BGR colors
Fields
data: [T; 3]
Trait Implementations
impl<T> IndexMut<usize> for Bgr<T> where
T: Primitive,
[src]
impl<T> IndexMut<usize> for Bgr<T> where
T: Primitive,
impl<T> PartialEq<Bgr<T>> for Bgr<T> where
T: Primitive + PartialEq<T>,
[src]
impl<T> PartialEq<Bgr<T>> for Bgr<T> where
T: Primitive + PartialEq<T>,
impl<T> Clone for Bgr<T> where
T: Primitive + Clone,
[src]
impl<T> Clone for Bgr<T> where
T: Primitive + Clone,
fn clone(&self) -> Bgr<T>
[src]
fn clone(&self) -> Bgr<T>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T> Pixel for Bgr<T> where
T: 'static + Primitive,
[src]
impl<T> Pixel for Bgr<T> where
T: 'static + Primitive,
type Subpixel = T
The underlying subpixel type.
fn channel_count() -> u8
[src]
fn channel_count() -> u8
fn color_model() -> &'static str
[src]
fn color_model() -> &'static str
fn color_type() -> ColorType
[src]
fn color_type() -> ColorType
fn channels(&self) -> &[T]
[src]
fn channels(&self) -> &[T]
fn channels_mut(&mut self) -> &mut [T]
[src]
fn channels_mut(&mut self) -> &mut [T]
fn channels4(&self) -> (T, T, T, T)
[src]
fn channels4(&self) -> (T, T, T, T)
fn from_channels(a: T, b: T, c: T, d: T) -> Bgr<T>
[src]
fn from_channels(a: T, b: T, c: T, d: T) -> Bgr<T>
fn from_slice(slice: &[T]) -> &Bgr<T>
[src]
fn from_slice(slice: &[T]) -> &Bgr<T>
fn from_slice_mut(slice: &mut [T]) -> &mut Bgr<T>
[src]
fn from_slice_mut(slice: &mut [T]) -> &mut Bgr<T>
fn to_rgb(&self) -> Rgb<T>
[src]
fn to_rgb(&self) -> Rgb<T>
fn to_bgr(&self) -> Bgr<T>
[src]
fn to_bgr(&self) -> Bgr<T>
fn to_rgba(&self) -> Rgba<T>
[src]
fn to_rgba(&self) -> Rgba<T>
fn to_bgra(&self) -> Bgra<T>
[src]
fn to_bgra(&self) -> Bgra<T>
fn to_luma(&self) -> Luma<T>
[src]
fn to_luma(&self) -> Luma<T>
fn to_luma_alpha(&self) -> LumaA<T>
[src]
fn to_luma_alpha(&self) -> LumaA<T>
fn map<F>(&self, f: F) -> Bgr<T> where
F: FnMut(T) -> T,
[src]
fn map<F>(&self, f: F) -> Bgr<T> where
F: FnMut(T) -> T,
fn apply<F>(&mut self, f: F) where
F: FnMut(T) -> T,
[src]
fn apply<F>(&mut self, f: F) where
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]
fn map_with_alpha<F, G>(&self, f: F, g: G) -> Bgr<T> where
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]
fn apply_with_alpha<F, G>(&mut self, f: F, g: G) where
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]
fn map2<F>(&self, other: &Bgr<T>, f: F) -> Bgr<T> where
F: FnMut(T, T) -> T,
fn apply2<F>(&mut self, other: &Bgr<T>, f: F) where
F: FnMut(T, T) -> T,
[src]
fn apply2<F>(&mut self, other: &Bgr<T>, f: F) where
F: FnMut(T, T) -> T,
fn invert(&mut self)
[src]
fn invert(&mut self)
fn blend(&mut self, other: &Bgr<T>)
[src]
fn blend(&mut self, other: &Bgr<T>)
impl<T> Hash for Bgr<T> where
T: Primitive + Hash,
[src]
impl<T> Hash for Bgr<T> where
T: Primitive + Hash,
fn hash<__HT>(&self, state: &mut __HT) where
__HT: Hasher,
[src]
fn hash<__HT>(&self, state: &mut __HT) where
__HT: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<T> Debug for Bgr<T> where
T: Primitive + Debug,
[src]
impl<T> Debug for Bgr<T> where
T: Primitive + Debug,
impl<T> Eq for Bgr<T> where
T: Primitive + Eq,
[src]
impl<T> Eq for Bgr<T> where
T: Primitive + Eq,
impl<T> Index<usize> for Bgr<T> where
T: Primitive,
[src]
impl<T> Index<usize> for Bgr<T> where
T: Primitive,
impl<T> Copy for Bgr<T> where
T: Primitive + Copy,
[src]
impl<T> Copy for Bgr<T> where
T: Primitive + Copy,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: Any,
[src]
impl<T> Any for T where
T: Any,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> SetParameter for T
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<V> IntoVec for V
[src]
impl<V> IntoVec for V
impl<T> IntoPnt for T where
T: Scalar,
[src]
impl<T> IntoPnt for T where
T: Scalar,
impl<T> IntoPnt for T where
T: Scalar,
[src]
impl<T> IntoPnt for T where
T: Scalar,
impl<T> IntoPnt for T where
T: Scalar,
[src]
impl<T> IntoPnt for T where
T: Scalar,
impl<V> IntoPnt for V
[src]
impl<V> IntoPnt for V
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
[src]
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
[src]
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
[src]
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
[src]
fn from_subset(element: &SS) -> SP
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self