[][src]Struct usvg::FilterPrimitive

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.

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

impl Clone for FilterPrimitive[src]

impl Debug for FilterPrimitive[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,