[][src]Struct imagepipe::colorspaces::OpToLab

pub struct OpToLab {
    pub cam_to_xyz: [[f32; 4]; 3],
    pub cam_to_xyz_normalized: [[f32; 4]; 3],
    pub xyz_to_cam: [[f32; 3]; 4],
    pub wb_coeffs: [f32; 4],
}

Fields

cam_to_xyz: [[f32; 4]; 3]cam_to_xyz_normalized: [[f32; 4]; 3]xyz_to_cam: [[f32; 3]; 4]wb_coeffs: [f32; 4]

Implementations

impl OpToLab[src]

pub fn new(img: &RawImage) -> OpToLab[src]

pub fn set_temp(&mut self, temp: u32, tint: u32)[src]

pub fn get_temp(&self) -> (u32, u32)[src]

Trait Implementations

impl Clone for OpToLab[src]

impl Copy for OpToLab[src]

impl Debug for OpToLab[src]

impl<'de> Deserialize<'de> for OpToLab[src]

impl<'a> ImageOp<'a> for OpToLab[src]

impl Serialize for OpToLab[src]

Auto Trait Implementations

impl RefUnwindSafe for OpToLab

impl Send for OpToLab

impl Sync for OpToLab

impl Unpin for OpToLab

impl UnwindSafe for OpToLab

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.