Struct color::Xyz [−][src]
pub struct Xyz<T = f32, Wp = D65> where
T: Channel + Float, { pub x: T, pub y: T, pub z: T, pub white_point: Wp, }
Fields
x: T
y: T
z: T
white_point: Wp
Implementations
impl<T: Channel + Float, Wp: WhitePoint> Xyz<T, Wp>
[src]
impl<T: Channel + Float, Wp: WhitePoint> Xyz<T, Wp>
[src]Trait Implementations
impl<T: Channel + Float + NumCast, Wp: WhitePoint> ToLab for Xyz<T, Wp>
[src]
impl<T: Channel + Float + NumCast, Wp: WhitePoint> ToLab for Xyz<T, Wp>
[src]type WhitePoint = Wp
fn to_lab<U: Channel>(&self) -> Lab<U, Wp>
[src]
impl<T: Copy, Wp: Copy> Copy for Xyz<T, Wp> where
T: Channel + Float,
[src]
T: Channel + Float,
Auto Trait Implementations
impl<T, Wp> RefUnwindSafe for Xyz<T, Wp> where
T: RefUnwindSafe,
Wp: RefUnwindSafe,
T: RefUnwindSafe,
Wp: RefUnwindSafe,
impl<T, Wp> Send for Xyz<T, Wp> where
T: Send,
Wp: Send,
T: Send,
Wp: Send,
impl<T, Wp> Sync for Xyz<T, Wp> where
T: Sync,
Wp: Sync,
T: Sync,
Wp: Sync,
impl<T, Wp> Unpin for Xyz<T, Wp> where
T: Unpin,
Wp: Unpin,
T: Unpin,
Wp: Unpin,
impl<T, Wp> UnwindSafe for Xyz<T, Wp> where
T: UnwindSafe,
Wp: UnwindSafe,
T: UnwindSafe,
Wp: UnwindSafe,
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,