Struct color::YCbCr[][src]

pub struct YCbCr<T> {
    pub y: T,
    pub cb: T,
    pub cr: T,
}

Fields

y: Tcb: Tcr: T

Implementations

impl<T> YCbCr<T>[src]

pub fn new(y: T, cb: T, cr: T) -> YCbCr<T>[src]

Trait Implementations

impl<T: Clone> Clone for YCbCr<T>[src]

impl<T: Debug> Debug for YCbCr<T>[src]

impl<'de, T> Deserialize<'de> for YCbCr<T> where
    T: Deserialize<'de>, 
[src]

impl<T: PartialEq> PartialEq<YCbCr<T>> for YCbCr<T>[src]

impl<T> Serialize for YCbCr<T> where
    T: Serialize
[src]

impl<T: Copy> Copy for YCbCr<T>[src]

impl<T: Eq> Eq for YCbCr<T>[src]

impl<T> StructuralEq for YCbCr<T>[src]

impl<T> StructuralPartialEq for YCbCr<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for YCbCr<T> where
    T: RefUnwindSafe

impl<T> Send for YCbCr<T> where
    T: Send

impl<T> Sync for YCbCr<T> where
    T: Sync

impl<T> Unpin for YCbCr<T> where
    T: Unpin

impl<T> UnwindSafe for YCbCr<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]