Skip to main content

FeDiffuseLighting

Struct FeDiffuseLighting 

Source
pub struct FeDiffuseLighting<'t> { /* private fields */ }
Expand description

<feDiffuseLighting>: Filter Effect: Diffuse Lighting SVG element

Implementations§

Source§

impl<'t> FeDiffuseLighting<'t>

<feDiffuseLighting> items

Source

pub fn in<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add in attribute

Source

pub fn surface_scale<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add surfaceScale attribute

Source

pub fn diffuse_constant<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add diffuseConstant attribute

Source

pub fn kernel_unit_length<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add kernelUnitLength attribute

Source

pub fn x<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add x attribute

Source

pub fn y<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add y attribute

Source

pub fn width<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add width attribute

Source

pub fn height<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add height attribute

Source

pub fn result<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add result attribute

Source

pub fn fe_distant_light(&mut self) -> FeDistantLight<'_>

Add FeDistantLight child element

Source

pub fn fe_point_light(&mut self) -> FePointLight<'_>

Add FePointLight child element

Source

pub fn fe_spot_light(&mut self) -> FeSpotLight<'_>

Add FeSpotLight child element

Source

pub fn desc(&mut self) -> Desc<'_>

Add Desc child element

Source

pub fn metadata(&mut self) -> Metadata<'_>

Add Metadata child element

Source

pub fn title(&mut self) -> Title<'_>

Add Title child element

Source

pub fn comment<'v, V>(&mut self, com: V) -> &mut Self
where V: Into<Value<'v>>,

Add a comment

These characters will be replaced with entities:

  • -&hyphen;
  • <&lt;
  • >&gt;
Source

pub fn raw(&mut self, trusted: impl AsRef<str>) -> &mut Self

Add raw content

WARNING: trusted is used verbatim, with no escaping; do not call with untrusted content.

Source

pub fn close(&'t mut self) -> &'t mut Tree

Close the element

  • Closes all child elements
  • Adds the closing tag if necessary (e.g. </feDiffuseLighting>)
Source§

impl<'t> FeDiffuseLighting<'t>

Global SVG attributes

Source

pub fn id<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add id attribute

Source

pub fn class<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add class attribute

Source

pub fn style<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add style attribute

Source

pub fn autofocus(&mut self) -> &mut Self

Add autofocus Boolean attribute

Source

pub fn lang<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add lang attribute

Source

pub fn tabindex<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add tabindex attribute

Source

pub fn transform<'a, V>(&mut self, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add transform attribute

Source

pub fn data_<'a, V>(&mut self, name: &str, val: V) -> &mut Self
where V: Into<Value<'a>>,

Add data-* attribute

name should contain only lower-case letters and hyphens.

Auto Trait Implementations§

§

impl<'t> !UnwindSafe for FeDiffuseLighting<'t>

§

impl<'t> Freeze for FeDiffuseLighting<'t>

§

impl<'t> RefUnwindSafe for FeDiffuseLighting<'t>

§

impl<'t> Send for FeDiffuseLighting<'t>

§

impl<'t> Sync for FeDiffuseLighting<'t>

§

impl<'t> Unpin for FeDiffuseLighting<'t>

§

impl<'t> UnsafeUnpin for FeDiffuseLighting<'t>

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.