[−][src]Struct web_sys::SvgLineElement
The SVGLineElement object
This API requires the following crate features to be activated: SvgLineElement
Methods
impl SvgLineElement[src]
impl SvgLineElementpub fn x1(&self) -> SvgAnimatedLength | [src] |
The x1 getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgLineElement
impl SvgLineElement[src]
impl SvgLineElementpub fn y1(&self) -> SvgAnimatedLength | [src] |
The y1 getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgLineElement
impl SvgLineElement[src]
impl SvgLineElementpub fn x2(&self) -> SvgAnimatedLength | [src] |
The x2 getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgLineElement
impl SvgLineElement[src]
impl SvgLineElementpub fn y2(&self) -> SvgAnimatedLength | [src] |
The y2 getter
This API requires the following crate features to be activated: SvgAnimatedLength, SvgLineElement
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 AsRef<JsValue> for SvgLineElement[src]
impl AsRef<JsValue> for SvgLineElementimpl AsRef<SvgGeometryElement> for SvgLineElement[src]
impl AsRef<SvgGeometryElement> for SvgLineElementfn as_ref(&self) -> &SvgGeometryElement | [src] |
impl AsRef<SvgGraphicsElement> for SvgLineElement[src]
impl AsRef<SvgGraphicsElement> for SvgLineElementfn as_ref(&self) -> &SvgGraphicsElement | [src] |
impl AsRef<SvgElement> for SvgLineElement[src]
impl AsRef<SvgElement> for SvgLineElementfn as_ref(&self) -> &SvgElement | [src] |
impl AsRef<Element> for SvgLineElement[src]
impl AsRef<Element> for SvgLineElementimpl AsRef<Node> for SvgLineElement[src]
impl AsRef<Node> for SvgLineElementimpl AsRef<EventTarget> for SvgLineElement[src]
impl AsRef<EventTarget> for SvgLineElementfn as_ref(&self) -> &EventTarget | [src] |
impl AsRef<Object> for SvgLineElement[src]
impl AsRef<Object> for SvgLineElementimpl Clone for SvgLineElement[src]
impl Clone for SvgLineElementfn clone(&self) -> SvgLineElement | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source. Read more
impl From<JsValue> for SvgLineElement[src]
impl From<JsValue> for SvgLineElementfn from(obj: JsValue) -> SvgLineElement | [src] |
impl From<SvgLineElement> for JsValue[src]
impl From<SvgLineElement> for JsValuefn from(obj: SvgLineElement) -> JsValue | [src] |
impl From<SvgLineElement> for SvgGeometryElement[src]
impl From<SvgLineElement> for SvgGeometryElementfn from(obj: SvgLineElement) -> SvgGeometryElement | [src] |
impl From<SvgLineElement> for SvgGraphicsElement[src]
impl From<SvgLineElement> for SvgGraphicsElementfn from(obj: SvgLineElement) -> SvgGraphicsElement | [src] |
impl From<SvgLineElement> for SvgElement[src]
impl From<SvgLineElement> for SvgElementfn from(obj: SvgLineElement) -> SvgElement | [src] |
impl From<SvgLineElement> for Element[src]
impl From<SvgLineElement> for Elementfn from(obj: SvgLineElement) -> Element | [src] |
impl From<SvgLineElement> for Node[src]
impl From<SvgLineElement> for Nodefn from(obj: SvgLineElement) -> Node | [src] |
impl From<SvgLineElement> for EventTarget[src]
impl From<SvgLineElement> for EventTargetfn from(obj: SvgLineElement) -> EventTarget | [src] |
impl From<SvgLineElement> for Object[src]
impl From<SvgLineElement> for Objectfn from(obj: SvgLineElement) -> Object | [src] |
impl Debug for SvgLineElement[src]
impl Debug for SvgLineElementimpl Deref for SvgLineElement[src]
impl Deref for SvgLineElementtype Target = SvgGeometryElement
The resulting type after dereferencing.
fn deref(&self) -> &SvgGeometryElement | [src] |
impl FromWasmAbi for SvgLineElement[src]
impl FromWasmAbi for SvgLineElementtype 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 SvgLineElement[src]
impl IntoWasmAbi for SvgLineElementtype 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 SvgLineElement[src]
impl<'a> IntoWasmAbi for &'a SvgLineElementtype 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 SvgLineElement[src]
impl WasmDescribe for SvgLineElementimpl OptionIntoWasmAbi for SvgLineElement[src]
impl OptionIntoWasmAbi for SvgLineElementimpl<'a> OptionIntoWasmAbi for &'a SvgLineElement[src]
impl<'a> OptionIntoWasmAbi for &'a SvgLineElementimpl OptionFromWasmAbi for SvgLineElement[src]
impl OptionFromWasmAbi for SvgLineElementimpl RefFromWasmAbi for SvgLineElement[src]
impl RefFromWasmAbi for SvgLineElementtype Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<SvgLineElement>
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 SvgLineElement[src]
impl JsCast for SvgLineElementfn 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 SvgLineElement
impl !Send for SvgLineElementimpl !Sync for SvgLineElement
impl !Sync for SvgLineElementBlanket Implementations
impl<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> From for T[src]
impl<T> From for Timpl<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> 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, 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> 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> 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] |