Struct usvg_tree::filter::ConvolveMatrixData
source · pub struct ConvolveMatrixData {
pub target_x: u32,
pub target_y: u32,
pub columns: u32,
pub rows: u32,
pub data: Vec<f32>,
}
Expand description
A convolve matrix representation.
Used primarily by ConvolveMatrix
.
Fields§
§target_x: u32
Returns a matrix’s X target.
targetX
in the SVG.
target_y: u32
Returns a matrix’s Y target.
targetY
in the SVG.
columns: u32
Returns a number of columns in the matrix.
Part of the order
attribute in the SVG.
rows: u32
Returns a number of rows in the matrix.
Part of the order
attribute in the SVG.
data: Vec<f32>
The actual matrix.
Implementations§
Trait Implementations§
source§impl Clone for ConvolveMatrixData
impl Clone for ConvolveMatrixData
source§fn clone(&self) -> ConvolveMatrixData
fn clone(&self) -> ConvolveMatrixData
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 ConvolveMatrixData
impl Send for ConvolveMatrixData
impl Sync for ConvolveMatrixData
impl Unpin for ConvolveMatrixData
impl UnwindSafe for ConvolveMatrixData
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