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

[src]

Formats the value using the given formatter.

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

[src]

Performs the conversion.

impl<R: TryInto<Reference>> TryFrom<R> for StringMap where
    <R as TryInto<Reference>>::Error: Into<Box<Error>>, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.