Struct stdweb::web::StringMap [] [src]

pub struct StringMap(_);

Used by the dataset HTML attribute to represent data for custom attributes added to elements.

(JavaScript docs)

Methods

impl StringMap
[src]

[src]

Returns a value corresponding to the key.

[src]

Inserts a key-value pair into the map.

[src]

Removes a key from the map.

[src]

Returns true if the map contains a value for the specified key.

Trait Implementations

impl Clone for StringMap
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for StringMap
[src]

[src]

Formats the value using the given formatter. Read more

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

impl InstanceOf for StringMap
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for StringMap
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<StringMap> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for StringMap
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for StringMap
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for StringMap
[src]

Auto Trait Implementations

impl Send for StringMap

impl Sync for StringMap