Enum usvg::filter::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 more
sourceimpl Debug for ColorInterpolation
impl Debug for ColorInterpolation
sourceimpl Default for ColorInterpolation
impl Default 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.