Enum usvg::filter::ColorMatrixKind
source · pub enum ColorMatrixKind {
Matrix(Vec<f32>),
Saturate(PositiveF32),
HueRotate(f32),
LuminanceToAlpha,
}
Expand description
A color matrix filter primitive kind.
Variants§
Trait Implementations§
source§impl Clone for ColorMatrixKind
impl Clone for ColorMatrixKind
source§fn clone(&self) -> ColorMatrixKind
fn clone(&self) -> ColorMatrixKind
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 ColorMatrixKind
impl Debug for ColorMatrixKind
Auto Trait Implementations§
impl Freeze for ColorMatrixKind
impl RefUnwindSafe for ColorMatrixKind
impl Send for ColorMatrixKind
impl Sync for ColorMatrixKind
impl Unpin for ColorMatrixKind
impl UnwindSafe for ColorMatrixKind
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