pub struct ColorHslInterpolator;Expand description
Interpolates Color values in the HSL colour space
(ColorInterpolator::lerp_hsl).
Implementations§
Source§impl ColorHslInterpolator
impl ColorHslInterpolator
Sourcepub fn instance() -> &'static ColorHslInterpolator
pub fn instance() -> &'static ColorHslInterpolator
The shared instance.
Trait Implementations§
Source§impl Clone for ColorHslInterpolator
impl Clone for ColorHslInterpolator
impl Copy for ColorHslInterpolator
Source§impl Debug for ColorHslInterpolator
impl Debug for ColorHslInterpolator
Source§impl Default for ColorHslInterpolator
impl Default for ColorHslInterpolator
Source§impl IInterpolator<Color> for ColorHslInterpolator
impl IInterpolator<Color> for ColorHslInterpolator
Auto Trait Implementations§
impl Freeze for ColorHslInterpolator
impl RefUnwindSafe for ColorHslInterpolator
impl Send for ColorHslInterpolator
impl Sync for ColorHslInterpolator
impl Unpin for ColorHslInterpolator
impl UnsafeUnpin for ColorHslInterpolator
impl UnwindSafe for ColorHslInterpolator
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more