Struct image2::color::Rgb [−][src]
pub struct Rgb;
Trait Implementations
impl<T: Type, U: Type, I: Image<T, Rgb>> Convert<T, Rgb, U, Rgba> for I
[src]
impl<T: Type, U: Type, I: Image<T, Rgb>> Convert<T, Rgb, U, Rgba> for I
impl<T: Type, U: Type, I: Image<T, Rgba>> Convert<T, Rgba, U, Rgb> for I
[src]
impl<T: Type, U: Type, I: Image<T, Rgba>> Convert<T, Rgba, U, Rgb> for I
impl<T: Type, U: Type, I: Image<T, Rgb>> Convert<T, Rgb, U, Gray> for I
[src]
impl<T: Type, U: Type, I: Image<T, Rgb>> Convert<T, Rgb, U, Gray> for I
impl<T: Type, U: Type, I: Image<T, Gray>> Convert<T, Gray, U, Rgb> for I
[src]
impl<T: Type, U: Type, I: Image<T, Gray>> Convert<T, Gray, U, Rgb> for I
impl Debug for Rgb
[src]
impl Debug for Rgb
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Rgb
[src]
impl Clone for Rgb
fn clone(&self) -> Rgb
[src]
fn clone(&self) -> Rgb
Returns a copy of the value. Read more
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 Copy for Rgb
[src]
impl Copy for Rgb
impl PartialEq for Rgb
[src]
impl PartialEq for Rgb
fn eq(&self, other: &Rgb) -> bool
[src]
fn eq(&self, other: &Rgb) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Color for Rgb
[src]
impl Color for Rgb
impl<'a, T: Type> Pixel<'a, T, Rgb> for PixelVec<T>
[src]
impl<'a, T: Type> Pixel<'a, T, Rgb> for PixelVec<T>
fn to_float(&self) -> Vec<f64>
[src]
fn to_float(&self) -> Vec<f64>
fn to_pixel_vec(&self) -> PixelVec<T>
[src]
fn to_pixel_vec(&self) -> PixelVec<T>
fn is_true(&self) -> bool
[src]
fn is_true(&self) -> bool
fn is_false(&self) -> bool
[src]
fn is_false(&self) -> bool
fn map<F: FnMut(&T) -> T>(&self, f: F) -> PixelVec<T>
[src]
fn map<F: FnMut(&T) -> T>(&self, f: F) -> PixelVec<T>
impl<'a, T: Type> PixelMut<'a, T, Rgb> for PixelVec<T>
[src]
impl<'a, T: Type> PixelMut<'a, T, Rgb> for PixelVec<T>