[][src]Struct web_sys::SvgRectElement

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

The SVGRectElement object

MDN Documentation

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

Methods

impl SvgRectElement[src]

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

The x getter

MDN Documentation

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

impl SvgRectElement[src]

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

The y getter

MDN Documentation

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

impl SvgRectElement[src]

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

The width getter

MDN Documentation

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

impl SvgRectElement[src]

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

The height getter

MDN Documentation

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

impl SvgRectElement[src]

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

The rx getter

MDN Documentation

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

impl SvgRectElement[src]

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

The ry getter

MDN Documentation

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

Methods from Deref<Target = SvgGeometryElement>

pub fn get_point_at_length(&self, distance: f32) -> Result<SvgPoint, JsValue>[src]

The getPointAtLength() method

MDN Documentation

This API requires the following crate features to be activated: SvgGeometryElement, SvgPoint

pub fn get_total_length(&self) -> f32[src]

The getTotalLength() method

MDN Documentation

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

pub fn path_length(&self) -> SvgAnimatedNumber[src]

The pathLength getter

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedNumber, SvgGeometryElement

Trait Implementations

impl AsRef<JsValue> for SvgRectElement[src]

impl AsRef<SvgRectElement> for SvgRectElement[src]

impl AsRef<SvgGeometryElement> for SvgRectElement[src]

impl AsRef<SvgGraphicsElement> for SvgRectElement[src]

impl AsRef<SvgElement> for SvgRectElement[src]

impl AsRef<Element> for SvgRectElement[src]

impl AsRef<Node> for SvgRectElement[src]

impl AsRef<EventTarget> for SvgRectElement[src]

impl AsRef<Object> for SvgRectElement[src]

impl From<JsValue> for SvgRectElement[src]

impl From<SvgRectElement> for JsValue[src]

impl From<SvgRectElement> for SvgGeometryElement[src]

impl From<SvgRectElement> for SvgGraphicsElement[src]

impl From<SvgRectElement> for SvgElement[src]

impl From<SvgRectElement> for Element[src]

impl From<SvgRectElement> for Node[src]

impl From<SvgRectElement> for EventTarget[src]

impl From<SvgRectElement> for Object[src]

impl Clone for SvgRectElement[src]

impl Eq for SvgRectElement[src]

impl PartialEq<SvgRectElement> for SvgRectElement[src]

impl Debug for SvgRectElement[src]

impl Deref for SvgRectElement[src]

type Target = SvgGeometryElement

The resulting type after dereferencing.

impl StructuralPartialEq for SvgRectElement[src]

impl StructuralEq for SvgRectElement[src]

impl JsCast for SvgRectElement[src]

impl RefFromWasmAbi for SvgRectElement[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SvgRectElement>

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 FromWasmAbi for SvgRectElement[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 SvgRectElement[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 SvgRectElement[src]

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

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

impl WasmDescribe for SvgRectElement[src]

impl OptionFromWasmAbi for SvgRectElement[src]

impl OptionIntoWasmAbi for SvgRectElement[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi