pub struct HSLColor(pub f64, pub f64, pub f64);
Expand description
The color described by HSL color space
Tuple Fields§
§0: f64
§1: f64
§2: f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HSLColor
impl RefUnwindSafe for HSLColor
impl Send for HSLColor
impl Sync for HSLColor
impl Unpin for HSLColor
impl UnwindSafe for HSLColor
Blanket Implementations§
Source§impl<T> BackendStyle for Twhere
T: Color,
impl<T> BackendStyle for Twhere
T: Color,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Color for Twhere
T: SimpleColor,
impl<T> Color for Twhere
T: SimpleColor,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more