Struct aurum_color::LumAlpha [] [src]

pub struct LumAlpha<T>(pub T, pub T);

Luminance-alpha color structure.

Methods

impl<T> LumAlpha<T>
[src]

Trait Implementations

impl<T: Clamp> Transparent for LumAlpha<T>
[src]

impl<T: Clamp> Black for LumAlpha<T>
[src]

impl<T: Clamp> White for LumAlpha<T>
[src]

impl<F, T: Clamp + ClampFrom<F>> FromColor<Lum<F>> for LumAlpha<T>
[src]

impl<F, T: Clamp + ClampFrom<F>> FromColor<Option<Lum<F>>> for LumAlpha<T>
[src]

impl<F, T: ClampFrom<F>> FromColor<LumAlpha<F>> for LumAlpha<T>
[src]

impl<F, T: Clamp + ClampFrom<f64>> FromColor<Rgb<F>> for LumAlpha<T> where
    f64: ClampFrom<F>, 
[src]

impl<F, T: Clamp + ClampFrom<f64>> FromColor<Option<Rgb<F>>> for LumAlpha<T> where
    f64: ClampFrom<F>, 
[src]

impl<F, T: ClampFrom<f64> + ClampFrom<F>> FromColor<Rgba<F>> for LumAlpha<T> where
    f64: ClampFrom<F>, 
[src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

Formats the value using the given formatter.

impl<T: Default> Default for LumAlpha<T>
[src]

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

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

impl<T: Hash> Hash for LumAlpha<T>
[src]

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

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

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

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

This method tests for !=.

impl<F, T: ClampFrom<F>> ClampFrom<LumAlpha<F>> for LumAlpha<T>
[src]

impl<T: Clamp> From<Lum<T>> for LumAlpha<T>
[src]

Performs the conversion.

impl<T: Clamp> From<Option<Lum<T>>> for LumAlpha<T>
[src]

Performs the conversion.

impl<S: Lerp<T>, T: Copy> Lerp<T> for LumAlpha<S>
[src]

impl<T: Clamp + Sub<Output = T>> Invert for LumAlpha<T>
[src]