Struct stdweb::Object [] [src]

pub struct Object(_);

A type representing a JavaScript object.

Methods

impl Object
[src]

[src]

Returns the number of elements in this particular object.

Trait Implementations

impl<K, V> TryFrom<BTreeMap<K, V>> for Object where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a BTreeMap<K, V>> for Object where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a mut BTreeMap<K, V>> for Object where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<K, V> TryFrom<HashMap<K, V>> for Object where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a HashMap<K, V>> for Object where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a, K, V> TryFrom<&'a mut HashMap<K, V>> for Object where
    K: AsRef<str> + Eq + Hash,
    V: JsSerializable, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl Clone for Object
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

impl<K: AsRef<str>, V: JsSerializable> From<BTreeMap<K, V>> for Object
[src]

[src]

Performs the conversion.

impl<'a, K, V> From<&'a BTreeMap<K, V>> for Object where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, K, V> From<&'a mut BTreeMap<K, V>> for Object where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<K, V> From<HashMap<K, V>> for Object where
    K: AsRef<str> + Hash + Eq,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, K, V> From<&'a HashMap<K, V>> for Object where
    K: AsRef<str> + Hash + Eq,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.

impl<'a, K: Hash + Eq, V> From<&'a mut HashMap<K, V>> for Object where
    K: AsRef<str>,
    V: JsSerializable, 
[src]

[src]

Performs the conversion.