Expand description
The color described by HSL color space
Tuple Fields
0: f64
1: f64
2: f64
Trait Implementations
sourceimpl Color for HSLColor
impl Color for HSLColor
sourcefn to_backend_color(&self) -> BackendColor
fn to_backend_color(&self) -> BackendColor
Normalize this color representation to the backend color
sourcefn to_rgba(&self) -> RGBAColor
fn to_rgba(&self) -> RGBAColor
Convert the color into the RGBA color which is internally used by Plotters
sourcefn filled(&self) -> ShapeStyle
fn filled(&self) -> ShapeStyle
Make a filled style form the color
sourcefn stroke_width(&self, width: u32) -> ShapeStyle
fn stroke_width(&self, width: u32) -> ShapeStyle
Make a shape style with stroke width from a color
sourceimpl PartialEq<HSLColor> for HSLColor
impl PartialEq<HSLColor> for HSLColor
impl Copy for HSLColor
impl StructuralPartialEq for HSLColor
Auto Trait Implementations
impl RefUnwindSafe for HSLColor
impl Send for HSLColor
impl Sync for HSLColor
impl Unpin for HSLColor
impl UnwindSafe for HSLColor
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