Struct color::YCbCr [−][src]
pub struct YCbCr<T> { pub y: T, pub cb: T, pub cr: T, }
Fields
y: T
cb: T
cr: T
Implementations
Trait Implementations
impl<'de, T> Deserialize<'de> for YCbCr<T> where
T: Deserialize<'de>,
[src]
impl<'de, T> Deserialize<'de> for YCbCr<T> where
T: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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,
T: RefUnwindSafe,
impl<T> Send for YCbCr<T> where
T: Send,
T: Send,
impl<T> Sync for YCbCr<T> where
T: Sync,
T: Sync,
impl<T> Unpin for YCbCr<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for YCbCr<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,