[−][src]Struct web_sys::SvgPathElement
The SVGPathElement object
This API requires the following crate features to be activated: SvgPathElement
Methods
impl SvgPathElement[src]
impl SvgPathElementpub fn get_path_seg_at_length(&self, distance: f32) -> u32 | [src] |
The getPathSegAtLength() method
This API requires the following crate features to be activated: SvgPathElement
impl SvgPathElement[src]
impl SvgPathElementpub fn path_seg_list(&self) -> SvgPathSegList | [src] |
The pathSegList getter
This API requires the following crate features to be activated: SvgPathElement, SvgPathSegList
impl SvgPathElement[src]
impl SvgPathElementpub fn animated_path_seg_list(&self) -> SvgPathSegList | [src] |
The animatedPathSegList getter
This API requires the following crate features to be activated: SvgPathElement, SvgPathSegList
Methods from Deref<Target = SvgGeometryElement>
pub fn get_point_at_length(&self, distance: f32) -> Result<SvgPoint, JsValue> | [src] |
The getPointAtLength() method
This API requires the following crate features to be activated: SvgGeometryElement, SvgPoint
pub fn get_total_length(&self) -> f32 | [src] |
The getTotalLength() method
This API requires the following crate features to be activated: SvgGeometryElement
pub fn path_length(&self) -> SvgAnimatedNumber | [src] |
The pathLength getter
This API requires the following crate features to be activated: SvgAnimatedNumber, SvgGeometryElement
Trait Implementations
impl From<JsValue> for SvgPathElement[src]
impl From<JsValue> for SvgPathElementfn from(obj: JsValue) -> SvgPathElement | [src] |
impl From<SvgPathElement> for JsValue[src]
impl From<SvgPathElement> for JsValuefn from(obj: SvgPathElement) -> JsValue | [src] |
impl From<SvgPathElement> for SvgGeometryElement[src]
impl From<SvgPathElement> for SvgGeometryElementfn from(obj: SvgPathElement) -> SvgGeometryElement | [src] |
impl From<SvgPathElement> for SvgGraphicsElement[src]
impl From<SvgPathElement> for SvgGraphicsElementfn from(obj: SvgPathElement) -> SvgGraphicsElement | [src] |
impl From<SvgPathElement> for SvgElement[src]
impl From<SvgPathElement> for SvgElementfn from(obj: SvgPathElement) -> SvgElement | [src] |
impl From<SvgPathElement> for Element[src]
impl From<SvgPathElement> for Elementfn from(obj: SvgPathElement) -> Element | [src] |
impl From<SvgPathElement> for Node[src]
impl From<SvgPathElement> for Nodefn from(obj: SvgPathElement) -> Node | [src] |
impl From<SvgPathElement> for EventTarget[src]
impl From<SvgPathElement> for EventTargetfn from(obj: SvgPathElement) -> EventTarget | [src] |
impl From<SvgPathElement> for Object[src]
impl From<SvgPathElement> for Objectfn from(obj: SvgPathElement) -> Object | [src] |
impl AsRef<JsValue> for SvgPathElement[src]
impl AsRef<JsValue> for SvgPathElementimpl AsRef<SvgGeometryElement> for SvgPathElement[src]
impl AsRef<SvgGeometryElement> for SvgPathElementfn as_ref(&self) -> &SvgGeometryElement | [src] |
impl AsRef<SvgGraphicsElement> for SvgPathElement[src]
impl AsRef<SvgGraphicsElement> for SvgPathElementfn as_ref(&self) -> &SvgGraphicsElement | [src] |
impl AsRef<SvgElement> for SvgPathElement[src]
impl AsRef<SvgElement> for SvgPathElementfn as_ref(&self) -> &SvgElement | [src] |
impl AsRef<Element> for SvgPathElement[src]
impl AsRef<Element> for SvgPathElementimpl AsRef<Node> for SvgPathElement[src]
impl AsRef<Node> for SvgPathElementimpl AsRef<EventTarget> for SvgPathElement[src]
impl AsRef<EventTarget> for SvgPathElementfn as_ref(&self) -> &EventTarget | [src] |
impl AsRef<Object> for SvgPathElement[src]
impl AsRef<Object> for SvgPathElementimpl Clone for SvgPathElement[src]
impl Clone for SvgPathElementfn clone(&self) -> SvgPathElement | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source. Read more
impl Debug for SvgPathElement[src]
impl Debug for SvgPathElementimpl Deref for SvgPathElement[src]
impl Deref for SvgPathElementtype Target = SvgGeometryElement
The resulting type after dereferencing.
fn deref(&self) -> &SvgGeometryElement | [src] |
impl FromWasmAbi for SvgPathElement[src]
impl FromWasmAbi for SvgPathElementtype Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self | [src] |
impl IntoWasmAbi for SvgPathElement[src]
impl IntoWasmAbi for SvgPathElementtype Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl<'a> IntoWasmAbi for &'a SvgPathElement[src]
impl<'a> IntoWasmAbi for &'a SvgPathElementtype Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl WasmDescribe for SvgPathElement[src]
impl WasmDescribe for SvgPathElementimpl OptionIntoWasmAbi for SvgPathElement[src]
impl OptionIntoWasmAbi for SvgPathElementimpl<'a> OptionIntoWasmAbi for &'a SvgPathElement[src]
impl<'a> OptionIntoWasmAbi for &'a SvgPathElementimpl OptionFromWasmAbi for SvgPathElement[src]
impl OptionFromWasmAbi for SvgPathElementimpl RefFromWasmAbi for SvgPathElement[src]
impl RefFromWasmAbi for SvgPathElementtype Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<SvgPathElement>
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
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor | [src] |
impl JsCast for SvgPathElement[src]
impl JsCast for SvgPathElementfn instanceof(val: &JsValue) -> bool | [src] |
fn unchecked_from_js(val: JsValue) -> Self | [src] |
fn unchecked_from_js_ref(val: &JsValue) -> &Self | [src] |
fn is_instance_of<T>(&self) -> bool where | [src] |
Test whether this JS value is an instance of the type T. Read more
fn dyn_into<T>(self) -> Result<T, Self> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn dyn_ref<T>(&self) -> Option<&T> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn unchecked_into<T>(self) -> T where | [src] |
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where | [src] |
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Auto Trait Implementations
impl !Send for SvgPathElement
impl !Send for SvgPathElementimpl !Sync for SvgPathElement
impl !Sync for SvgPathElementBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi | [src] |