Struct dssim_core::LAB[][src]

pub struct LAB {
    pub l: f32,
    pub a: f32,
    pub b: f32,
}

L*a*b*b, but using float units (values are 100× smaller than in usual integer representation)

Fields

l: f32a: f32b: f32

Trait Implementations

impl Add<LAB> for LAB[src]

type Output = LAB

The resulting type after applying the + operator.

impl Add<f32> for LAB[src]

type Output = LAB

The resulting type after applying the + operator.

impl Clone for LAB[src]

impl Copy for LAB[src]

impl Debug for LAB[src]

impl Div<LAB> for LAB[src]

type Output = LAB

The resulting type after applying the / operator.

impl Mul<LAB> for LAB[src]

type Output = LAB

The resulting type after applying the * operator.

impl Mul<f32> for LAB[src]

type Output = LAB

The resulting type after applying the * operator.

impl Sub<LAB> for LAB[src]

type Output = LAB

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for LAB

impl Send for LAB

impl Sync for LAB

impl Unpin for LAB

impl UnwindSafe for LAB

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.