Struct dssim::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: f32
a: f32
b: f32
Trait Implementations
impl Debug for LAB
[src]
impl Copy for LAB
[src]
impl Clone for LAB
[src]
fn clone(&self) -> LAB
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Mul<LAB> for LAB
[src]
type Output = LAB
The resulting type after applying the *
operator.
fn mul(self, other: LAB) -> Self::Output
[src]
Performs the *
operation.
impl Mul<f32> for LAB
[src]
type Output = LAB
The resulting type after applying the *
operator.
fn mul(self, other: f32) -> Self::Output
[src]
Performs the *
operation.
impl Add<LAB> for LAB
[src]
type Output = LAB
The resulting type after applying the +
operator.
fn add(self, other: Self::Output) -> Self::Output
[src]
Performs the +
operation.
impl Add<f32> for LAB
[src]
type Output = LAB
The resulting type after applying the +
operator.
fn add(self, other: f32) -> Self::Output
[src]
Performs the +
operation.
impl Sub<LAB> for LAB
[src]
type Output = LAB
The resulting type after applying the -
operator.
fn sub(self, other: LAB) -> Self::Output
[src]
Performs the -
operation.