[][src]Trait deltae::Validate

pub trait Validate where
    Self: Sized
{ fn validate(self) -> Result<Self, ValueError>; }

Trait to validate whether a type has appropriate values

Required methods

fn validate(self) -> Result<Self, ValueError>

Return Err() if the values are invalid

Loading content...

Implementors

impl Validate for LabValue[src]

impl Validate for LchValue[src]

impl Validate for XyzValue[src]

Loading content...