Struct web_sys::SvgTextPathElement
source · #[repr(transparent)]pub struct SvgTextPathElement { /* private fields */ }
Expand description
The SVGTextPathElement
object
This API requires the following crate features to be activated: SvgTextPathElement
Implementations§
source§impl SvgTextPathElement
impl SvgTextPathElement
sourcepub fn start_offset(&self) -> SvgAnimatedLength
pub fn start_offset(&self) -> SvgAnimatedLength
The startOffset
getter
This API requires the following crate features to be activated: SvgAnimatedLength
, SvgTextPathElement
source§impl SvgTextPathElement
impl SvgTextPathElement
sourcepub fn method(&self) -> SvgAnimatedEnumeration
pub fn method(&self) -> SvgAnimatedEnumeration
The method
getter
This API requires the following crate features to be activated: SvgAnimatedEnumeration
, SvgTextPathElement
source§impl SvgTextPathElement
impl SvgTextPathElement
sourcepub fn spacing(&self) -> SvgAnimatedEnumeration
pub fn spacing(&self) -> SvgAnimatedEnumeration
The spacing
getter
This API requires the following crate features to be activated: SvgAnimatedEnumeration
, SvgTextPathElement
source§impl SvgTextPathElement
impl SvgTextPathElement
sourcepub fn href(&self) -> SvgAnimatedString
pub fn href(&self) -> SvgAnimatedString
The href
getter
This API requires the following crate features to be activated: SvgAnimatedString
, SvgTextPathElement
source§impl SvgTextPathElement
impl SvgTextPathElement
pub const TEXTPATH_METHODTYPE_UNKNOWN: u16 = 0u16
source§impl SvgTextPathElement
impl SvgTextPathElement
pub const TEXTPATH_METHODTYPE_ALIGN: u16 = 1u16
source§impl SvgTextPathElement
impl SvgTextPathElement
pub const TEXTPATH_METHODTYPE_STRETCH: u16 = 2u16
source§impl SvgTextPathElement
impl SvgTextPathElement
pub const TEXTPATH_SPACINGTYPE_UNKNOWN: u16 = 0u16
source§impl SvgTextPathElement
impl SvgTextPathElement
pub const TEXTPATH_SPACINGTYPE_AUTO: u16 = 1u16
source§impl SvgTextPathElement
impl SvgTextPathElement
pub const TEXTPATH_SPACINGTYPE_EXACT: u16 = 2u16
Trait Implementations§
source§impl AsRef<Element> for SvgTextPathElement
impl AsRef<Element> for SvgTextPathElement
source§impl AsRef<EventTarget> for SvgTextPathElement
impl AsRef<EventTarget> for SvgTextPathElement
source§fn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<JsValue> for SvgTextPathElement
impl AsRef<JsValue> for SvgTextPathElement
source§impl AsRef<Node> for SvgTextPathElement
impl AsRef<Node> for SvgTextPathElement
source§impl AsRef<Object> for SvgTextPathElement
impl AsRef<Object> for SvgTextPathElement
source§impl AsRef<SvgElement> for SvgTextPathElement
impl AsRef<SvgElement> for SvgTextPathElement
source§fn as_ref(&self) -> &SvgElement
fn as_ref(&self) -> &SvgElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<SvgGraphicsElement> for SvgTextPathElement
impl AsRef<SvgGraphicsElement> for SvgTextPathElement
source§fn as_ref(&self) -> &SvgGraphicsElement
fn as_ref(&self) -> &SvgGraphicsElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl AsRef<SvgTextContentElement> for SvgTextPathElement
impl AsRef<SvgTextContentElement> for SvgTextPathElement
source§fn as_ref(&self) -> &SvgTextContentElement
fn as_ref(&self) -> &SvgTextContentElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SvgTextPathElement
impl Clone for SvgTextPathElement
source§fn clone(&self) -> SvgTextPathElement
fn clone(&self) -> SvgTextPathElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SvgTextPathElement
impl Debug for SvgTextPathElement
source§impl From<JsValue> for SvgTextPathElement
impl From<JsValue> for SvgTextPathElement
source§fn from(obj: JsValue) -> SvgTextPathElement
fn from(obj: JsValue) -> SvgTextPathElement
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for Element
impl From<SvgTextPathElement> for Element
source§fn from(obj: SvgTextPathElement) -> Element
fn from(obj: SvgTextPathElement) -> Element
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for EventTarget
impl From<SvgTextPathElement> for EventTarget
source§fn from(obj: SvgTextPathElement) -> EventTarget
fn from(obj: SvgTextPathElement) -> EventTarget
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for JsValue
impl From<SvgTextPathElement> for JsValue
source§fn from(obj: SvgTextPathElement) -> JsValue
fn from(obj: SvgTextPathElement) -> JsValue
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for Node
impl From<SvgTextPathElement> for Node
source§fn from(obj: SvgTextPathElement) -> Node
fn from(obj: SvgTextPathElement) -> Node
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for Object
impl From<SvgTextPathElement> for Object
source§fn from(obj: SvgTextPathElement) -> Object
fn from(obj: SvgTextPathElement) -> Object
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for SvgElement
impl From<SvgTextPathElement> for SvgElement
source§fn from(obj: SvgTextPathElement) -> SvgElement
fn from(obj: SvgTextPathElement) -> SvgElement
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for SvgGraphicsElement
impl From<SvgTextPathElement> for SvgGraphicsElement
source§fn from(obj: SvgTextPathElement) -> SvgGraphicsElement
fn from(obj: SvgTextPathElement) -> SvgGraphicsElement
Converts to this type from the input type.
source§impl From<SvgTextPathElement> for SvgTextContentElement
impl From<SvgTextPathElement> for SvgTextContentElement
source§fn from(obj: SvgTextPathElement) -> SvgTextContentElement
fn from(obj: SvgTextPathElement) -> SvgTextContentElement
Converts to this type from the input type.
source§impl FromWasmAbi for SvgTextPathElement
impl FromWasmAbi for SvgTextPathElement
source§impl<'a> IntoWasmAbi for &'a SvgTextPathElement
impl<'a> IntoWasmAbi for &'a SvgTextPathElement
source§impl IntoWasmAbi for SvgTextPathElement
impl IntoWasmAbi for SvgTextPathElement
source§impl JsCast for SvgTextPathElement
impl JsCast for SvgTextPathElement
source§fn instanceof(val: &JsValue) -> bool
fn instanceof(val: &JsValue) -> bool
Performs a dynamic
instanceof
check to see whether the JsValue
provided is an instance of this type. Read moresource§fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
source§fn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
source§fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
fn is_instance_of<T>(&self) -> boolwhere
T: JsCast,
Test whether this JS value is an instance of the type
T
. Read moresource§fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
fn dyn_into<T>(self) -> Result<T, Self>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moresource§fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
fn dyn_ref<T>(&self) -> Option<&T>where
T: JsCast,
Performs a dynamic cast (checked at runtime) of this value into the
target type
T
. Read moresource§fn unchecked_into<T>(self) -> Twhere
T: JsCast,
fn unchecked_into<T>(self) -> Twhere
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
source§impl<'a> OptionIntoWasmAbi for &'a SvgTextPathElement
impl<'a> OptionIntoWasmAbi for &'a SvgTextPathElement
source§impl RefFromWasmAbi for SvgTextPathElement
impl RefFromWasmAbi for SvgTextPathElement
§type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to
Self
are recovered from.§type Anchor = ManuallyDrop<SvgTextPathElement>
type Anchor = ManuallyDrop<SvgTextPathElement>
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 moreAuto Trait Implementations§
impl RefUnwindSafe for SvgTextPathElement
impl Send for SvgTextPathElement
impl Sync for SvgTextPathElement
impl Unpin for SvgTextPathElement
impl UnwindSafe for SvgTextPathElement
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more