pub struct Primitive {
pub x: Option<f32>,
pub y: Option<f32>,
pub width: Option<f32>,
pub height: Option<f32>,
pub color_interpolation: ColorInterpolation,
pub result: String,
pub kind: Kind,
}Expand description
A filter primitive element.
Fields§
§x: Option<f32>x coordinate of the filter subregion.
y: Option<f32>y coordinate of the filter subregion.
width: Option<f32>The filter subregion width.
height: Option<f32>The filter subregion height.
color_interpolation: ColorInterpolationColor interpolation mode.
color-interpolation-filters in the SVG.
result: StringAssigned name for this filter primitive.
result in the SVG.
kind: KindFilter primitive kind.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Primitive
impl !Send for Primitive
impl !Sync for Primitive
impl Unpin for Primitive
impl !UnwindSafe for Primitive
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