Struct swf::ConvolutionFilter
source · [−]pub struct ConvolutionFilter {
pub num_matrix_rows: u8,
pub num_matrix_cols: u8,
pub matrix: Vec<Fixed16>,
pub divisor: Fixed16,
pub bias: Fixed16,
pub default_color: Color,
pub is_clamped: bool,
pub is_preserve_alpha: bool,
}
Fields
num_matrix_rows: u8
num_matrix_cols: u8
matrix: Vec<Fixed16>
divisor: Fixed16
bias: Fixed16
default_color: Color
is_clamped: bool
is_preserve_alpha: bool
Trait Implementations
sourceimpl Clone for ConvolutionFilter
impl Clone for ConvolutionFilter
sourcefn clone(&self) -> ConvolutionFilter
fn clone(&self) -> ConvolutionFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConvolutionFilter
impl Debug for ConvolutionFilter
sourceimpl PartialEq<ConvolutionFilter> for ConvolutionFilter
impl PartialEq<ConvolutionFilter> for ConvolutionFilter
sourcefn eq(&self, other: &ConvolutionFilter) -> bool
fn eq(&self, other: &ConvolutionFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConvolutionFilter) -> bool
fn ne(&self, other: &ConvolutionFilter) -> bool
This method tests for !=
.
impl Eq for ConvolutionFilter
impl StructuralEq for ConvolutionFilter
impl StructuralPartialEq for ConvolutionFilter
Auto Trait Implementations
impl RefUnwindSafe for ConvolutionFilter
impl Send for ConvolutionFilter
impl Sync for ConvolutionFilter
impl Unpin for ConvolutionFilter
impl UnwindSafe for ConvolutionFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more