pub struct ColorGradient { /* private fields */ }Expand description
A color gradient over normalized lifetime [0,1].
Implementations§
Trait Implementations§
Source§impl Clone for ColorGradient
impl Clone for ColorGradient
Source§fn clone(&self) -> ColorGradient
fn clone(&self) -> ColorGradient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ColorGradient
impl RefUnwindSafe for ColorGradient
impl Send for ColorGradient
impl Sync for ColorGradient
impl Unpin for ColorGradient
impl UnsafeUnpin for ColorGradient
impl UnwindSafe for ColorGradient
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