[][src]Struct web_sys::SvgRectElement

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

The SvgRectElement class.

MDN Documentation

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

Methods

impl SvgRectElement[src]

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

Getter for the x field of this object.

MDN Documentation

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

impl SvgRectElement[src]

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

Getter for the y field of this object.

MDN Documentation

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

impl SvgRectElement[src]

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

Getter for the width field of this object.

MDN Documentation

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

impl SvgRectElement[src]

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

Getter for the height field of this object.

MDN Documentation

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

impl SvgRectElement[src]

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

Getter for the rx field of this object.

MDN Documentation

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

impl SvgRectElement[src]

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

Getter for the ry field of this object.

MDN Documentation

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

Methods from Deref<Target = SvgGeometryElement>

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

Getter for the pathLength field of this object.

MDN Documentation

This API requires the following crate features to be activated: SvgAnimatedNumber, 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

Trait Implementations

impl AsRef<Element> for SvgRectElement[src]

impl AsRef<EventTarget> for SvgRectElement[src]

impl AsRef<JsValue> for SvgRectElement[src]

impl AsRef<Node> for SvgRectElement[src]

impl AsRef<Object> for SvgRectElement[src]

impl AsRef<SvgElement> for SvgRectElement[src]

impl AsRef<SvgGeometryElement> for SvgRectElement[src]

impl AsRef<SvgGraphicsElement> for SvgRectElement[src]

impl AsRef<SvgRectElement> for SvgRectElement[src]

impl Clone for SvgRectElement[src]

impl Debug for SvgRectElement[src]

impl Deref for SvgRectElement[src]

type Target = SvgGeometryElement

The resulting type after dereferencing.

impl Eq 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 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 JsCast for SvgRectElement[src]

impl OptionFromWasmAbi for SvgRectElement[src]

impl OptionIntoWasmAbi for SvgRectElement[src]

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

impl PartialEq<SvgRectElement> 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 StructuralEq for SvgRectElement[src]

impl StructuralPartialEq for SvgRectElement[src]

impl WasmDescribe for SvgRectElement[src]

Auto Trait Implementations

impl RefUnwindSafe for SvgRectElement

impl !Send for SvgRectElement

impl !Sync for SvgRectElement

impl Unpin for SvgRectElement

impl UnwindSafe for SvgRectElement

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.