pub struct ConvolveMatrix { /* private fields */ }
Expand description
A matrix convolution filter primitive.
feConvolveMatrix
element in the SVG.
Implementations§
source§impl ConvolveMatrix
impl ConvolveMatrix
sourcepub fn matrix(&self) -> &ConvolveMatrixData
pub fn matrix(&self) -> &ConvolveMatrixData
A convolve matrix.
sourcepub fn divisor(&self) -> NonZeroF32
pub fn divisor(&self) -> NonZeroF32
A matrix divisor.
divisor
in the SVG.
sourcepub fn preserve_alpha(&self) -> bool
pub fn preserve_alpha(&self) -> 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)