Struct usvg::FeDiffuseLighting[][src]

pub struct FeDiffuseLighting {
    pub input: FilterInput,
    pub surface_scale: f64,
    pub diffuse_constant: f64,
    pub lighting_color: Color,
    pub light_source: FeLightSource,

A diffuse lighting filter primitive.

feDiffuseLighting element in the SVG.


input: FilterInput

Identifies input for the given filter primitive.

in in the SVG.

surface_scale: f64

A surface scale.

surfaceScale in the SVG.

diffuse_constant: f64

A diffuse constant.

diffuseConstant in the SVG.

lighting_color: Color

A lighting color.

lighting-color in the SVG.

light_source: FeLightSource

A light source.

Trait Implementations

impl Clone for FeDiffuseLighting[src]

impl Debug for FeDiffuseLighting[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.