Struct web_sys::SvgtSpanElement
source · #[repr(transparent)]pub struct SvgtSpanElement { /* private fields */ }
Expand description
The SVGTSpanElement
object
This API requires the following crate features to be activated: SvgtSpanElement
Trait Implementations§
source§impl AsRef<Element> for SvgtSpanElement
impl AsRef<Element> for SvgtSpanElement
source§impl AsRef<EventTarget> for SvgtSpanElement
impl AsRef<EventTarget> for SvgtSpanElement
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 SvgtSpanElement
impl AsRef<JsValue> for SvgtSpanElement
source§impl AsRef<Node> for SvgtSpanElement
impl AsRef<Node> for SvgtSpanElement
source§impl AsRef<Object> for SvgtSpanElement
impl AsRef<Object> for SvgtSpanElement
source§impl AsRef<SvgElement> for SvgtSpanElement
impl AsRef<SvgElement> for SvgtSpanElement
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 SvgtSpanElement
impl AsRef<SvgGraphicsElement> for SvgtSpanElement
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 SvgtSpanElement
impl AsRef<SvgTextContentElement> for SvgtSpanElement
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 AsRef<SvgTextPositioningElement> for SvgtSpanElement
impl AsRef<SvgTextPositioningElement> for SvgtSpanElement
source§fn as_ref(&self) -> &SvgTextPositioningElement
fn as_ref(&self) -> &SvgTextPositioningElement
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SvgtSpanElement
impl Clone for SvgtSpanElement
source§fn clone(&self) -> SvgtSpanElement
fn clone(&self) -> SvgtSpanElement
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 SvgtSpanElement
impl Debug for SvgtSpanElement
source§impl From<JsValue> for SvgtSpanElement
impl From<JsValue> for SvgtSpanElement
source§fn from(obj: JsValue) -> SvgtSpanElement
fn from(obj: JsValue) -> SvgtSpanElement
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for Element
impl From<SvgtSpanElement> for Element
source§fn from(obj: SvgtSpanElement) -> Element
fn from(obj: SvgtSpanElement) -> Element
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for EventTarget
impl From<SvgtSpanElement> for EventTarget
source§fn from(obj: SvgtSpanElement) -> EventTarget
fn from(obj: SvgtSpanElement) -> EventTarget
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for JsValue
impl From<SvgtSpanElement> for JsValue
source§fn from(obj: SvgtSpanElement) -> JsValue
fn from(obj: SvgtSpanElement) -> JsValue
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for Node
impl From<SvgtSpanElement> for Node
source§fn from(obj: SvgtSpanElement) -> Node
fn from(obj: SvgtSpanElement) -> Node
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for Object
impl From<SvgtSpanElement> for Object
source§fn from(obj: SvgtSpanElement) -> Object
fn from(obj: SvgtSpanElement) -> Object
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for SvgElement
impl From<SvgtSpanElement> for SvgElement
source§fn from(obj: SvgtSpanElement) -> SvgElement
fn from(obj: SvgtSpanElement) -> SvgElement
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for SvgGraphicsElement
impl From<SvgtSpanElement> for SvgGraphicsElement
source§fn from(obj: SvgtSpanElement) -> SvgGraphicsElement
fn from(obj: SvgtSpanElement) -> SvgGraphicsElement
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for SvgTextContentElement
impl From<SvgtSpanElement> for SvgTextContentElement
source§fn from(obj: SvgtSpanElement) -> SvgTextContentElement
fn from(obj: SvgtSpanElement) -> SvgTextContentElement
Converts to this type from the input type.
source§impl From<SvgtSpanElement> for SvgTextPositioningElement
impl From<SvgtSpanElement> for SvgTextPositioningElement
source§fn from(obj: SvgtSpanElement) -> SvgTextPositioningElement
fn from(obj: SvgtSpanElement) -> SvgTextPositioningElement
Converts to this type from the input type.
source§impl FromWasmAbi for SvgtSpanElement
impl FromWasmAbi for SvgtSpanElement
source§impl<'a> IntoWasmAbi for &'a SvgtSpanElement
impl<'a> IntoWasmAbi for &'a SvgtSpanElement
source§impl IntoWasmAbi for SvgtSpanElement
impl IntoWasmAbi for SvgtSpanElement
source§impl JsCast for SvgtSpanElement
impl JsCast for SvgtSpanElement
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 OptionFromWasmAbi for SvgtSpanElement
impl OptionFromWasmAbi for SvgtSpanElement
source§impl<'a> OptionIntoWasmAbi for &'a SvgtSpanElement
impl<'a> OptionIntoWasmAbi for &'a SvgtSpanElement
source§impl OptionIntoWasmAbi for SvgtSpanElement
impl OptionIntoWasmAbi for SvgtSpanElement
source§impl RefFromWasmAbi for SvgtSpanElement
impl RefFromWasmAbi for SvgtSpanElement
§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<SvgtSpanElement>
type Anchor = ManuallyDrop<SvgtSpanElement>
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 SvgtSpanElement
impl !Send for SvgtSpanElement
impl !Sync for SvgtSpanElement
impl Unpin for SvgtSpanElement
impl UnwindSafe for SvgtSpanElement
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