Struct ChildNode

Source
pub struct ChildNode(/* private fields */);

Implementations§

Source§

impl ChildNode

Source

pub fn remove(&self) -> JsNullish

Source

pub fn replace_with(&self, nodes: &dyn ToJs<Array<JsValue>>) -> JsNullish

Source

pub fn before(&self, nodes: &dyn ToJs<Array<JsValue>>) -> JsNullish

Source

pub fn after(&self, nodes: &dyn ToJs<Array<JsValue>>) -> JsNullish

Methods from Deref<Target = Node>§

Source

pub fn normalize(&self) -> JsNullish

Source

pub fn has_child_nodes(&self) -> JsBoolean

Source

pub fn remove_child<T: JsCast + AsRef<Node> + Into<Node>>( &self, child: &dyn ToJs<T>, ) -> T

Source

pub fn lookup_prefix( &self, namespace: &dyn ToJs<JsNullable<JsString>>, ) -> JsNullable<JsString>

Source

pub fn lookup_namespace_uri( &self, prefix: &dyn ToJs<JsNullable<JsString>>, ) -> JsNullable<JsString>

Source

pub fn is_same_node(&self, otherNode: &dyn ToJs<JsNullable<Node>>) -> JsBoolean

Source

pub fn is_equal_node(&self, otherNode: &dyn ToJs<JsNullable<Node>>) -> JsBoolean

Source

pub fn is_default_namespace( &self, namespace: &dyn ToJs<JsNullable<JsString>>, ) -> JsBoolean

Source

pub fn get_root_node( &self, options: &dyn ToJs<JsNullable<GetRootNodeOptions>>, ) -> Node

Source

pub fn contains(&self, other: &dyn ToJs<JsNullable<Node>>) -> JsBoolean

Source

pub fn compare_document_position(&self, other: &Node) -> JsNumber

Source

pub fn clone_node(&self, deep: &dyn ToJs<JsNullable<JsBoolean>>) -> Node

Source

pub fn append_child<T: JsCast + AsRef<Node> + Into<Node>>( &self, node: &dyn ToJs<T>, ) -> T

Source

pub fn replace_child<T: JsCast + AsRef<Node> + Into<Node>>( &self, node: &Node, child: &dyn ToJs<T>, ) -> T

Source

pub fn insert_before<T: JsCast + AsRef<Node> + Into<Node>>( &self, node: &dyn ToJs<T>, child: &dyn ToJs<JsNullable<Node>>, ) -> T

Source

pub fn get_document__position__implementation__specific(&self) -> JsNumber

Source

pub fn set_document__position__implementation__specific( &self, value: &dyn ToJs<JsNumber>, )

Source

pub fn get_document__position__contained__by(&self) -> JsNumber

Source

pub fn set_document__position__contained__by(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_document__position__contains(&self) -> JsNumber

Source

pub fn set_document__position__contains(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_document__position__following(&self) -> JsNumber

Source

pub fn set_document__position__following(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_document__position__preceding(&self) -> JsNumber

Source

pub fn set_document__position__preceding(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_document__position__disconnected(&self) -> JsNumber

Source

pub fn set_document__position__disconnected(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_notation__node(&self) -> JsNumber

Source

pub fn set_notation__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_document__fragment__node(&self) -> JsNumber

Source

pub fn set_document__fragment__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_document__type__node(&self) -> JsNumber

Source

pub fn set_document__type__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_document__node(&self) -> JsNumber

Source

pub fn set_document__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_comment__node(&self) -> JsNumber

Source

pub fn set_comment__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_processing__instruction__node(&self) -> JsNumber

Source

pub fn set_processing__instruction__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_entity__node(&self) -> JsNumber

Source

pub fn set_entity__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_entity__reference__node(&self) -> JsNumber

Source

pub fn set_entity__reference__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_cdata__section__node(&self) -> JsNumber

Source

pub fn set_cdata__section__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_text__node(&self) -> JsNumber

Source

pub fn set_text__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_attribute__node(&self) -> JsNumber

Source

pub fn set_attribute__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_element__node(&self) -> JsNumber

Source

pub fn set_element__node(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_text_content(&self) -> JsNullable<JsString>

Source

pub fn set_text_content(&self, value: &dyn ToJs<JsNullable<JsString>>)

Source

pub fn get_previous_sibling(&self) -> JsNullable<ChildNode>

Source

pub fn set_previous_sibling(&self, value: &dyn ToJs<JsNullable<ChildNode>>)

Source

pub fn get_parent_node(&self) -> JsNullable<ParentNode>

Source

pub fn set_parent_node(&self, value: &dyn ToJs<JsNullable<ParentNode>>)

Source

pub fn get_parent_element(&self) -> JsNullable<HTMLElement>

Source

pub fn set_parent_element(&self, value: &dyn ToJs<JsNullable<HTMLElement>>)

Source

pub fn get_owner_document(&self) -> JsNullable<Document>

Source

pub fn set_owner_document(&self, value: &dyn ToJs<JsNullable<Document>>)

Source

pub fn get_node_value(&self) -> JsNullable<JsString>

Source

pub fn set_node_value(&self, value: &dyn ToJs<JsNullable<JsString>>)

Source

pub fn get_node_type(&self) -> JsNumber

Source

pub fn set_node_type(&self, value: &dyn ToJs<JsNumber>)

Source

pub fn get_node_name(&self) -> JsString

Source

pub fn set_node_name(&self, value: &dyn ToJs<JsString>)

Source

pub fn get_next_sibling(&self) -> JsNullable<ChildNode>

Source

pub fn set_next_sibling(&self, value: &dyn ToJs<JsNullable<ChildNode>>)

Source

pub fn get_last_child(&self) -> JsNullable<ChildNode>

Source

pub fn set_last_child(&self, value: &dyn ToJs<JsNullable<ChildNode>>)

Source

pub fn get_is_connected(&self) -> JsBoolean

Source

pub fn set_is_connected(&self, value: &dyn ToJs<JsBoolean>)

Source

pub fn get_first_child(&self) -> JsNullable<ChildNode>

Source

pub fn set_first_child(&self, value: &dyn ToJs<JsNullable<ChildNode>>)

Source

pub fn get_child_nodes(&self) -> NodeListOf<ChildNode>

Source

pub fn set_child_nodes(&self, value: &dyn ToJs<NodeListOf<ChildNode>>)

Source

pub fn get_base_uri(&self) -> JsString

Source

pub fn set_base_uri(&self, value: &dyn ToJs<JsString>)

Methods from Deref<Target = EventTarget>§

Source

pub fn dispatch_event(&self, event: &Event) -> JsBoolean

Source

pub fn remove_event_listener( &self, type_: &dyn ToJs<JsString>, callback: &dyn ToJs<JsNullable<JsValue>>, options: &dyn ToJs<JsNullable<JsValue>>, ) -> JsNullish

Source

pub fn add_event_listener( &self, type_: &dyn ToJs<JsString>, callback: &dyn ToJs<JsNullable<JsValue>>, options: &dyn ToJs<JsNullable<JsValue>>, ) -> JsNullish

Methods from Deref<Target = JsObject>§

Source

pub fn js_get_field(&self, property: &dyn UseInJsCode) -> JsValue

Get a field value of in this object.

WSDOM provides built-in getters so you should use that instead when possible.

Use js_get_field only when needed

fn example(browser: Browser) {
    // you can get `window["location"]["href"]` like this
    let href: JsValue = wsdom::dom::location(&browser).js_get_field(&"href");

    // but you should use built-in getters instead
    let href: JsString = wsdom::dom::location(&browser).get_href();
}
Source

pub fn js_set_field(&self, property: &dyn UseInJsCode, value: &dyn UseInJsCode)

Set a field value of in this object.

WSDOM provides built-in setters so you should use that instead when possible.

Use js_set_field only when needed

fn example(browser: Browser) {
    // you can set `window["location"]["href"]` like this
    wsdom::dom::location(&browser).js_set_field(&"href", &"https://example.com/");

    // but you should use built-in setters instead
    wsdom::dom::location(&browser).set_href(&"https://example.com");
}
Source

pub fn js_call_method<'a>( &'a self, method_name: &'a str, args: impl IntoIterator<Item = &'a dyn UseInJsCode>, last_arg_variadic: bool, ) -> JsValue

Call a method on this object.

Most types in WSDOM already come with safe Rust wrappers for their methods, so you should use those instead.

fn example(browser: &Browser) {
    let console = wsdom::dom::console(browser);
    // you can call console.log like this
    console.js_call_method("log", [&"hello" as &_], false);
     
    // but the better way is to use
    wsdom::dom::console(&browser).log(&[&"Hello" as &_]);
}

Be aware that the first argument (method_name) is NOT escaped.

Set last_arg_variadic to true if you want to “spread” the last argument as obj.method(arg1, arg2, ...arg3).

Source

pub fn js_call_self<'a>( &'a self, args: impl IntoIterator<Item = &'a dyn UseInJsCode>, last_arg_variadic: bool, ) -> JsValue

Call this object: obj().

Most types in WSDOM already come with safe Rust wrappers for their methods, so you should use those instead.

Methods from Deref<Target = JsValue>§

Source

pub fn browser(&self) -> &Browser

Source

pub fn retrieve_json(&self) -> RetrieveFuture<'_, Value>

Retrive this value from the JS side to the Rust side. Returns Future whose output is a serde_json::Value.

§use wsdom::dom::Browser
§use wsdom::dom::HTMLInputElement;

async fn example(input: &HTMLInputElement) { let _val = input.get_value().retrieve_json().await; }

Trait Implementations§

Source§

impl AsRef<ChildNode> for CDATASection

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for CharacterData

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for ChildNode

Source§

fn as_ref(&self) -> &Self

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for Comment

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for DocumentType

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for Element

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLAnchorElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLAreaElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLAudioElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLBRElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLBaseElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLBodyElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLButtonElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLCanvasElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLDListElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLDataElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLDataListElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLDetailsElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLDialogElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLDirectoryElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLDivElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLEmbedElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLFieldSetElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLFontElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLFormElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLFrameElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLFrameSetElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLHRElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLHeadElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLHeadingElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLHtmlElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLIFrameElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLImageElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLInputElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLLIElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLLabelElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLLegendElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLLinkElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLMapElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLMarqueeElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLMediaElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLMenuElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLMetaElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLMeterElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLModElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLOListElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLObjectElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLOptGroupElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLOptionElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLOutputElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLParagraphElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLParamElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLPictureElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLPreElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLProgressElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLQuoteElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLScriptElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLSelectElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLSlotElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLSourceElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLSpanElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLStyleElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableCaptionElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableCellElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableColElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableDataCellElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableHeaderCellElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableRowElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTableSectionElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTemplateElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTextAreaElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTimeElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTitleElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLTrackElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLUListElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLUnknownElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for HTMLVideoElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for MathMLElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for ProcessingInstruction

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGAElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGAnimateElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGAnimateMotionElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGAnimateTransformElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGAnimationElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGCircleElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGClipPathElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGComponentTransferFunctionElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGDefsElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGDescElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGEllipseElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEBlendElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEColorMatrixElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEComponentTransferElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFECompositeElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEConvolveMatrixElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEDiffuseLightingElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEDisplacementMapElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEDistantLightElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEDropShadowElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEFloodElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEFuncAElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEFuncBElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEFuncGElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEFuncRElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEGaussianBlurElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEImageElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEMergeElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEMergeNodeElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEMorphologyElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEOffsetElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFEPointLightElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFESpecularLightingElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFESpotLightElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFETileElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFETurbulenceElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGFilterElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGForeignObjectElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGGElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGGeometryElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGGradientElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGGraphicsElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGImageElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGLineElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGLinearGradientElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGMPathElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGMarkerElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGMaskElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGMetadataElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGPathElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGPatternElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGPolygonElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGPolylineElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGRadialGradientElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGRectElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGSVGElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGScriptElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGSetElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGStopElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGStyleElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGSwitchElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGSymbolElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGTSpanElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGTextContentElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGTextElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGTextPathElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGTextPositioningElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGTitleElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGUseElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for SVGViewElement

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<ChildNode> for Text

Source§

fn as_ref(&self) -> &ChildNode

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ChildNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<JsObject> for ChildNode

Source§

fn as_ref(&self) -> &JsObject

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<JsValue> for ChildNode

Source§

fn as_ref(&self) -> &JsValue

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<Node> for ChildNode

Source§

fn as_ref(&self) -> &Node

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for ChildNode

Source§

fn clone(&self) -> ChildNode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Deref for ChildNode

Source§

type Target = Node

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Into<ChildNode> for CDATASection

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for CharacterData

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for Comment

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for DocumentType

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for Element

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLAnchorElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLAreaElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLAudioElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLBRElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLBaseElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLBodyElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLButtonElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLCanvasElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLDListElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLDataElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLDataListElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLDetailsElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLDialogElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLDirectoryElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLDivElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLEmbedElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLFieldSetElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLFontElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLFormElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLFrameElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLFrameSetElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLHRElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLHeadElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLHeadingElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLHtmlElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLIFrameElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLImageElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLInputElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLLIElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLLabelElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLLegendElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLLinkElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLMapElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLMarqueeElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLMediaElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLMenuElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLMetaElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLMeterElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLModElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLOListElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLObjectElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLOptGroupElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLOptionElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLOutputElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLParagraphElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLParamElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLPictureElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLPreElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLProgressElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLQuoteElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLScriptElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLSelectElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLSlotElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLSourceElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLSpanElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLStyleElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableCaptionElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableCellElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableColElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableDataCellElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableHeaderCellElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableRowElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTableSectionElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTemplateElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTextAreaElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTimeElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTitleElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLTrackElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLUListElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLUnknownElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for HTMLVideoElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for MathMLElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for ProcessingInstruction

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGAElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGAnimateElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGAnimateMotionElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGAnimateTransformElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGAnimationElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGCircleElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGClipPathElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGComponentTransferFunctionElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGDefsElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGDescElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGEllipseElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEBlendElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEColorMatrixElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEComponentTransferElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFECompositeElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEConvolveMatrixElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEDiffuseLightingElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEDisplacementMapElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEDistantLightElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEDropShadowElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEFloodElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEFuncAElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEFuncBElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEFuncGElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEFuncRElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEGaussianBlurElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEImageElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEMergeElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEMergeNodeElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEMorphologyElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEOffsetElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFEPointLightElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFESpecularLightingElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFESpotLightElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFETileElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFETurbulenceElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGFilterElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGForeignObjectElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGGElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGGeometryElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGGradientElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGGraphicsElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGImageElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGLineElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGLinearGradientElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGMPathElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGMarkerElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGMaskElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGMetadataElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGPathElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGPatternElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGPolygonElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGPolylineElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGRadialGradientElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGRectElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGSVGElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGScriptElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGSetElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGStopElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGStyleElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGSwitchElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGSymbolElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGTSpanElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGTextContentElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGTextElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGTextPathElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGTextPositioningElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGTitleElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGUseElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for SVGViewElement

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<ChildNode> for Text

Source§

fn into(self) -> ChildNode

Converts this type into the (usually inferred) input type.
Source§

impl Into<EventTarget> for ChildNode

Source§

fn into(self) -> EventTarget

Converts this type into the (usually inferred) input type.
Source§

impl Into<JsObject> for ChildNode

Source§

fn into(self) -> JsObject

Converts this type into the (usually inferred) input type.
Source§

impl Into<JsValue> for ChildNode

Source§

fn into(self) -> JsValue

Converts this type into the (usually inferred) input type.
Source§

impl Into<Node> for ChildNode

Source§

fn into(self) -> Node

Converts this type into the (usually inferred) input type.
Source§

impl JsCast for ChildNode

Source§

fn unchecked_from_js(val: JsValue) -> Self

Source§

fn unchecked_from_js_ref(val: &JsValue) -> &Self

Source§

fn unchecked_into<T>(self) -> T
where T: JsCast,

Source§

fn unchecked_ref<T>(&self) -> &T
where T: JsCast,

Source§

impl RefCast for ChildNode

Source§

type From = JsValue

Source§

fn ref_cast(_from: &Self::From) -> &Self

Source§

fn ref_cast_mut(_from: &mut Self::From) -> &mut Self

Source§

impl UseInJsCode for ChildNode

Source§

fn serialize_to(&self, buf: &mut Formatter<'_>) -> Result

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ToJs<T> for T
where T: UseInJsCode + ?Sized,