[][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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FilterPrimitive[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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<T> Any for T where
    T: 'static + ?Sized
[src]