FeDisplacementMap

Struct FeDisplacementMap 

Source
pub struct FeDisplacementMap<'p> { /* private fields */ }
Expand description

<feDisplacementMap>: Filter Effect: Displacement Map SVG element

Implementations§

Source§

impl<'p> FeDisplacementMap<'p>

<feDisplacementMap> items

Source

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

Add in attribute

Source

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

Add in2 attribute

Source

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

Add scale attribute

Source

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

Add xChannelSelector attribute

Source

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

Add yChannelSelector 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 animate(&mut self) -> Animate<'_>

Add Animate child element

Source

pub fn set(&mut self) -> Set<'_>

Add Set child element

Source

pub fn close(&'p mut self) -> &'p mut Page

Close the element

Adds the closing tag if necessary (e.g. </feDisplacementMap>).

Source§

impl<'p> FeDisplacementMap<'p>

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

Auto Trait Implementations§

§

impl<'p> Freeze for FeDisplacementMap<'p>

§

impl<'p> RefUnwindSafe for FeDisplacementMap<'p>

§

impl<'p> Send for FeDisplacementMap<'p>

§

impl<'p> Sync for FeDisplacementMap<'p>

§

impl<'p> Unpin for FeDisplacementMap<'p>

§

impl<'p> !UnwindSafe for FeDisplacementMap<'p>

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.