Struct usvg::FilterPrimitive[][src]

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,

A filter primitive element.


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

impl Clone for FilterPrimitive[src]

impl Debug for FilterPrimitive[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.