Enum usvg::ColorInterpolation
source · pub enum ColorInterpolation {
SRGB,
LinearRGB,
}
Expand description
A color interpolation mode.
Variants
SRGB
LinearRGB
Trait Implementations
sourceimpl Clone for ColorInterpolation
impl Clone for ColorInterpolation
sourcefn clone(&self) -> ColorInterpolation
fn clone(&self) -> ColorInterpolation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ColorInterpolation
impl Debug for ColorInterpolation
sourceimpl PartialEq<ColorInterpolation> for ColorInterpolation
impl PartialEq<ColorInterpolation> for ColorInterpolation
sourcefn eq(&self, other: &ColorInterpolation) -> bool
fn eq(&self, other: &ColorInterpolation) -> bool
sourceimpl ToString for ColorInterpolation
impl ToString for ColorInterpolation
impl Copy for ColorInterpolation
impl StructuralPartialEq for ColorInterpolation
Auto Trait Implementations
impl RefUnwindSafe for ColorInterpolation
impl Send for ColorInterpolation
impl Sync for ColorInterpolation
impl Unpin for ColorInterpolation
impl UnwindSafe for ColorInterpolation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more