Struct kolor_64::details::conversion::LinearColorConversion[][src]

pub struct LinearColorConversion { /* fields omitted */ }

A transformation from one linear color coordinate system to another.

Implementations

impl LinearColorConversion[src]

pub fn input_space(&self) -> ColorSpace[src]

pub fn output_space(&self) -> ColorSpace[src]

pub fn apply(&self, color: &mut Vec3)[src]

pub fn matrix(&self) -> Mat3[src]

pub fn new(src: ColorSpace, dst: ColorSpace) -> Self[src]

Trait Implementations

impl Clone for LinearColorConversion[src]

impl Copy for LinearColorConversion[src]

impl Debug for LinearColorConversion[src]

impl PartialEq<LinearColorConversion> for LinearColorConversion[src]

impl StructuralPartialEq for LinearColorConversion[src]

Auto Trait Implementations

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> 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.