pub struct ConvolveMatrix {
pub input: Input,
pub matrix: ConvolveMatrixData,
pub divisor: NonZeroF32,
pub bias: f32,
pub edge_mode: EdgeMode,
pub preserve_alpha: bool,
}
Expand description
A matrix convolution filter primitive.
feConvolveMatrix
element in the SVG.
Fields§
§input: Input
Identifies input for the given filter primitive.
in
in the SVG.
matrix: ConvolveMatrixData
A convolve matrix.
divisor: NonZeroF32
A matrix divisor.
divisor
in the SVG.
bias: f32
A kernel matrix bias.
bias
in the SVG.
edge_mode: EdgeMode
An edges processing mode.
edgeMode
in the SVG.
preserve_alpha: bool
An 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 moreAuto 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