Enum usvg::filter::ColorInterpolation
source · pub enum ColorInterpolation {
SRGB,
LinearRGB,
}
Expand description
A color interpolation mode.
Variants§
Trait Implementations§
source§impl Clone for ColorInterpolation
impl Clone for ColorInterpolation
source§fn clone(&self) -> ColorInterpolation
fn clone(&self) -> ColorInterpolation
Returns a copy 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§impl PartialEq for ColorInterpolation
impl PartialEq for ColorInterpolation
source§fn eq(&self, other: &ColorInterpolation) -> bool
fn eq(&self, other: &ColorInterpolation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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