Struct usvg::Filter [−][src]
pub struct Filter { pub id: String, pub units: Units, pub primitive_units: Units, pub rect: Rect, pub children: Vec<FilterPrimitive>, }
Expand description
A filter element.
filter
element in the SVG.
Fields
id: String
Element’s ID.
Taken from the SVG itself. Can’t be empty.
units: Units
Region coordinate system units.
filterUnits
in the SVG.
primitive_units: Units
Content coordinate system units.
primitiveUnits
in the SVG.
rect: Rect
Filter region.
x
, y
, width
and height
in the SVG.
children: Vec<FilterPrimitive>
A list of filter primitives.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Filter
impl !UnwindSafe for Filter
Blanket Implementations
Mutably borrows from an owned value. Read more