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