[][src]Struct web_sys::SvgPointList

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

The SVGPointList object

MDN Documentation

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

Methods

impl SvgPointList[src]

pub fn append_item(&self, new_item: &SvgPoint) -> Result<SvgPoint, JsValue>[src]

The appendItem() method

MDN Documentation

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

impl SvgPointList[src]

pub fn clear(&self) -> Result<(), JsValue>[src]

The clear() method

MDN Documentation

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

impl SvgPointList[src]

pub fn get_item(&self, index: u32) -> Result<SvgPoint, JsValue>[src]

The getItem() method

MDN Documentation

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

impl SvgPointList[src]

pub fn initialize(&self, new_item: &SvgPoint) -> Result<SvgPoint, JsValue>[src]

The initialize() method

MDN Documentation

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

impl SvgPointList[src]

pub fn insert_item_before(
    &self,
    new_item: &SvgPoint,
    index: u32
) -> Result<SvgPoint, JsValue>
[src]

The insertItemBefore() method

MDN Documentation

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

impl SvgPointList[src]

pub fn remove_item(&self, index: u32) -> Result<SvgPoint, JsValue>[src]

The removeItem() method

MDN Documentation

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

impl SvgPointList[src]

pub fn replace_item(
    &self,
    new_item: &SvgPoint,
    index: u32
) -> Result<SvgPoint, JsValue>
[src]

The replaceItem() method

MDN Documentation

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

impl SvgPointList[src]

pub fn get(&self, index: u32) -> Result<SvgPoint, JsValue>[src]

The indexing getter

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

impl SvgPointList[src]

pub fn number_of_items(&self) -> u32[src]

The numberOfItems getter

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for SvgPointList[src]

impl AsRef<Object> for SvgPointList[src]

impl AsRef<SvgPointList> for SvgPointList[src]

impl Clone for SvgPointList[src]

impl Debug for SvgPointList[src]

impl Deref for SvgPointList[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for SvgPointList[src]

impl From<JsValue> for SvgPointList[src]

impl From<SvgPointList> for JsValue[src]

impl From<SvgPointList> for Object[src]

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

impl OptionFromWasmAbi for SvgPointList[src]

impl OptionIntoWasmAbi for SvgPointList[src]

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

impl PartialEq<SvgPointList> for SvgPointList[src]

impl RefFromWasmAbi for SvgPointList[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<SvgPointList>

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

impl StructuralPartialEq for SvgPointList[src]

impl WasmDescribe for SvgPointList[src]

Auto Trait Implementations

impl RefUnwindSafe for SvgPointList

impl !Send for SvgPointList

impl !Sync for SvgPointList

impl Unpin for SvgPointList

impl UnwindSafe for SvgPointList

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.