pub enum ColorInterpolation {
SRGB,
LinearRGB,
}
Expand description
A color interpolation mode.
The default is ColorInterpolation::LinearRGB
.
Variants§
Trait Implementations§
Source§impl Clone for ColorInterpolation
impl Clone for ColorInterpolation
Source§fn clone(&self) -> ColorInterpolation
fn clone(&self) -> ColorInterpolation
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 moreSource§impl Debug for ColorInterpolation
impl Debug for ColorInterpolation
Source§impl Default for ColorInterpolation
impl Default for ColorInterpolation
Source§fn default() -> ColorInterpolation
fn default() -> ColorInterpolation
Returns the “default value” for a type. Read more
Source§impl<'a, 'input: 'a> FromValue<'a, 'input> for ColorInterpolation
impl<'a, 'input: 'a> FromValue<'a, 'input> for ColorInterpolation
Source§impl PartialEq for ColorInterpolation
impl PartialEq for ColorInterpolation
impl Copy for ColorInterpolation
impl StructuralPartialEq for ColorInterpolation
Auto Trait Implementations§
impl Freeze for ColorInterpolation
impl RefUnwindSafe for ColorInterpolation
impl Send for ColorInterpolation
impl Sync for ColorInterpolation
impl Unpin for ColorInterpolation
impl UnwindSafe for ColorInterpolation
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