Struct usvg::filter::Morphology
source · [−]pub struct Morphology {
pub input: Input,
pub operator: MorphologyOperator,
pub radius_x: PositiveNumber,
pub radius_y: PositiveNumber,
}
Expand description
A morphology filter primitive.
feMorphology
element in the SVG.
Fields
input: Input
Identifies input for the given filter primitive.
in
in the SVG.
operator: MorphologyOperator
A filter operator.
operator
in the SVG.
radius_x: PositiveNumber
A filter radius along the X-axis.
A value of zero disables the effect of the given filter primitive.
radius
in the SVG.
radius_y: PositiveNumber
A filter radius along the Y-axis.
A value of zero disables the effect of the given filter primitive.
radius
in the SVG.
Trait Implementations
sourceimpl Clone for Morphology
impl Clone for Morphology
sourcefn clone(&self) -> Morphology
fn clone(&self) -> Morphology
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
Auto Trait Implementations
impl RefUnwindSafe for Morphology
impl Send for Morphology
impl Sync for Morphology
impl Unpin for Morphology
impl UnwindSafe for Morphology
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