[][src]Struct deltae::color::XyzValue

pub struct XyzValue {
    pub x: f64,
    pub y: f64,
    pub z: f64,
}

Fields

x: f64y: f64z: f64

Methods

impl XyzValue[src]

pub fn new(x: f64, y: f64, z: f64) -> ValueResult<XyzValue>[src]

New XyzValue from 3 f64s

pub fn to_lab(&self) -> LabValue[src]

pub fn round_to(&self, places: i32) -> XyzValue[src]

Trait Implementations

impl Default for XyzValue[src]

impl Clone for XyzValue[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<XyzValue> for XyzValue[src]

impl Debug for XyzValue[src]

impl Display for XyzValue[src]

impl FromStr for XyzValue[src]

type Err = ValueError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> ValueResult<XyzValue>[src]

New XyzValue from &str

Auto Trait Implementations

impl Send for XyzValue

impl Sync for XyzValue

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]