Struct usvgr::filter::ConvolveMatrix
source · pub struct ConvolveMatrix {
pub input: Input,
pub matrix: ConvolveMatrixData,
pub divisor: NonZeroF64,
pub bias: f64,
pub edge_mode: EdgeMode,
pub preserve_alpha: bool,
}Expand description
A matrix convolution filter primitive.
feConvolveMatrix element in the SVG.
Fields§
§input: InputIdentifies input for the given filter primitive.
in in the SVG.
matrix: ConvolveMatrixDataA convolve matrix.
divisor: NonZeroF64A matrix divisor.
divisor in the SVG.
bias: f64A kernel matrix bias.
bias in the SVG.
edge_mode: EdgeModeAn edges processing mode.
edgeMode in the SVG.
preserve_alpha: boolAn alpha preserving flag.
preserveAlpha in the SVG.
Trait Implementations§
source§impl Clone for ConvolveMatrix
impl Clone for ConvolveMatrix
source§fn clone(&self) -> ConvolveMatrix
fn clone(&self) -> ConvolveMatrix
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 ConvolveMatrix
impl Debug for ConvolveMatrix
Auto Trait Implementations§
impl Freeze for ConvolveMatrix
impl RefUnwindSafe for ConvolveMatrix
impl Send for ConvolveMatrix
impl Sync for ConvolveMatrix
impl Unpin for ConvolveMatrix
impl UnwindSafe for ConvolveMatrix
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