pub struct GradientLinearColor { /* private fields */ }Expand description
Simple 2-color linear gradient color function.
Interpolates between two colors based on index/size ratio.
Port of C++ gradient_linear_color<ColorT>.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GradientLinearColor
impl RefUnwindSafe for GradientLinearColor
impl Send for GradientLinearColor
impl Sync for GradientLinearColor
impl Unpin for GradientLinearColor
impl UnwindSafe for GradientLinearColor
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