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: u32Returns a matrix’s X target.
targetX in the SVG.
target_y: u32Returns a matrix’s Y target.
targetY in the SVG.
columns: u32Returns a number of columns in the matrix.
Part of the order attribute in the SVG.
rows: u32Returns 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 duplicate 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 ConvolveMatrixData
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