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]

[src]

Returns the number of elements in the collection.

(JavaScript docs)

[src]

Returns an element from an HtmlCollection by index.

(JavaScript docs)

[src]

Returns an iterator over the collection.

Trait Implementations

impl Clone for HtmlCollection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HtmlCollection
[src]

[src]

Formats the value using the given formatter. Read more

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

impl InstanceOf for HtmlCollection
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for HtmlCollection
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<HtmlCollection> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for HtmlCollection
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for HtmlCollection
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

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?

[src]

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?

[src]

Creates an iterator from a value. Read more

Auto Trait Implementations