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