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]

Returns the number of Nodes contained in this list.

(JavaScript docs)

Returns an iterator over the list.

Trait Implementations

impl Debug for NodeList
[src]

Formats the value using the given formatter.

impl Clone for NodeList
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsRef<Reference> for NodeList
[src]

Performs the conversion.

impl<T: TryInto<Reference>> TryFrom<T> for NodeList where
    T::Error: Into<Box<Error>>, 
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl IntoIterator for NodeList
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

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?

Creates an iterator from a value. Read more