[−][src]Struct colors_transform::Hsla
Trait Implementations
impl Color for Hsla[src]
type Tuple = ColorTupleA
fn new() -> Hsla[src]
fn get_hue(&self) -> f32[src]
fn get_saturation(&self) -> f32[src]
fn get_lightness(&self) -> f32[src]
fn set_hue(&self, val: f32) -> Hsla[src]
fn set_saturation(&self, val: f32) -> Hsla[src]
fn set_lightness(&self, val: f32) -> Hsla[src]
fn get_red(&self) -> f32[src]
fn get_green(&self) -> f32[src]
fn get_blue(&self) -> f32[src]
fn set_red(&self, val: f32) -> Hsla[src]
fn set_green(&self, val: f32) -> Hsla[src]
fn set_blue(&self, val: f32) -> Hsla[src]
fn to_rgb(&self) -> Rgb[src]
fn to_rgba(&self) -> Rgba[src]
fn to_hsl(&self) -> Hsl[src]
fn to_hsla(&self) -> Hsla[src]
fn to_css_string(&self) -> String[src]
fn from_tuple(t: ColorTupleA) -> Hsla[src]
fn as_tuple(&self) -> ColorTupleA[src]
fn lighten(&self, amt: f32) -> Hsla[src]
fn saturate(&self, amt: f32) -> Hsla[src]
fn adjust_hue(&self, amt: f32) -> Hsla[src]
fn adjust_color(&self, name: RgbColor, val: f32) -> Hsla[src]
impl AlphaColor for Hsla[src]
fn get_alpha(&self) -> f32[src]
fn set_alpha(&self, a: f32) -> Hsla[src]
fn opacify(&self, a: f32) -> Hsla[src]
impl Copy for Hsla[src]
impl PartialEq<Hsla> for Hsla[src]
impl Clone for Hsla[src]
fn clone(&self) -> Hsla[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Hsla[src]
impl FromStr for Hsla[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Hsla, ParseError>[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,