Struct stdweb::web::NodeList [] [src]

pub struct NodeList(_);

NodeList objects are collections of nodes such as those returned by properties such as INode::child_nodes and the Document::query_selector_all method.

In some cases, the NodeList is a live collection, which means that changes in the DOM are reflected in the collection - for example INode::child_nodes is live.

In other cases, the NodeList is a static collection, meaning any subsequent change in the DOM does not affect the content of the collection - for example Document::query_selector_all returns a static NodeList.

(JavaScript docs)

Methods

impl NodeList
[src]

[src]

Returns the number of Nodes contained in this list.

(JavaScript docs)

[src]

Returns a node from a NodeList by index.

(JavaScript docs)

[src]

Returns an iterator over the list.

Trait Implementations

impl Clone for NodeList
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NodeList
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for NodeList
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for NodeList
[src]

impl InstanceOf for NodeList
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for NodeList
[src]

[src]

Performs the conversion.

impl ReferenceType for NodeList
[src]

[src]

Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more

impl From<NodeList> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<NodeList> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for NodeList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Reference> for NodeList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for NodeList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Value> for NodeList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for NodeList
[src]

impl IntoIterator for NodeList
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<'a> IntoIterator for &'a NodeList
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

Auto Trait Implementations

impl Send for NodeList

impl Sync for NodeList