Struct yunter::Lab [] [src]

pub struct Lab<T: Float = f32> {
    pub l: T,
    pub a: T,
    pub b: T,
}

Fields

Methods

impl<T: Float> Lab<T>
[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<T: Float> From<Lab<T>> for Xyz<T>
[src]

[src]

Performs the conversion.

impl<T: Debug + Float> Debug for Lab<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Copy + Float> Copy for Lab<T>
[src]

impl<T: Clone + Float> Clone for Lab<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: PartialOrd + Float> PartialOrd for Lab<T>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: PartialEq + Float> PartialEq for Lab<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Hash + Float> Hash for Lab<T>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Default + Float> Default for Lab<T>
[src]

[src]

Returns the "default value" for a type. Read more

impl<T: Float> From<Rgb> for Lab<T>
[src]

[src]

Performs the conversion.

impl<T: Float> From<Xyz<T>> for Lab<T>
[src]

[src]

Performs the conversion.

impl<T: Float> From<Lab<T>> for Rgb
[src]

[src]

Performs the conversion.

Auto Trait Implementations

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

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