Struct usvg::FilterPrimitive
source · pub struct FilterPrimitive {
pub x: Option<f64>,
pub y: Option<f64>,
pub width: Option<f64>,
pub height: Option<f64>,
pub color_interpolation: ColorInterpolation,
pub result: String,
pub kind: FilterKind,
}
Expand description
A filter primitive element.
Fields
x: Option<f64>
x
coordinate of the filter subregion.
y: Option<f64>
y
coordinate of the filter subregion.
width: Option<f64>
The filter subregion width.
height: Option<f64>
The filter subregion height.
color_interpolation: ColorInterpolation
Color interpolation mode.
color-interpolation-filters
in the SVG.
result: String
Assigned name for this filter primitive.
result
in the SVG.
kind: FilterKind
Filter primitive kind.
Trait Implementations
sourceimpl Clone for FilterPrimitive
impl Clone for FilterPrimitive
sourcefn clone(&self) -> FilterPrimitive
fn clone(&self) -> FilterPrimitive
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 moreAuto Trait Implementations
impl RefUnwindSafe for FilterPrimitive
impl Send for FilterPrimitive
impl Sync for FilterPrimitive
impl Unpin for FilterPrimitive
impl UnwindSafe for FilterPrimitive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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