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]

Returns a value corresponding to the key.

Inserts a key-value pair into the map.

Removes a key from the map.

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

Trait Implementations

impl Debug for StringMap
[src]

Formats the value using the given formatter.

impl Clone for StringMap
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsRef<Reference> for StringMap
[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

Performs the conversion.