[−][src]Struct tincture::Oklab
A color from the Oklab color space.
Fields
l: f32
Lightness. 0 is complete black, 1 is the brightest white.
a: f32
Green vs red. -1 is green, 1 is red.
b: f32
Blue vs yellow. -1 is blue, 1 is yellow.
Trait Implementations
impl Clone for Oklab
[src]
impl ColorSpace for Oklab
[src]
impl Copy for Oklab
[src]
impl CoreColorSpace for Oklab
[src]
impl Debug for Oklab
[src]
impl From<Oklab> for Oklch
[src]
impl From<Oklch> for Oklab
[src]
impl PartialEq<Oklab> for Oklab
[src]
impl PartialOrd<Oklab> for Oklab
[src]
pub fn partial_cmp(&self, other: &Oklab) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Oklab) -> bool
[src]
pub fn le(&self, other: &Oklab) -> bool
[src]
pub fn gt(&self, other: &Oklab) -> bool
[src]
pub fn ge(&self, other: &Oklab) -> bool
[src]
impl StructuralPartialEq for Oklab
[src]
Auto Trait Implementations
impl RefUnwindSafe for Oklab
[src]
impl Send for Oklab
[src]
impl Sync for Oklab
[src]
impl Unpin for Oklab
[src]
impl UnwindSafe for Oklab
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,