#[repr(transparent)]pub struct Node { /* private fields */ }
Expand description
The Node
class.
This API requires the following crate features to be activated: Node
Implementations
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourcepub fn is_connected(&self) -> bool
pub fn is_connected(&self) -> bool
Getter for the isConnected
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn owner_document(&self) -> Option<Document>
pub fn owner_document(&self) -> Option<Document>
Getter for the ownerDocument
field of this object.
This API requires the following crate features to be activated: Document
, Node
sourceimpl Node
impl Node
sourcepub fn parent_node(&self) -> Option<Node>
pub fn parent_node(&self) -> Option<Node>
Getter for the parentNode
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn parent_element(&self) -> Option<Element>
pub fn parent_element(&self) -> Option<Element>
Getter for the parentElement
field of this object.
This API requires the following crate features to be activated: Element
, Node
sourceimpl Node
impl Node
sourcepub fn child_nodes(&self) -> NodeList
pub fn child_nodes(&self) -> NodeList
Getter for the childNodes
field of this object.
This API requires the following crate features to be activated: Node
, NodeList
sourceimpl Node
impl Node
sourcepub fn first_child(&self) -> Option<Node>
pub fn first_child(&self) -> Option<Node>
Getter for the firstChild
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn last_child(&self) -> Option<Node>
pub fn last_child(&self) -> Option<Node>
Getter for the lastChild
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn previous_sibling(&self) -> Option<Node>
pub fn previous_sibling(&self) -> Option<Node>
Getter for the previousSibling
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn next_sibling(&self) -> Option<Node>
pub fn next_sibling(&self) -> Option<Node>
Getter for the nextSibling
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn node_value(&self) -> Option<String>
pub fn node_value(&self) -> Option<String>
Getter for the nodeValue
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn set_node_value(&self, value: Option<&str>)
pub fn set_node_value(&self, value: Option<&str>)
Setter for the nodeValue
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn text_content(&self) -> Option<String>
pub fn text_content(&self) -> Option<String>
Getter for the textContent
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn set_text_content(&self, value: Option<&str>)
pub fn set_text_content(&self, value: Option<&str>)
Setter for the textContent
field of this object.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourcepub fn clone_node(&self) -> Result<Node, JsValue>
pub fn clone_node(&self) -> Result<Node, JsValue>
The cloneNode()
method.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourcepub fn compare_document_position(&self, other: &Node) -> u16
pub fn compare_document_position(&self, other: &Node) -> u16
The compareDocumentPosition()
method.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn get_root_node(&self) -> Node
pub fn get_root_node(&self) -> Node
The getRootNode()
method.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn get_root_node_with_options(&self, options: &GetRootNodeOptions) -> Node
pub fn get_root_node_with_options(&self, options: &GetRootNodeOptions) -> Node
The getRootNode()
method.
This API requires the following crate features to be activated: GetRootNodeOptions
, Node
sourceimpl Node
impl Node
sourcepub fn has_child_nodes(&self) -> bool
pub fn has_child_nodes(&self) -> bool
The hasChildNodes()
method.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourcepub fn is_default_namespace(&self, namespace: Option<&str>) -> bool
pub fn is_default_namespace(&self, namespace: Option<&str>) -> bool
The isDefaultNamespace()
method.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn is_equal_node(&self, node: Option<&Node>) -> bool
pub fn is_equal_node(&self, node: Option<&Node>) -> bool
The isEqualNode()
method.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourcepub fn is_same_node(&self, node: Option<&Node>) -> bool
pub fn is_same_node(&self, node: Option<&Node>) -> bool
The isSameNode()
method.
This API requires the following crate features to be activated: Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourceimpl Node
impl Node
sourcepub const ELEMENT_NODE: u16 = 1u16
pub const ELEMENT_NODE: u16 = 1u16
The Node.ELEMENT_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const ATTRIBUTE_NODE: u16 = 2u16
pub const ATTRIBUTE_NODE: u16 = 2u16
The Node.ATTRIBUTE_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const TEXT_NODE: u16 = 3u16
pub const TEXT_NODE: u16 = 3u16
The Node.TEXT_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const CDATA_SECTION_NODE: u16 = 4u16
pub const CDATA_SECTION_NODE: u16 = 4u16
The Node.CDATA_SECTION_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const ENTITY_REFERENCE_NODE: u16 = 5u16
pub const ENTITY_REFERENCE_NODE: u16 = 5u16
The Node.ENTITY_REFERENCE_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const ENTITY_NODE: u16 = 6u16
pub const ENTITY_NODE: u16 = 6u16
The Node.ENTITY_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const PROCESSING_INSTRUCTION_NODE: u16 = 7u16
pub const PROCESSING_INSTRUCTION_NODE: u16 = 7u16
The Node.PROCESSING_INSTRUCTION_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const COMMENT_NODE: u16 = 8u16
pub const COMMENT_NODE: u16 = 8u16
The Node.COMMENT_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_NODE: u16 = 9u16
pub const DOCUMENT_NODE: u16 = 9u16
The Node.DOCUMENT_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_TYPE_NODE: u16 = 10u16
pub const DOCUMENT_TYPE_NODE: u16 = 10u16
The Node.DOCUMENT_TYPE_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_FRAGMENT_NODE: u16 = 11u16
pub const DOCUMENT_FRAGMENT_NODE: u16 = 11u16
The Node.DOCUMENT_FRAGMENT_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const NOTATION_NODE: u16 = 12u16
pub const NOTATION_NODE: u16 = 12u16
The Node.NOTATION_NODE
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_POSITION_DISCONNECTED: u16 = 1u16
pub const DOCUMENT_POSITION_DISCONNECTED: u16 = 1u16
The Node.DOCUMENT_POSITION_DISCONNECTED
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_POSITION_PRECEDING: u16 = 2u16
pub const DOCUMENT_POSITION_PRECEDING: u16 = 2u16
The Node.DOCUMENT_POSITION_PRECEDING
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_POSITION_FOLLOWING: u16 = 4u16
pub const DOCUMENT_POSITION_FOLLOWING: u16 = 4u16
The Node.DOCUMENT_POSITION_FOLLOWING
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_POSITION_CONTAINS: u16 = 8u16
pub const DOCUMENT_POSITION_CONTAINS: u16 = 8u16
The Node.DOCUMENT_POSITION_CONTAINS
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_POSITION_CONTAINED_BY: u16 = 16u16
pub const DOCUMENT_POSITION_CONTAINED_BY: u16 = 16u16
The Node.DOCUMENT_POSITION_CONTAINED_BY
const.
This API requires the following crate features to be activated: Node
sourcepub const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: u16 = 32u16
pub const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: u16 = 32u16
The Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
const.
This API requires the following crate features to be activated: Node
Methods from Deref<Target = EventTarget>
sourcepub fn add_event_listener_with_event_listener(
&self,
type_: &str,
listener: &EventListener
) -> Result<(), JsValue>
pub fn add_event_listener_with_event_listener(
&self,
type_: &str,
listener: &EventListener
) -> Result<(), JsValue>
The addEventListener()
method.
This API requires the following crate features to be activated: EventListener
, EventTarget
sourcepub fn add_event_listener_with_callback_and_add_event_listener_options(
&self,
type_: &str,
listener: &Function,
options: &AddEventListenerOptions
) -> Result<(), JsValue>
pub fn add_event_listener_with_callback_and_add_event_listener_options(
&self,
type_: &str,
listener: &Function,
options: &AddEventListenerOptions
) -> Result<(), JsValue>
The addEventListener()
method.
This API requires the following crate features to be activated: AddEventListenerOptions
, EventTarget
sourcepub fn add_event_listener_with_event_listener_and_add_event_listener_options(
&self,
type_: &str,
listener: &EventListener,
options: &AddEventListenerOptions
) -> Result<(), JsValue>
pub fn add_event_listener_with_event_listener_and_add_event_listener_options(
&self,
type_: &str,
listener: &EventListener,
options: &AddEventListenerOptions
) -> Result<(), JsValue>
The addEventListener()
method.
This API requires the following crate features to be activated: AddEventListenerOptions
, EventListener
, EventTarget
sourcepub fn add_event_listener_with_event_listener_and_bool(
&self,
type_: &str,
listener: &EventListener,
options: bool
) -> Result<(), JsValue>
pub fn add_event_listener_with_event_listener_and_bool(
&self,
type_: &str,
listener: &EventListener,
options: bool
) -> Result<(), JsValue>
The addEventListener()
method.
This API requires the following crate features to be activated: EventListener
, EventTarget
sourcepub fn add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted(
&self,
type_: &str,
listener: &Function,
options: &AddEventListenerOptions,
wants_untrusted: Option<bool>
) -> Result<(), JsValue>
pub fn add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted(
&self,
type_: &str,
listener: &Function,
options: &AddEventListenerOptions,
wants_untrusted: Option<bool>
) -> Result<(), JsValue>
The addEventListener()
method.
This API requires the following crate features to be activated: AddEventListenerOptions
, EventTarget
sourcepub fn add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted(
&self,
type_: &str,
listener: &EventListener,
options: &AddEventListenerOptions,
wants_untrusted: Option<bool>
) -> Result<(), JsValue>
pub fn add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted(
&self,
type_: &str,
listener: &EventListener,
options: &AddEventListenerOptions,
wants_untrusted: Option<bool>
) -> Result<(), JsValue>
The addEventListener()
method.
This API requires the following crate features to be activated: AddEventListenerOptions
, EventListener
, EventTarget
sourcepub fn add_event_listener_with_event_listener_and_bool_and_wants_untrusted(
&self,
type_: &str,
listener: &EventListener,
options: bool,
wants_untrusted: Option<bool>
) -> Result<(), JsValue>
pub fn add_event_listener_with_event_listener_and_bool_and_wants_untrusted(
&self,
type_: &str,
listener: &EventListener,
options: bool,
wants_untrusted: Option<bool>
) -> Result<(), JsValue>
The addEventListener()
method.
This API requires the following crate features to be activated: EventListener
, EventTarget
sourcepub fn remove_event_listener_with_event_listener(
&self,
type_: &str,
listener: &EventListener
) -> Result<(), JsValue>
pub fn remove_event_listener_with_event_listener(
&self,
type_: &str,
listener: &EventListener
) -> Result<(), JsValue>
The removeEventListener()
method.
This API requires the following crate features to be activated: EventListener
, EventTarget
sourcepub fn remove_event_listener_with_callback_and_event_listener_options(
&self,
type_: &str,
listener: &Function,
options: &EventListenerOptions
) -> Result<(), JsValue>
pub fn remove_event_listener_with_callback_and_event_listener_options(
&self,
type_: &str,
listener: &Function,
options: &EventListenerOptions
) -> Result<(), JsValue>
The removeEventListener()
method.
This API requires the following crate features to be activated: EventListenerOptions
, EventTarget
sourcepub fn remove_event_listener_with_event_listener_and_event_listener_options(
&self,
type_: &str,
listener: &EventListener,
options: &EventListenerOptions
) -> Result<(), JsValue>
pub fn remove_event_listener_with_event_listener_and_event_listener_options(
&self,
type_: &str,
listener: &EventListener,
options: &EventListenerOptions
) -> Result<(), JsValue>
The removeEventListener()
method.
This API requires the following crate features to be activated: EventListener
, EventListenerOptions
, EventTarget
sourcepub fn remove_event_listener_with_event_listener_and_bool(
&self,
type_: &str,
listener: &EventListener,
options: bool
) -> Result<(), JsValue>
pub fn remove_event_listener_with_event_listener_and_bool(
&self,
type_: &str,
listener: &EventListener,
options: bool
) -> Result<(), JsValue>
The removeEventListener()
method.
This API requires the following crate features to be activated: EventListener
, EventTarget
Methods from Deref<Target = Object>
sourcepub fn constructor(&self) -> Function
pub fn constructor(&self) -> Function
The constructor property returns a reference to the Object
constructor
function that created the instance object.
sourcepub fn has_own_property(&self, property: &JsValue) -> bool
pub fn has_own_property(&self, property: &JsValue) -> bool
The hasOwnProperty()
method returns a boolean indicating whether the
object has the specified property as its own property (as opposed to
inheriting it).
sourcepub fn is_prototype_of(&self, value: &JsValue) -> bool
pub fn is_prototype_of(&self, value: &JsValue) -> bool
The isPrototypeOf()
method checks if an object exists in another
object’s prototype chain.
sourcepub fn property_is_enumerable(&self, property: &JsValue) -> bool
pub fn property_is_enumerable(&self, property: &JsValue) -> bool
The propertyIsEnumerable()
method returns a Boolean indicating
whether the specified property is enumerable.
sourcepub fn to_locale_string(&self) -> JsString
pub fn to_locale_string(&self) -> JsString
The toLocaleString()
method returns a string representing the object.
This method is meant to be overridden by derived objects for
locale-specific purposes.
Methods from Deref<Target = JsValue>
pub const NULL: JsValue = JsValue{idx: JSIDX_NULL, _marker: marker::PhantomData,}
pub const UNDEFINED: JsValue = JsValue{idx: JSIDX_UNDEFINED, _marker: marker::PhantomData,}
pub const TRUE: JsValue = JsValue{idx: JSIDX_TRUE, _marker: marker::PhantomData,}
pub const FALSE: JsValue = JsValue{idx: JSIDX_FALSE, _marker: marker::PhantomData,}
sourcepub fn as_f64(&self) -> Option<f64>
pub fn as_f64(&self) -> Option<f64>
Returns the f64
value of this JS value if it’s an instance of a
number.
If this JS value is not an instance of a number then this returns
None
.
sourcepub fn as_string(&self) -> Option<String>
pub fn as_string(&self) -> Option<String>
If this JS value is a string value, this function copies the JS string
value into wasm linear memory, encoded as UTF-8, and returns it as a
Rust String
.
To avoid the copying and re-encoding, consider the
JsString::try_from()
function from js-sys
instead.
If this JS value is not an instance of a string or if it’s not valid
utf-8 then this returns None
.
UTF-16 vs UTF-8
JavaScript strings in general are encoded as UTF-16, but Rust strings
are encoded as UTF-8. This can cause the Rust string to look a bit
different than the JS string sometimes. For more details see the
documentation about the str
type which contains a few
caveats about the encodings.
sourcepub fn as_bool(&self) -> Option<bool>
pub fn as_bool(&self) -> Option<bool>
Returns the bool
value of this JS value if it’s an instance of a
boolean.
If this JS value is not an instance of a boolean then this returns
None
.
sourcepub fn is_undefined(&self) -> bool
pub fn is_undefined(&self) -> bool
Tests whether this JS value is undefined
sourcepub fn is_function(&self) -> bool
pub fn is_function(&self) -> bool
Tests whether the type of this JS value is function
.
sourcepub fn js_in(&self, obj: &JsValue) -> bool
pub fn js_in(&self, obj: &JsValue) -> bool
Applies the binary in
JS operator on the two JsValue
s.
sourcepub fn loose_eq(&self, other: &JsValue) -> bool
pub fn loose_eq(&self, other: &JsValue) -> bool
Compare two JsValue
s for equality, using the ==
operator in JS.
sourcepub fn unsigned_shr(&self, rhs: &JsValue) -> u32
pub fn unsigned_shr(&self, rhs: &JsValue) -> u32
Applies the binary >>>
JS operator on the two JsValue
s.
sourcepub fn checked_div(&self, rhs: &JsValue) -> JsValue
pub fn checked_div(&self, rhs: &JsValue) -> JsValue
Applies the binary /
JS operator on two JsValue
s, catching and returning any RangeError
thrown.
sourcepub fn pow(&self, rhs: &JsValue) -> JsValue
pub fn pow(&self, rhs: &JsValue) -> JsValue
Applies the binary **
JS operator on the two JsValue
s.
sourcepub fn lt(&self, other: &JsValue) -> bool
pub fn lt(&self, other: &JsValue) -> bool
Applies the binary <
JS operator on the two JsValue
s.
sourcepub fn le(&self, other: &JsValue) -> bool
pub fn le(&self, other: &JsValue) -> bool
Applies the binary <=
JS operator on the two JsValue
s.
sourcepub fn ge(&self, other: &JsValue) -> bool
pub fn ge(&self, other: &JsValue) -> bool
Applies the binary >=
JS operator on the two JsValue
s.
sourcepub fn gt(&self, other: &JsValue) -> bool
pub fn gt(&self, other: &JsValue) -> bool
Applies the binary >
JS operator on the two JsValue
s.
sourcepub fn unchecked_into_f64(&self) -> f64
pub fn unchecked_into_f64(&self) -> f64
Applies the unary +
JS operator on a JsValue
. Can throw.
Trait Implementations
sourceimpl AsRef<EventTarget> for Node
impl AsRef<EventTarget> for Node
sourcefn as_ref(&self) -> &EventTarget
fn as_ref(&self) -> &EventTarget
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<Node> for CdataSection
impl AsRef<Node> for CdataSection
sourceimpl AsRef<Node> for HtmlAudioElement
impl AsRef<Node> for HtmlAudioElement
sourceimpl AsRef<Node> for SvgLineElement
impl AsRef<Node> for SvgLineElement
sourceimpl AsRef<Node> for SvgLinearGradientElement
impl AsRef<Node> for SvgLinearGradientElement
sourceimpl AsRef<Node> for SvgMarkerElement
impl AsRef<Node> for SvgMarkerElement
sourceimpl AsRef<Node> for SvgMaskElement
impl AsRef<Node> for SvgMaskElement
sourceimpl AsRef<Node> for SvgMetadataElement
impl AsRef<Node> for SvgMetadataElement
sourceimpl AsRef<Node> for SvgPathElement
impl AsRef<Node> for SvgPathElement
sourceimpl AsRef<Node> for SvgPatternElement
impl AsRef<Node> for SvgPatternElement
sourceimpl AsRef<Node> for SvgPolygonElement
impl AsRef<Node> for SvgPolygonElement
sourceimpl AsRef<Node> for SvgPolylineElement
impl AsRef<Node> for SvgPolylineElement
sourceimpl AsRef<Node> for SvgRadialGradientElement
impl AsRef<Node> for SvgRadialGradientElement
sourceimpl AsRef<Node> for HtmlBaseElement
impl AsRef<Node> for HtmlBaseElement
sourceimpl AsRef<Node> for SvgRectElement
impl AsRef<Node> for SvgRectElement
sourceimpl AsRef<Node> for SvgScriptElement
impl AsRef<Node> for SvgScriptElement
sourceimpl AsRef<Node> for SvgSetElement
impl AsRef<Node> for SvgSetElement
sourceimpl AsRef<Node> for SvgStopElement
impl AsRef<Node> for SvgStopElement
sourceimpl AsRef<Node> for SvgStyleElement
impl AsRef<Node> for SvgStyleElement
sourceimpl AsRef<Node> for SvgSwitchElement
impl AsRef<Node> for SvgSwitchElement
sourceimpl AsRef<Node> for SvgSymbolElement
impl AsRef<Node> for SvgSymbolElement
sourceimpl AsRef<Node> for SvgTextContentElement
impl AsRef<Node> for SvgTextContentElement
sourceimpl AsRef<Node> for SvgTextElement
impl AsRef<Node> for SvgTextElement
sourceimpl AsRef<Node> for SvgTextPathElement
impl AsRef<Node> for SvgTextPathElement
sourceimpl AsRef<Node> for HtmlBodyElement
impl AsRef<Node> for HtmlBodyElement
sourceimpl AsRef<Node> for SvgTextPositioningElement
impl AsRef<Node> for SvgTextPositioningElement
sourceimpl AsRef<Node> for SvgTitleElement
impl AsRef<Node> for SvgTitleElement
sourceimpl AsRef<Node> for SvgUseElement
impl AsRef<Node> for SvgUseElement
sourceimpl AsRef<Node> for SvgViewElement
impl AsRef<Node> for SvgViewElement
sourceimpl AsRef<Node> for SvgaElement
impl AsRef<Node> for SvgaElement
sourceimpl AsRef<Node> for SvgfeBlendElement
impl AsRef<Node> for SvgfeBlendElement
sourceimpl AsRef<Node> for SvgfeColorMatrixElement
impl AsRef<Node> for SvgfeColorMatrixElement
sourceimpl AsRef<Node> for SvgfeComponentTransferElement
impl AsRef<Node> for SvgfeComponentTransferElement
sourceimpl AsRef<Node> for SvgfeCompositeElement
impl AsRef<Node> for SvgfeCompositeElement
sourceimpl AsRef<Node> for SvgfeConvolveMatrixElement
impl AsRef<Node> for SvgfeConvolveMatrixElement
sourceimpl AsRef<Node> for HtmlBrElement
impl AsRef<Node> for HtmlBrElement
sourceimpl AsRef<Node> for SvgfeDiffuseLightingElement
impl AsRef<Node> for SvgfeDiffuseLightingElement
sourceimpl AsRef<Node> for SvgfeDisplacementMapElement
impl AsRef<Node> for SvgfeDisplacementMapElement
sourceimpl AsRef<Node> for SvgfeDistantLightElement
impl AsRef<Node> for SvgfeDistantLightElement
sourceimpl AsRef<Node> for SvgfeDropShadowElement
impl AsRef<Node> for SvgfeDropShadowElement
sourceimpl AsRef<Node> for SvgfeFloodElement
impl AsRef<Node> for SvgfeFloodElement
sourceimpl AsRef<Node> for SvgfeFuncAElement
impl AsRef<Node> for SvgfeFuncAElement
sourceimpl AsRef<Node> for SvgfeFuncBElement
impl AsRef<Node> for SvgfeFuncBElement
sourceimpl AsRef<Node> for SvgfeFuncGElement
impl AsRef<Node> for SvgfeFuncGElement
sourceimpl AsRef<Node> for SvgfeFuncRElement
impl AsRef<Node> for SvgfeFuncRElement
sourceimpl AsRef<Node> for SvgfeGaussianBlurElement
impl AsRef<Node> for SvgfeGaussianBlurElement
sourceimpl AsRef<Node> for HtmlButtonElement
impl AsRef<Node> for HtmlButtonElement
sourceimpl AsRef<Node> for SvgfeImageElement
impl AsRef<Node> for SvgfeImageElement
sourceimpl AsRef<Node> for SvgfeMergeElement
impl AsRef<Node> for SvgfeMergeElement
sourceimpl AsRef<Node> for SvgfeMergeNodeElement
impl AsRef<Node> for SvgfeMergeNodeElement
sourceimpl AsRef<Node> for SvgfeMorphologyElement
impl AsRef<Node> for SvgfeMorphologyElement
sourceimpl AsRef<Node> for SvgfeOffsetElement
impl AsRef<Node> for SvgfeOffsetElement
sourceimpl AsRef<Node> for SvgfePointLightElement
impl AsRef<Node> for SvgfePointLightElement
sourceimpl AsRef<Node> for SvgfeSpecularLightingElement
impl AsRef<Node> for SvgfeSpecularLightingElement
sourceimpl AsRef<Node> for SvgfeSpotLightElement
impl AsRef<Node> for SvgfeSpotLightElement
sourceimpl AsRef<Node> for SvgfeTileElement
impl AsRef<Node> for SvgfeTileElement
sourceimpl AsRef<Node> for SvgfeTurbulenceElement
impl AsRef<Node> for SvgfeTurbulenceElement
sourceimpl AsRef<Node> for HtmlCanvasElement
impl AsRef<Node> for HtmlCanvasElement
sourceimpl AsRef<Node> for SvggElement
impl AsRef<Node> for SvggElement
sourceimpl AsRef<Node> for SvgmPathElement
impl AsRef<Node> for SvgmPathElement
sourceimpl AsRef<Node> for SvgsvgElement
impl AsRef<Node> for SvgsvgElement
sourceimpl AsRef<Node> for SvgtSpanElement
impl AsRef<Node> for SvgtSpanElement
sourceimpl AsRef<Node> for XmlDocument
impl AsRef<Node> for XmlDocument
sourceimpl AsRef<Node> for HtmlDListElement
impl AsRef<Node> for HtmlDListElement
sourceimpl AsRef<Node> for HtmlDataElement
impl AsRef<Node> for HtmlDataElement
sourceimpl AsRef<Node> for HtmlDataListElement
impl AsRef<Node> for HtmlDataListElement
sourceimpl AsRef<Node> for HtmlDetailsElement
impl AsRef<Node> for HtmlDetailsElement
sourceimpl AsRef<Node> for CharacterData
impl AsRef<Node> for CharacterData
sourceimpl AsRef<Node> for HtmlDialogElement
impl AsRef<Node> for HtmlDialogElement
sourceimpl AsRef<Node> for HtmlDirectoryElement
impl AsRef<Node> for HtmlDirectoryElement
sourceimpl AsRef<Node> for HtmlDivElement
impl AsRef<Node> for HtmlDivElement
sourceimpl AsRef<Node> for HtmlDocument
impl AsRef<Node> for HtmlDocument
sourceimpl AsRef<Node> for HtmlElement
impl AsRef<Node> for HtmlElement
sourceimpl AsRef<Node> for HtmlEmbedElement
impl AsRef<Node> for HtmlEmbedElement
sourceimpl AsRef<Node> for HtmlFieldSetElement
impl AsRef<Node> for HtmlFieldSetElement
sourceimpl AsRef<Node> for HtmlFontElement
impl AsRef<Node> for HtmlFontElement
sourceimpl AsRef<Node> for HtmlFormElement
impl AsRef<Node> for HtmlFormElement
sourceimpl AsRef<Node> for HtmlFrameElement
impl AsRef<Node> for HtmlFrameElement
sourceimpl AsRef<Node> for HtmlFrameSetElement
impl AsRef<Node> for HtmlFrameSetElement
sourceimpl AsRef<Node> for HtmlHeadElement
impl AsRef<Node> for HtmlHeadElement
sourceimpl AsRef<Node> for HtmlHeadingElement
impl AsRef<Node> for HtmlHeadingElement
sourceimpl AsRef<Node> for HtmlHrElement
impl AsRef<Node> for HtmlHrElement
sourceimpl AsRef<Node> for HtmlHtmlElement
impl AsRef<Node> for HtmlHtmlElement
sourceimpl AsRef<Node> for HtmlIFrameElement
impl AsRef<Node> for HtmlIFrameElement
sourceimpl AsRef<Node> for HtmlImageElement
impl AsRef<Node> for HtmlImageElement
sourceimpl AsRef<Node> for HtmlInputElement
impl AsRef<Node> for HtmlInputElement
sourceimpl AsRef<Node> for HtmlLabelElement
impl AsRef<Node> for HtmlLabelElement
sourceimpl AsRef<Node> for HtmlLegendElement
impl AsRef<Node> for HtmlLegendElement
sourceimpl AsRef<Node> for HtmlLiElement
impl AsRef<Node> for HtmlLiElement
sourceimpl AsRef<Node> for HtmlLinkElement
impl AsRef<Node> for HtmlLinkElement
sourceimpl AsRef<Node> for HtmlMapElement
impl AsRef<Node> for HtmlMapElement
sourceimpl AsRef<Node> for HtmlMediaElement
impl AsRef<Node> for HtmlMediaElement
sourceimpl AsRef<Node> for HtmlMenuElement
impl AsRef<Node> for HtmlMenuElement
sourceimpl AsRef<Node> for HtmlMenuItemElement
impl AsRef<Node> for HtmlMenuItemElement
sourceimpl AsRef<Node> for HtmlMetaElement
impl AsRef<Node> for HtmlMetaElement
sourceimpl AsRef<Node> for HtmlMeterElement
impl AsRef<Node> for HtmlMeterElement
sourceimpl AsRef<Node> for HtmlModElement
impl AsRef<Node> for HtmlModElement
sourceimpl AsRef<Node> for HtmlOListElement
impl AsRef<Node> for HtmlOListElement
sourceimpl AsRef<Node> for DocumentFragment
impl AsRef<Node> for DocumentFragment
sourceimpl AsRef<Node> for HtmlObjectElement
impl AsRef<Node> for HtmlObjectElement
sourceimpl AsRef<Node> for HtmlOptGroupElement
impl AsRef<Node> for HtmlOptGroupElement
sourceimpl AsRef<Node> for HtmlOptionElement
impl AsRef<Node> for HtmlOptionElement
sourceimpl AsRef<Node> for HtmlOutputElement
impl AsRef<Node> for HtmlOutputElement
sourceimpl AsRef<Node> for HtmlParagraphElement
impl AsRef<Node> for HtmlParagraphElement
sourceimpl AsRef<Node> for HtmlParamElement
impl AsRef<Node> for HtmlParamElement
sourceimpl AsRef<Node> for HtmlPictureElement
impl AsRef<Node> for HtmlPictureElement
sourceimpl AsRef<Node> for HtmlPreElement
impl AsRef<Node> for HtmlPreElement
sourceimpl AsRef<Node> for HtmlProgressElement
impl AsRef<Node> for HtmlProgressElement
sourceimpl AsRef<Node> for HtmlQuoteElement
impl AsRef<Node> for HtmlQuoteElement
sourceimpl AsRef<Node> for DocumentType
impl AsRef<Node> for DocumentType
sourceimpl AsRef<Node> for HtmlScriptElement
impl AsRef<Node> for HtmlScriptElement
sourceimpl AsRef<Node> for HtmlSelectElement
impl AsRef<Node> for HtmlSelectElement
sourceimpl AsRef<Node> for HtmlSlotElement
impl AsRef<Node> for HtmlSlotElement
sourceimpl AsRef<Node> for HtmlSourceElement
impl AsRef<Node> for HtmlSourceElement
sourceimpl AsRef<Node> for HtmlSpanElement
impl AsRef<Node> for HtmlSpanElement
sourceimpl AsRef<Node> for HtmlStyleElement
impl AsRef<Node> for HtmlStyleElement
sourceimpl AsRef<Node> for HtmlTableCaptionElement
impl AsRef<Node> for HtmlTableCaptionElement
sourceimpl AsRef<Node> for HtmlTableCellElement
impl AsRef<Node> for HtmlTableCellElement
sourceimpl AsRef<Node> for HtmlTableColElement
impl AsRef<Node> for HtmlTableColElement
sourceimpl AsRef<Node> for HtmlTableElement
impl AsRef<Node> for HtmlTableElement
sourceimpl AsRef<Node> for HtmlTableRowElement
impl AsRef<Node> for HtmlTableRowElement
sourceimpl AsRef<Node> for HtmlTableSectionElement
impl AsRef<Node> for HtmlTableSectionElement
sourceimpl AsRef<Node> for HtmlTemplateElement
impl AsRef<Node> for HtmlTemplateElement
sourceimpl AsRef<Node> for HtmlTextAreaElement
impl AsRef<Node> for HtmlTextAreaElement
sourceimpl AsRef<Node> for HtmlTimeElement
impl AsRef<Node> for HtmlTimeElement
sourceimpl AsRef<Node> for HtmlTitleElement
impl AsRef<Node> for HtmlTitleElement
sourceimpl AsRef<Node> for HtmlTrackElement
impl AsRef<Node> for HtmlTrackElement
sourceimpl AsRef<Node> for HtmlUListElement
impl AsRef<Node> for HtmlUListElement
sourceimpl AsRef<Node> for HtmlUnknownElement
impl AsRef<Node> for HtmlUnknownElement
sourceimpl AsRef<Node> for HtmlVideoElement
impl AsRef<Node> for HtmlVideoElement
sourceimpl AsRef<Node> for HtmlAnchorElement
impl AsRef<Node> for HtmlAnchorElement
sourceimpl AsRef<Node> for ProcessingInstruction
impl AsRef<Node> for ProcessingInstruction
sourceimpl AsRef<Node> for ShadowRoot
impl AsRef<Node> for ShadowRoot
sourceimpl AsRef<Node> for SvgAnimateElement
impl AsRef<Node> for SvgAnimateElement
sourceimpl AsRef<Node> for SvgAnimateMotionElement
impl AsRef<Node> for SvgAnimateMotionElement
sourceimpl AsRef<Node> for SvgAnimateTransformElement
impl AsRef<Node> for SvgAnimateTransformElement
sourceimpl AsRef<Node> for SvgAnimationElement
impl AsRef<Node> for SvgAnimationElement
sourceimpl AsRef<Node> for SvgCircleElement
impl AsRef<Node> for SvgCircleElement
sourceimpl AsRef<Node> for SvgClipPathElement
impl AsRef<Node> for SvgClipPathElement
sourceimpl AsRef<Node> for HtmlAreaElement
impl AsRef<Node> for HtmlAreaElement
sourceimpl AsRef<Node> for SvgDefsElement
impl AsRef<Node> for SvgDefsElement
sourceimpl AsRef<Node> for SvgDescElement
impl AsRef<Node> for SvgDescElement
sourceimpl AsRef<Node> for SvgElement
impl AsRef<Node> for SvgElement
sourceimpl AsRef<Node> for SvgEllipseElement
impl AsRef<Node> for SvgEllipseElement
sourceimpl AsRef<Node> for SvgFilterElement
impl AsRef<Node> for SvgFilterElement
sourceimpl AsRef<Node> for SvgForeignObjectElement
impl AsRef<Node> for SvgForeignObjectElement
sourceimpl AsRef<Node> for SvgGeometryElement
impl AsRef<Node> for SvgGeometryElement
sourceimpl AsRef<Node> for SvgGradientElement
impl AsRef<Node> for SvgGradientElement
sourceimpl AsRef<Node> for SvgGraphicsElement
impl AsRef<Node> for SvgGraphicsElement
sourceimpl AsRef<Node> for SvgImageElement
impl AsRef<Node> for SvgImageElement
sourceimpl Deref for Node
impl Deref for Node
type Target = EventTarget
type Target = EventTarget
The resulting type after dereferencing.
sourcefn deref(&self) -> &EventTarget
fn deref(&self) -> &EventTarget
Dereferences the value.
sourceimpl From<CdataSection> for Node
impl From<CdataSection> for Node
sourcefn from(obj: CdataSection) -> Node
fn from(obj: CdataSection) -> Node
Converts to this type from the input type.
sourceimpl From<CharacterData> for Node
impl From<CharacterData> for Node
sourcefn from(obj: CharacterData) -> Node
fn from(obj: CharacterData) -> Node
Converts to this type from the input type.
sourceimpl From<DocumentFragment> for Node
impl From<DocumentFragment> for Node
sourcefn from(obj: DocumentFragment) -> Node
fn from(obj: DocumentFragment) -> Node
Converts to this type from the input type.
sourceimpl From<DocumentType> for Node
impl From<DocumentType> for Node
sourcefn from(obj: DocumentType) -> Node
fn from(obj: DocumentType) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlAnchorElement> for Node
impl From<HtmlAnchorElement> for Node
sourcefn from(obj: HtmlAnchorElement) -> Node
fn from(obj: HtmlAnchorElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlAreaElement> for Node
impl From<HtmlAreaElement> for Node
sourcefn from(obj: HtmlAreaElement) -> Node
fn from(obj: HtmlAreaElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlAudioElement> for Node
impl From<HtmlAudioElement> for Node
sourcefn from(obj: HtmlAudioElement) -> Node
fn from(obj: HtmlAudioElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlBaseElement> for Node
impl From<HtmlBaseElement> for Node
sourcefn from(obj: HtmlBaseElement) -> Node
fn from(obj: HtmlBaseElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlBodyElement> for Node
impl From<HtmlBodyElement> for Node
sourcefn from(obj: HtmlBodyElement) -> Node
fn from(obj: HtmlBodyElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlBrElement> for Node
impl From<HtmlBrElement> for Node
sourcefn from(obj: HtmlBrElement) -> Node
fn from(obj: HtmlBrElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlButtonElement> for Node
impl From<HtmlButtonElement> for Node
sourcefn from(obj: HtmlButtonElement) -> Node
fn from(obj: HtmlButtonElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlCanvasElement> for Node
impl From<HtmlCanvasElement> for Node
sourcefn from(obj: HtmlCanvasElement) -> Node
fn from(obj: HtmlCanvasElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDListElement> for Node
impl From<HtmlDListElement> for Node
sourcefn from(obj: HtmlDListElement) -> Node
fn from(obj: HtmlDListElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDataElement> for Node
impl From<HtmlDataElement> for Node
sourcefn from(obj: HtmlDataElement) -> Node
fn from(obj: HtmlDataElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDataListElement> for Node
impl From<HtmlDataListElement> for Node
sourcefn from(obj: HtmlDataListElement) -> Node
fn from(obj: HtmlDataListElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDetailsElement> for Node
impl From<HtmlDetailsElement> for Node
sourcefn from(obj: HtmlDetailsElement) -> Node
fn from(obj: HtmlDetailsElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDialogElement> for Node
impl From<HtmlDialogElement> for Node
sourcefn from(obj: HtmlDialogElement) -> Node
fn from(obj: HtmlDialogElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDirectoryElement> for Node
impl From<HtmlDirectoryElement> for Node
sourcefn from(obj: HtmlDirectoryElement) -> Node
fn from(obj: HtmlDirectoryElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDivElement> for Node
impl From<HtmlDivElement> for Node
sourcefn from(obj: HtmlDivElement) -> Node
fn from(obj: HtmlDivElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlDocument> for Node
impl From<HtmlDocument> for Node
sourcefn from(obj: HtmlDocument) -> Node
fn from(obj: HtmlDocument) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlElement> for Node
impl From<HtmlElement> for Node
sourcefn from(obj: HtmlElement) -> Node
fn from(obj: HtmlElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlEmbedElement> for Node
impl From<HtmlEmbedElement> for Node
sourcefn from(obj: HtmlEmbedElement) -> Node
fn from(obj: HtmlEmbedElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlFieldSetElement> for Node
impl From<HtmlFieldSetElement> for Node
sourcefn from(obj: HtmlFieldSetElement) -> Node
fn from(obj: HtmlFieldSetElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlFontElement> for Node
impl From<HtmlFontElement> for Node
sourcefn from(obj: HtmlFontElement) -> Node
fn from(obj: HtmlFontElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlFormElement> for Node
impl From<HtmlFormElement> for Node
sourcefn from(obj: HtmlFormElement) -> Node
fn from(obj: HtmlFormElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlFrameElement> for Node
impl From<HtmlFrameElement> for Node
sourcefn from(obj: HtmlFrameElement) -> Node
fn from(obj: HtmlFrameElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlFrameSetElement> for Node
impl From<HtmlFrameSetElement> for Node
sourcefn from(obj: HtmlFrameSetElement) -> Node
fn from(obj: HtmlFrameSetElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlHeadElement> for Node
impl From<HtmlHeadElement> for Node
sourcefn from(obj: HtmlHeadElement) -> Node
fn from(obj: HtmlHeadElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlHeadingElement> for Node
impl From<HtmlHeadingElement> for Node
sourcefn from(obj: HtmlHeadingElement) -> Node
fn from(obj: HtmlHeadingElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlHrElement> for Node
impl From<HtmlHrElement> for Node
sourcefn from(obj: HtmlHrElement) -> Node
fn from(obj: HtmlHrElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlHtmlElement> for Node
impl From<HtmlHtmlElement> for Node
sourcefn from(obj: HtmlHtmlElement) -> Node
fn from(obj: HtmlHtmlElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlIFrameElement> for Node
impl From<HtmlIFrameElement> for Node
sourcefn from(obj: HtmlIFrameElement) -> Node
fn from(obj: HtmlIFrameElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlImageElement> for Node
impl From<HtmlImageElement> for Node
sourcefn from(obj: HtmlImageElement) -> Node
fn from(obj: HtmlImageElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlInputElement> for Node
impl From<HtmlInputElement> for Node
sourcefn from(obj: HtmlInputElement) -> Node
fn from(obj: HtmlInputElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlLabelElement> for Node
impl From<HtmlLabelElement> for Node
sourcefn from(obj: HtmlLabelElement) -> Node
fn from(obj: HtmlLabelElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlLegendElement> for Node
impl From<HtmlLegendElement> for Node
sourcefn from(obj: HtmlLegendElement) -> Node
fn from(obj: HtmlLegendElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlLiElement> for Node
impl From<HtmlLiElement> for Node
sourcefn from(obj: HtmlLiElement) -> Node
fn from(obj: HtmlLiElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlLinkElement> for Node
impl From<HtmlLinkElement> for Node
sourcefn from(obj: HtmlLinkElement) -> Node
fn from(obj: HtmlLinkElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlMapElement> for Node
impl From<HtmlMapElement> for Node
sourcefn from(obj: HtmlMapElement) -> Node
fn from(obj: HtmlMapElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlMediaElement> for Node
impl From<HtmlMediaElement> for Node
sourcefn from(obj: HtmlMediaElement) -> Node
fn from(obj: HtmlMediaElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlMenuElement> for Node
impl From<HtmlMenuElement> for Node
sourcefn from(obj: HtmlMenuElement) -> Node
fn from(obj: HtmlMenuElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlMenuItemElement> for Node
impl From<HtmlMenuItemElement> for Node
sourcefn from(obj: HtmlMenuItemElement) -> Node
fn from(obj: HtmlMenuItemElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlMetaElement> for Node
impl From<HtmlMetaElement> for Node
sourcefn from(obj: HtmlMetaElement) -> Node
fn from(obj: HtmlMetaElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlMeterElement> for Node
impl From<HtmlMeterElement> for Node
sourcefn from(obj: HtmlMeterElement) -> Node
fn from(obj: HtmlMeterElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlModElement> for Node
impl From<HtmlModElement> for Node
sourcefn from(obj: HtmlModElement) -> Node
fn from(obj: HtmlModElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlOListElement> for Node
impl From<HtmlOListElement> for Node
sourcefn from(obj: HtmlOListElement) -> Node
fn from(obj: HtmlOListElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlObjectElement> for Node
impl From<HtmlObjectElement> for Node
sourcefn from(obj: HtmlObjectElement) -> Node
fn from(obj: HtmlObjectElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlOptGroupElement> for Node
impl From<HtmlOptGroupElement> for Node
sourcefn from(obj: HtmlOptGroupElement) -> Node
fn from(obj: HtmlOptGroupElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlOptionElement> for Node
impl From<HtmlOptionElement> for Node
sourcefn from(obj: HtmlOptionElement) -> Node
fn from(obj: HtmlOptionElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlOutputElement> for Node
impl From<HtmlOutputElement> for Node
sourcefn from(obj: HtmlOutputElement) -> Node
fn from(obj: HtmlOutputElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlParagraphElement> for Node
impl From<HtmlParagraphElement> for Node
sourcefn from(obj: HtmlParagraphElement) -> Node
fn from(obj: HtmlParagraphElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlParamElement> for Node
impl From<HtmlParamElement> for Node
sourcefn from(obj: HtmlParamElement) -> Node
fn from(obj: HtmlParamElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlPictureElement> for Node
impl From<HtmlPictureElement> for Node
sourcefn from(obj: HtmlPictureElement) -> Node
fn from(obj: HtmlPictureElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlPreElement> for Node
impl From<HtmlPreElement> for Node
sourcefn from(obj: HtmlPreElement) -> Node
fn from(obj: HtmlPreElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlProgressElement> for Node
impl From<HtmlProgressElement> for Node
sourcefn from(obj: HtmlProgressElement) -> Node
fn from(obj: HtmlProgressElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlQuoteElement> for Node
impl From<HtmlQuoteElement> for Node
sourcefn from(obj: HtmlQuoteElement) -> Node
fn from(obj: HtmlQuoteElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlScriptElement> for Node
impl From<HtmlScriptElement> for Node
sourcefn from(obj: HtmlScriptElement) -> Node
fn from(obj: HtmlScriptElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlSelectElement> for Node
impl From<HtmlSelectElement> for Node
sourcefn from(obj: HtmlSelectElement) -> Node
fn from(obj: HtmlSelectElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlSlotElement> for Node
impl From<HtmlSlotElement> for Node
sourcefn from(obj: HtmlSlotElement) -> Node
fn from(obj: HtmlSlotElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlSourceElement> for Node
impl From<HtmlSourceElement> for Node
sourcefn from(obj: HtmlSourceElement) -> Node
fn from(obj: HtmlSourceElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlSpanElement> for Node
impl From<HtmlSpanElement> for Node
sourcefn from(obj: HtmlSpanElement) -> Node
fn from(obj: HtmlSpanElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlStyleElement> for Node
impl From<HtmlStyleElement> for Node
sourcefn from(obj: HtmlStyleElement) -> Node
fn from(obj: HtmlStyleElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTableCaptionElement> for Node
impl From<HtmlTableCaptionElement> for Node
sourcefn from(obj: HtmlTableCaptionElement) -> Node
fn from(obj: HtmlTableCaptionElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTableCellElement> for Node
impl From<HtmlTableCellElement> for Node
sourcefn from(obj: HtmlTableCellElement) -> Node
fn from(obj: HtmlTableCellElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTableColElement> for Node
impl From<HtmlTableColElement> for Node
sourcefn from(obj: HtmlTableColElement) -> Node
fn from(obj: HtmlTableColElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTableElement> for Node
impl From<HtmlTableElement> for Node
sourcefn from(obj: HtmlTableElement) -> Node
fn from(obj: HtmlTableElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTableRowElement> for Node
impl From<HtmlTableRowElement> for Node
sourcefn from(obj: HtmlTableRowElement) -> Node
fn from(obj: HtmlTableRowElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTableSectionElement> for Node
impl From<HtmlTableSectionElement> for Node
sourcefn from(obj: HtmlTableSectionElement) -> Node
fn from(obj: HtmlTableSectionElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTemplateElement> for Node
impl From<HtmlTemplateElement> for Node
sourcefn from(obj: HtmlTemplateElement) -> Node
fn from(obj: HtmlTemplateElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTextAreaElement> for Node
impl From<HtmlTextAreaElement> for Node
sourcefn from(obj: HtmlTextAreaElement) -> Node
fn from(obj: HtmlTextAreaElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTimeElement> for Node
impl From<HtmlTimeElement> for Node
sourcefn from(obj: HtmlTimeElement) -> Node
fn from(obj: HtmlTimeElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTitleElement> for Node
impl From<HtmlTitleElement> for Node
sourcefn from(obj: HtmlTitleElement) -> Node
fn from(obj: HtmlTitleElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlTrackElement> for Node
impl From<HtmlTrackElement> for Node
sourcefn from(obj: HtmlTrackElement) -> Node
fn from(obj: HtmlTrackElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlUListElement> for Node
impl From<HtmlUListElement> for Node
sourcefn from(obj: HtmlUListElement) -> Node
fn from(obj: HtmlUListElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlUnknownElement> for Node
impl From<HtmlUnknownElement> for Node
sourcefn from(obj: HtmlUnknownElement) -> Node
fn from(obj: HtmlUnknownElement) -> Node
Converts to this type from the input type.
sourceimpl From<HtmlVideoElement> for Node
impl From<HtmlVideoElement> for Node
sourcefn from(obj: HtmlVideoElement) -> Node
fn from(obj: HtmlVideoElement) -> Node
Converts to this type from the input type.
sourceimpl From<Node> for EventTarget
impl From<Node> for EventTarget
sourcefn from(obj: Node) -> EventTarget
fn from(obj: Node) -> EventTarget
Converts to this type from the input type.
sourceimpl From<ProcessingInstruction> for Node
impl From<ProcessingInstruction> for Node
sourcefn from(obj: ProcessingInstruction) -> Node
fn from(obj: ProcessingInstruction) -> Node
Converts to this type from the input type.
sourceimpl From<ShadowRoot> for Node
impl From<ShadowRoot> for Node
sourcefn from(obj: ShadowRoot) -> Node
fn from(obj: ShadowRoot) -> Node
Converts to this type from the input type.
sourceimpl From<SvgAnimateElement> for Node
impl From<SvgAnimateElement> for Node
sourcefn from(obj: SvgAnimateElement) -> Node
fn from(obj: SvgAnimateElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgAnimateMotionElement> for Node
impl From<SvgAnimateMotionElement> for Node
sourcefn from(obj: SvgAnimateMotionElement) -> Node
fn from(obj: SvgAnimateMotionElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgAnimateTransformElement> for Node
impl From<SvgAnimateTransformElement> for Node
sourcefn from(obj: SvgAnimateTransformElement) -> Node
fn from(obj: SvgAnimateTransformElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgAnimationElement> for Node
impl From<SvgAnimationElement> for Node
sourcefn from(obj: SvgAnimationElement) -> Node
fn from(obj: SvgAnimationElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgCircleElement> for Node
impl From<SvgCircleElement> for Node
sourcefn from(obj: SvgCircleElement) -> Node
fn from(obj: SvgCircleElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgClipPathElement> for Node
impl From<SvgClipPathElement> for Node
sourcefn from(obj: SvgClipPathElement) -> Node
fn from(obj: SvgClipPathElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgComponentTransferFunctionElement> for Node
impl From<SvgComponentTransferFunctionElement> for Node
sourcefn from(obj: SvgComponentTransferFunctionElement) -> Node
fn from(obj: SvgComponentTransferFunctionElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgDefsElement> for Node
impl From<SvgDefsElement> for Node
sourcefn from(obj: SvgDefsElement) -> Node
fn from(obj: SvgDefsElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgDescElement> for Node
impl From<SvgDescElement> for Node
sourcefn from(obj: SvgDescElement) -> Node
fn from(obj: SvgDescElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgElement> for Node
impl From<SvgElement> for Node
sourcefn from(obj: SvgElement) -> Node
fn from(obj: SvgElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgEllipseElement> for Node
impl From<SvgEllipseElement> for Node
sourcefn from(obj: SvgEllipseElement) -> Node
fn from(obj: SvgEllipseElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgFilterElement> for Node
impl From<SvgFilterElement> for Node
sourcefn from(obj: SvgFilterElement) -> Node
fn from(obj: SvgFilterElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgForeignObjectElement> for Node
impl From<SvgForeignObjectElement> for Node
sourcefn from(obj: SvgForeignObjectElement) -> Node
fn from(obj: SvgForeignObjectElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgGeometryElement> for Node
impl From<SvgGeometryElement> for Node
sourcefn from(obj: SvgGeometryElement) -> Node
fn from(obj: SvgGeometryElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgGradientElement> for Node
impl From<SvgGradientElement> for Node
sourcefn from(obj: SvgGradientElement) -> Node
fn from(obj: SvgGradientElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgGraphicsElement> for Node
impl From<SvgGraphicsElement> for Node
sourcefn from(obj: SvgGraphicsElement) -> Node
fn from(obj: SvgGraphicsElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgImageElement> for Node
impl From<SvgImageElement> for Node
sourcefn from(obj: SvgImageElement) -> Node
fn from(obj: SvgImageElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgLineElement> for Node
impl From<SvgLineElement> for Node
sourcefn from(obj: SvgLineElement) -> Node
fn from(obj: SvgLineElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgLinearGradientElement> for Node
impl From<SvgLinearGradientElement> for Node
sourcefn from(obj: SvgLinearGradientElement) -> Node
fn from(obj: SvgLinearGradientElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgMarkerElement> for Node
impl From<SvgMarkerElement> for Node
sourcefn from(obj: SvgMarkerElement) -> Node
fn from(obj: SvgMarkerElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgMaskElement> for Node
impl From<SvgMaskElement> for Node
sourcefn from(obj: SvgMaskElement) -> Node
fn from(obj: SvgMaskElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgMetadataElement> for Node
impl From<SvgMetadataElement> for Node
sourcefn from(obj: SvgMetadataElement) -> Node
fn from(obj: SvgMetadataElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgPathElement> for Node
impl From<SvgPathElement> for Node
sourcefn from(obj: SvgPathElement) -> Node
fn from(obj: SvgPathElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgPatternElement> for Node
impl From<SvgPatternElement> for Node
sourcefn from(obj: SvgPatternElement) -> Node
fn from(obj: SvgPatternElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgPolygonElement> for Node
impl From<SvgPolygonElement> for Node
sourcefn from(obj: SvgPolygonElement) -> Node
fn from(obj: SvgPolygonElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgPolylineElement> for Node
impl From<SvgPolylineElement> for Node
sourcefn from(obj: SvgPolylineElement) -> Node
fn from(obj: SvgPolylineElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgRadialGradientElement> for Node
impl From<SvgRadialGradientElement> for Node
sourcefn from(obj: SvgRadialGradientElement) -> Node
fn from(obj: SvgRadialGradientElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgRectElement> for Node
impl From<SvgRectElement> for Node
sourcefn from(obj: SvgRectElement) -> Node
fn from(obj: SvgRectElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgScriptElement> for Node
impl From<SvgScriptElement> for Node
sourcefn from(obj: SvgScriptElement) -> Node
fn from(obj: SvgScriptElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgSetElement> for Node
impl From<SvgSetElement> for Node
sourcefn from(obj: SvgSetElement) -> Node
fn from(obj: SvgSetElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgStopElement> for Node
impl From<SvgStopElement> for Node
sourcefn from(obj: SvgStopElement) -> Node
fn from(obj: SvgStopElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgStyleElement> for Node
impl From<SvgStyleElement> for Node
sourcefn from(obj: SvgStyleElement) -> Node
fn from(obj: SvgStyleElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgSwitchElement> for Node
impl From<SvgSwitchElement> for Node
sourcefn from(obj: SvgSwitchElement) -> Node
fn from(obj: SvgSwitchElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgSymbolElement> for Node
impl From<SvgSymbolElement> for Node
sourcefn from(obj: SvgSymbolElement) -> Node
fn from(obj: SvgSymbolElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgTextContentElement> for Node
impl From<SvgTextContentElement> for Node
sourcefn from(obj: SvgTextContentElement) -> Node
fn from(obj: SvgTextContentElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgTextElement> for Node
impl From<SvgTextElement> for Node
sourcefn from(obj: SvgTextElement) -> Node
fn from(obj: SvgTextElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgTextPathElement> for Node
impl From<SvgTextPathElement> for Node
sourcefn from(obj: SvgTextPathElement) -> Node
fn from(obj: SvgTextPathElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgTextPositioningElement> for Node
impl From<SvgTextPositioningElement> for Node
sourcefn from(obj: SvgTextPositioningElement) -> Node
fn from(obj: SvgTextPositioningElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgTitleElement> for Node
impl From<SvgTitleElement> for Node
sourcefn from(obj: SvgTitleElement) -> Node
fn from(obj: SvgTitleElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgUseElement> for Node
impl From<SvgUseElement> for Node
sourcefn from(obj: SvgUseElement) -> Node
fn from(obj: SvgUseElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgViewElement> for Node
impl From<SvgViewElement> for Node
sourcefn from(obj: SvgViewElement) -> Node
fn from(obj: SvgViewElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgaElement> for Node
impl From<SvgaElement> for Node
sourcefn from(obj: SvgaElement) -> Node
fn from(obj: SvgaElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeBlendElement> for Node
impl From<SvgfeBlendElement> for Node
sourcefn from(obj: SvgfeBlendElement) -> Node
fn from(obj: SvgfeBlendElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeColorMatrixElement> for Node
impl From<SvgfeColorMatrixElement> for Node
sourcefn from(obj: SvgfeColorMatrixElement) -> Node
fn from(obj: SvgfeColorMatrixElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeComponentTransferElement> for Node
impl From<SvgfeComponentTransferElement> for Node
sourcefn from(obj: SvgfeComponentTransferElement) -> Node
fn from(obj: SvgfeComponentTransferElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeCompositeElement> for Node
impl From<SvgfeCompositeElement> for Node
sourcefn from(obj: SvgfeCompositeElement) -> Node
fn from(obj: SvgfeCompositeElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeConvolveMatrixElement> for Node
impl From<SvgfeConvolveMatrixElement> for Node
sourcefn from(obj: SvgfeConvolveMatrixElement) -> Node
fn from(obj: SvgfeConvolveMatrixElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeDiffuseLightingElement> for Node
impl From<SvgfeDiffuseLightingElement> for Node
sourcefn from(obj: SvgfeDiffuseLightingElement) -> Node
fn from(obj: SvgfeDiffuseLightingElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeDisplacementMapElement> for Node
impl From<SvgfeDisplacementMapElement> for Node
sourcefn from(obj: SvgfeDisplacementMapElement) -> Node
fn from(obj: SvgfeDisplacementMapElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeDistantLightElement> for Node
impl From<SvgfeDistantLightElement> for Node
sourcefn from(obj: SvgfeDistantLightElement) -> Node
fn from(obj: SvgfeDistantLightElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeDropShadowElement> for Node
impl From<SvgfeDropShadowElement> for Node
sourcefn from(obj: SvgfeDropShadowElement) -> Node
fn from(obj: SvgfeDropShadowElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeFloodElement> for Node
impl From<SvgfeFloodElement> for Node
sourcefn from(obj: SvgfeFloodElement) -> Node
fn from(obj: SvgfeFloodElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeFuncAElement> for Node
impl From<SvgfeFuncAElement> for Node
sourcefn from(obj: SvgfeFuncAElement) -> Node
fn from(obj: SvgfeFuncAElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeFuncBElement> for Node
impl From<SvgfeFuncBElement> for Node
sourcefn from(obj: SvgfeFuncBElement) -> Node
fn from(obj: SvgfeFuncBElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeFuncGElement> for Node
impl From<SvgfeFuncGElement> for Node
sourcefn from(obj: SvgfeFuncGElement) -> Node
fn from(obj: SvgfeFuncGElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeFuncRElement> for Node
impl From<SvgfeFuncRElement> for Node
sourcefn from(obj: SvgfeFuncRElement) -> Node
fn from(obj: SvgfeFuncRElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeGaussianBlurElement> for Node
impl From<SvgfeGaussianBlurElement> for Node
sourcefn from(obj: SvgfeGaussianBlurElement) -> Node
fn from(obj: SvgfeGaussianBlurElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeImageElement> for Node
impl From<SvgfeImageElement> for Node
sourcefn from(obj: SvgfeImageElement) -> Node
fn from(obj: SvgfeImageElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeMergeElement> for Node
impl From<SvgfeMergeElement> for Node
sourcefn from(obj: SvgfeMergeElement) -> Node
fn from(obj: SvgfeMergeElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeMergeNodeElement> for Node
impl From<SvgfeMergeNodeElement> for Node
sourcefn from(obj: SvgfeMergeNodeElement) -> Node
fn from(obj: SvgfeMergeNodeElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeMorphologyElement> for Node
impl From<SvgfeMorphologyElement> for Node
sourcefn from(obj: SvgfeMorphologyElement) -> Node
fn from(obj: SvgfeMorphologyElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeOffsetElement> for Node
impl From<SvgfeOffsetElement> for Node
sourcefn from(obj: SvgfeOffsetElement) -> Node
fn from(obj: SvgfeOffsetElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfePointLightElement> for Node
impl From<SvgfePointLightElement> for Node
sourcefn from(obj: SvgfePointLightElement) -> Node
fn from(obj: SvgfePointLightElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeSpecularLightingElement> for Node
impl From<SvgfeSpecularLightingElement> for Node
sourcefn from(obj: SvgfeSpecularLightingElement) -> Node
fn from(obj: SvgfeSpecularLightingElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeSpotLightElement> for Node
impl From<SvgfeSpotLightElement> for Node
sourcefn from(obj: SvgfeSpotLightElement) -> Node
fn from(obj: SvgfeSpotLightElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeTileElement> for Node
impl From<SvgfeTileElement> for Node
sourcefn from(obj: SvgfeTileElement) -> Node
fn from(obj: SvgfeTileElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgfeTurbulenceElement> for Node
impl From<SvgfeTurbulenceElement> for Node
sourcefn from(obj: SvgfeTurbulenceElement) -> Node
fn from(obj: SvgfeTurbulenceElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvggElement> for Node
impl From<SvggElement> for Node
sourcefn from(obj: SvggElement) -> Node
fn from(obj: SvggElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgmPathElement> for Node
impl From<SvgmPathElement> for Node
sourcefn from(obj: SvgmPathElement) -> Node
fn from(obj: SvgmPathElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgsvgElement> for Node
impl From<SvgsvgElement> for Node
sourcefn from(obj: SvgsvgElement) -> Node
fn from(obj: SvgsvgElement) -> Node
Converts to this type from the input type.
sourceimpl From<SvgtSpanElement> for Node
impl From<SvgtSpanElement> for Node
sourcefn from(obj: SvgtSpanElement) -> Node
fn from(obj: SvgtSpanElement) -> Node
Converts to this type from the input type.
sourceimpl From<XmlDocument> for Node
impl From<XmlDocument> for Node
sourcefn from(obj: XmlDocument) -> Node
fn from(obj: XmlDocument) -> Node
Converts to this type from the input type.
sourceimpl FromWasmAbi for Node
impl FromWasmAbi for Node
sourceimpl IntoWasmAbi for Node
impl IntoWasmAbi for Node
sourceimpl<'a> IntoWasmAbi for &'a Node
impl<'a> IntoWasmAbi for &'a Node
sourceimpl JsCast for Node
impl JsCast for Node
sourcefn 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 more
sourcefn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js(val: JsValue) -> Self
Performs a zero-cost unchecked conversion from a JsValue
into an
instance of Self
Read more
sourcefn unchecked_from_js_ref(val: &JsValue) -> &Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self
Performs a zero-cost unchecked conversion from a &JsValue
into an
instance of &Self
. Read more
sourcefn has_type<T>(&self) -> bool where
T: JsCast,
fn has_type<T>(&self) -> bool where
T: JsCast,
Test whether this JS value has a type T
. Read more
sourcefn 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 more
sourcefn 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 more
sourcefn unchecked_into<T>(self) -> T where
T: JsCast,
fn unchecked_into<T>(self) -> T where
T: JsCast,
Performs a zero-cost unchecked cast into the specified type. Read more
sourcefn unchecked_ref<T>(&self) -> &T where
T: JsCast,
fn unchecked_ref<T>(&self) -> &T where
T: JsCast,
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
sourcefn is_instance_of<T>(&self) -> bool where
T: JsCast,
fn is_instance_of<T>(&self) -> bool where
T: JsCast,
Test whether this JS value is an instance of the type T
. Read more
sourcefn is_type_of(val: &JsValue) -> bool
fn is_type_of(val: &JsValue) -> bool
Performs a dynamic check to see whether the JsValue
provided
is a value of this type. Read more
sourceimpl OptionFromWasmAbi for Node
impl OptionFromWasmAbi for Node
sourceimpl OptionIntoWasmAbi for Node
impl OptionIntoWasmAbi for Node
sourceimpl<'a> OptionIntoWasmAbi for &'a Node
impl<'a> OptionIntoWasmAbi for &'a Node
sourceimpl RefFromWasmAbi for Node
impl RefFromWasmAbi for Node
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<Node>
type Anchor = ManuallyDrop<Node>
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
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor
from Self::Abi
. Read more
impl Eq for Node
impl StructuralEq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations
impl RefUnwindSafe for Node
impl !Send for Node
impl !Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more