pub struct ColorHSL {
pub hue: f32,
pub saturation: f32,
pub lightness: f32,
}Expand description
HSL 颜色类型
Fields§
§hue: f32§saturation: f32§lightness: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorHSL
impl RefUnwindSafe for ColorHSL
impl Send for ColorHSL
impl Sync for ColorHSL
impl Unpin for ColorHSL
impl UnsafeUnpin for ColorHSL
impl UnwindSafe for ColorHSL
Blanket Implementations§
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