Struct rin::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]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<YCbCr<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<YCbCr<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<T> Serialize for YCbCr<T> where
T: Serialize,
[src]
impl<T> Serialize for YCbCr<T> where
T: Serialize,
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<T> Copy for YCbCr<T> where
T: Copy,
[src]
T: Copy,
impl<T> Eq for YCbCr<T> where
T: Eq,
[src]
T: Eq,
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<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,