Struct chrome_remote_interface_model::dom::Node[][src]

pub struct Node { /* fields omitted */ }
This is supported on crate features DOM and Runtime only.
Expand description

DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.

Implementations

Node identifier that is passed into the rest of the DOM messages as the nodeId. Backend will only push node with given id once. It is aware of all requested nodes and will only fire DOM events for nodes known to the client.

The id of the parent node if any.

The BackendNodeId for this node.

Node’s nodeType.

Node’s nodeName.

Node’s localName.

Node’s nodeValue.

Child count for Container nodes.

Child nodes of this node when requested with children.

Attributes of the Element node in the form of flat array [name1, value1, name2, value2].

Document URL that Document or FrameOwner node points to.

Base URL that Document or FrameOwner node uses for URL completion.

DocumentType’s publicId.

DocumentType’s systemId.

DocumentType’s internalSubset.

Document’s XML version in case of XML documents.

Attr’s name.

Attr’s value.

Pseudo element type for this node.

Shadow root type.

Frame ID for frame owner elements.

Content document for frame owner elements.

Shadow root list for given element host.

Content document fragment for template elements.

Pseudo elements associated with this node.

Import document for the HTMLImport links.

Distributed nodes for given insertion point.

Whether the node is SVG.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.