pub struct Rgbc<T> { /* private fields */ }
Expand description
Abstracts over grouping of red, green, blue and clear color channel data.
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Rgbc<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Rgbc<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T: Copy> Copy for Rgbc<T>
impl<T: Eq> Eq for Rgbc<T>
impl<T> StructuralPartialEq for Rgbc<T>
Auto Trait Implementations§
impl<T> Freeze for Rgbc<T>where
T: Freeze,
impl<T> RefUnwindSafe for Rgbc<T>where
T: RefUnwindSafe,
impl<T> Send for Rgbc<T>where
T: Send,
impl<T> Sync for Rgbc<T>where
T: Sync,
impl<T> Unpin for Rgbc<T>where
T: Unpin,
impl<T> UnwindSafe for Rgbc<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.