pub struct ColorRgbLinearInterpolator;Expand description
Interpolates Color values in linear-light RGB
(ColorInterpolator::lerp_rgb_linear).
Implementations§
Source§impl ColorRgbLinearInterpolator
impl ColorRgbLinearInterpolator
Sourcepub fn instance() -> &'static ColorRgbLinearInterpolator
pub fn instance() -> &'static ColorRgbLinearInterpolator
The shared instance.
Trait Implementations§
Source§impl Clone for ColorRgbLinearInterpolator
impl Clone for ColorRgbLinearInterpolator
impl Copy for ColorRgbLinearInterpolator
Source§impl Debug for ColorRgbLinearInterpolator
impl Debug for ColorRgbLinearInterpolator
Source§impl Default for ColorRgbLinearInterpolator
impl Default for ColorRgbLinearInterpolator
Auto Trait Implementations§
impl Freeze for ColorRgbLinearInterpolator
impl RefUnwindSafe for ColorRgbLinearInterpolator
impl Send for ColorRgbLinearInterpolator
impl Sync for ColorRgbLinearInterpolator
impl Unpin for ColorRgbLinearInterpolator
impl UnsafeUnpin for ColorRgbLinearInterpolator
impl UnwindSafe for ColorRgbLinearInterpolator
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