[][src]Struct color::Srgb

pub struct Srgb<T> {
    pub r: T,
    pub g: T,
    pub b: T,
}

Fields

Methods

impl<T> Srgb<T>
[src]

Trait Implementations

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

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

Performs copy-assignment from source. Read more

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

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

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

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

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

Auto Trait Implementations

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

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

Blanket Implementations

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

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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