[][src]Struct web_sys::SvgPolylineElement

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

The SVGPolylineElement object

MDN Documentation

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

Methods

impl SvgPolylineElement[src]

pub fn points(&self) -> SvgPointList[src]

The points getter

MDN Documentation

This API requires the following crate features to be activated: SvgPointList, SvgPolylineElement

impl SvgPolylineElement[src]

pub fn animated_points(&self) -> SvgPointList[src]

The animatedPoints getter

MDN Documentation

This API requires the following crate features to be activated: SvgPointList, SvgPolylineElement

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<Element> for SvgPolylineElement[src]

impl AsRef<EventTarget> for SvgPolylineElement[src]

impl AsRef<JsValue> for SvgPolylineElement[src]

impl AsRef<Node> for SvgPolylineElement[src]

impl AsRef<Object> for SvgPolylineElement[src]

impl AsRef<SvgElement> for SvgPolylineElement[src]

impl AsRef<SvgGeometryElement> for SvgPolylineElement[src]

impl AsRef<SvgGraphicsElement> for SvgPolylineElement[src]

impl AsRef<SvgPolylineElement> for SvgPolylineElement[src]

impl Clone for SvgPolylineElement[src]

impl Debug for SvgPolylineElement[src]

impl Deref for SvgPolylineElement[src]

type Target = SvgGeometryElement

The resulting type after dereferencing.

impl Eq for SvgPolylineElement[src]

impl From<JsValue> for SvgPolylineElement[src]

impl From<SvgPolylineElement> for JsValue[src]

impl From<SvgPolylineElement> for SvgGeometryElement[src]

impl From<SvgPolylineElement> for SvgGraphicsElement[src]

impl From<SvgPolylineElement> for SvgElement[src]

impl From<SvgPolylineElement> for Element[src]

impl From<SvgPolylineElement> for Node[src]

impl From<SvgPolylineElement> for EventTarget[src]

impl From<SvgPolylineElement> for Object[src]

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

impl OptionFromWasmAbi for SvgPolylineElement[src]

impl OptionIntoWasmAbi for SvgPolylineElement[src]

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

impl PartialEq<SvgPolylineElement> for SvgPolylineElement[src]

impl RefFromWasmAbi for SvgPolylineElement[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SvgPolylineElement>

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 SvgPolylineElement[src]

impl StructuralPartialEq for SvgPolylineElement[src]

impl WasmDescribe for SvgPolylineElement[src]

Auto Trait Implementations

impl RefUnwindSafe for SvgPolylineElement

impl !Send for SvgPolylineElement

impl !Sync for SvgPolylineElement

impl Unpin for SvgPolylineElement

impl UnwindSafe for SvgPolylineElement

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.