Struct color::YCbCr [−][src]
pub struct YCbCr<T> { pub y: T, pub cb: T, pub cr: T, }
Fields
y: T
cb: T
cr: T
Methods
impl<T> YCbCr<T>
[src]
impl<T> YCbCr<T>
Trait Implementations
impl<T: Clone> Clone for YCbCr<T>
[src]
impl<T: Clone> Clone for YCbCr<T>
fn clone(&self) -> YCbCr<T>
[src]
fn clone(&self) -> YCbCr<T>
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<T: Copy> Copy for YCbCr<T>
[src]
impl<T: Copy> Copy for YCbCr<T>
impl<T: PartialEq> PartialEq for YCbCr<T>
[src]
impl<T: PartialEq> PartialEq for YCbCr<T>
fn eq(&self, other: &YCbCr<T>) -> bool
[src]
fn eq(&self, other: &YCbCr<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &YCbCr<T>) -> bool
[src]
fn ne(&self, other: &YCbCr<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for YCbCr<T>
[src]
impl<T: Eq> Eq for YCbCr<T>
impl<T: Debug> Debug for YCbCr<T>
[src]
impl<T: Debug> Debug for YCbCr<T>