[][src]Struct web_sys::SvgLinearGradientElement

#[repr(transparent)]pub struct SvgLinearGradientElement { /* fields omitted */ }

The SvgLinearGradientElement class.

MDN Documentation

This API requires the following crate features to be activated: SvgLinearGradientElement

Methods

impl SvgLinearGradientElement[src]

pub fn x1(&self) -> SvgAnimatedLength[src]

Getter for the x1 field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedLength, SvgLinearGradientElement

impl SvgLinearGradientElement[src]

pub fn y1(&self) -> SvgAnimatedLength[src]

Getter for the y1 field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedLength, SvgLinearGradientElement

impl SvgLinearGradientElement[src]

pub fn x2(&self) -> SvgAnimatedLength[src]

Getter for the x2 field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedLength, SvgLinearGradientElement

impl SvgLinearGradientElement[src]

pub fn y2(&self) -> SvgAnimatedLength[src]

Getter for the y2 field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedLength, SvgLinearGradientElement

Methods from Deref<Target = SvgGradientElement>

pub fn gradient_units(&self) -> SvgAnimatedEnumeration[src]

Getter for the gradientUnits field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedEnumeration, SvgGradientElement

pub fn gradient_transform(&self) -> SvgAnimatedTransformList[src]

Getter for the gradientTransform field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedTransformList, SvgGradientElement

pub fn spread_method(&self) -> SvgAnimatedEnumeration[src]

Getter for the spreadMethod field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedEnumeration, SvgGradientElement

pub fn href(&self) -> SvgAnimatedString[src]

Getter for the href field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedString, SvgGradientElement

Trait Implementations

impl AsRef<Element> for SvgLinearGradientElement[src]

impl AsRef<EventTarget> for SvgLinearGradientElement[src]

impl AsRef<JsValue> for SvgLinearGradientElement[src]

impl AsRef<Node> for SvgLinearGradientElement[src]

impl AsRef<Object> for SvgLinearGradientElement[src]

impl AsRef<SvgElement> for SvgLinearGradientElement[src]

impl AsRef<SvgGradientElement> for SvgLinearGradientElement[src]

impl AsRef<SvgLinearGradientElement> for SvgLinearGradientElement[src]

impl Clone for SvgLinearGradientElement[src]

impl Debug for SvgLinearGradientElement[src]

impl Deref for SvgLinearGradientElement[src]

type Target = SvgGradientElement

The resulting type after dereferencing.

impl Eq for SvgLinearGradientElement[src]

impl From<JsValue> for SvgLinearGradientElement[src]

impl From<SvgLinearGradientElement> for JsValue[src]

impl From<SvgLinearGradientElement> for SvgGradientElement[src]

impl From<SvgLinearGradientElement> for SvgElement[src]

impl From<SvgLinearGradientElement> for Element[src]

impl From<SvgLinearGradientElement> for Node[src]

impl From<SvgLinearGradientElement> for EventTarget[src]

impl From<SvgLinearGradientElement> for Object[src]

impl FromWasmAbi for SvgLinearGradientElement[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for SvgLinearGradientElement[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a SvgLinearGradientElement[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for SvgLinearGradientElement[src]

impl OptionFromWasmAbi for SvgLinearGradientElement[src]

impl OptionIntoWasmAbi for SvgLinearGradientElement[src]

impl<'a> OptionIntoWasmAbi for &'a SvgLinearGradientElement[src]

impl PartialEq<SvgLinearGradientElement> for SvgLinearGradientElement[src]

impl RefFromWasmAbi for SvgLinearGradientElement[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SvgLinearGradientElement>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for SvgLinearGradientElement[src]

impl StructuralPartialEq for SvgLinearGradientElement[src]

impl WasmDescribe for SvgLinearGradientElement[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> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.