Expand description
Fields
l: f32
Lightness
a: f32
Green - Magenta
b: f32
Blue - Yellow
Implementations
Trait Implementations
sourceimpl FromStr for LabValue
impl FromStr for LabValue
type Err = ValueError
type Err = ValueError
The associated error which can be returned from parsing.
sourceimpl TryFrom<&[f32; 3]> for LabValue
impl TryFrom<&[f32; 3]> for LabValue
type Error = ValueError
type Error = ValueError
The type returned in the event of a conversion error.
sourceimpl TryFrom<&(f32, f32, f32)> for LabValue
impl TryFrom<&(f32, f32, f32)> for LabValue
type Error = ValueError
type Error = ValueError
The type returned in the event of a conversion error.
sourceimpl TryFrom<(f32, f32, f32)> for LabValue
impl TryFrom<(f32, f32, f32)> for LabValue
type Error = ValueError
type Error = ValueError
The type returned in the event of a conversion error.
sourceimpl Validate for LabValue
impl Validate for LabValue
sourcefn validate(self) -> Result<LabValue, ValueError>
fn validate(self) -> Result<LabValue, ValueError>
Return
Err()
if the values are invalidimpl Copy for LabValue
impl StructuralPartialEq for LabValue
Auto Trait Implementations
impl RefUnwindSafe for LabValue
impl Send for LabValue
impl Sync for LabValue
impl Unpin for LabValue
impl UnwindSafe for LabValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more