Struct usvg_tree::filter::ConvolveMatrix
source · 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 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