Struct usvg_tree::filter::Morphology
source · pub struct Morphology {
pub input: Input,
pub operator: MorphologyOperator,
pub radius_x: PositiveF32,
pub radius_y: PositiveF32,
}
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: PositiveF32
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: PositiveF32
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§
source§impl Clone for Morphology
impl Clone for Morphology
source§fn clone(&self) -> Morphology
fn clone(&self) -> Morphology
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 Morphology
impl Send for Morphology
impl Sync for Morphology
impl Unpin for Morphology
impl UnwindSafe for Morphology
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