[][src]Struct colorspace::spd::W_X

pub struct W_X { /* fields omitted */ }

Methods from Deref<Target = SPD>

pub fn to_xyz(&self) -> XYZf32[src]

Convert this SPD to an XYZf32 assuming a D65 illuminant and CIE 1931 2-degree CMFs

This will use AVX if enabled

pub fn iter(&self) -> impl Iterator<Item = &f32>[src]

Trait Implementations

impl Deref for W_X[src]

type Target = SPD

The resulting type after dereferencing.

impl LazyStatic for W_X[src]

Auto Trait Implementations

impl RefUnwindSafe for W_X

impl Send for W_X

impl Sync for W_X

impl Unpin for W_X

impl UnwindSafe for W_X

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,