Struct stdweb::web::HtmlCollection[][src]

pub struct HtmlCollection(_);

The HtmlCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.

An HtmlCollection in the HTML DOM is live; it is automatically updated when the underlying document is changed.

(JavaScript docs)

Methods

impl HtmlCollection
[src]

Returns the number of elements in the collection.

(JavaScript docs)

Returns an element from an HtmlCollection by index.

(JavaScript docs)

Returns an iterator over the collection.

Trait Implementations

impl Clone for HtmlCollection
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HtmlCollection
[src]

Formats the value using the given formatter. Read more

impl PartialEq for HtmlCollection
[src]

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

This method tests for !=.

impl Eq for HtmlCollection
[src]

impl InstanceOf for HtmlCollection
[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for HtmlCollection
[src]

Performs the conversion.

impl ReferenceType for HtmlCollection
[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<HtmlCollection> for Reference
[src]

Performs the conversion.

impl TryFrom<HtmlCollection> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl TryFrom<Reference> for HtmlCollection
[src]

The type returned in the event of a conversion error.

Performs the conversion.

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

The type returned in the event of a conversion error.

Performs the conversion.

impl TryFrom<Value> for HtmlCollection
[src]

The type returned in the event of a conversion error.

Performs the conversion.

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

The type returned in the event of a conversion error.

Performs the conversion.

impl JsSerialize for HtmlCollection
[src]

impl IntoIterator for HtmlCollection
[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 HtmlCollection
[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

Auto Trait Implementations