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: JsSerialize
[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: JsSerialize
[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: JsSerialize
[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: JsSerialize
[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: JsSerialize
[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: JsSerialize
[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 Eq for Object
[src]

impl Debug for Object
[src]

[src]

Formats the value using the given formatter. Read more

impl InstanceOf for Object
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for Object
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl TryFrom<Object> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for Object
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for Object
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

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

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for Object
[src]

impl From<Object> for BTreeMap<String, Value>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a Object> for BTreeMap<String, Value>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a mut Object> for BTreeMap<String, Value>
[src]

[src]

Performs the conversion.

impl From<Object> for HashMap<String, Value>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a Object> for HashMap<String, Value>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a mut Object> for HashMap<String, Value>
[src]

[src]

Performs the conversion.

impl<K: AsRef<str>, V: JsSerialize> 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: JsSerialize
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Object> for BTreeMap<String, V>
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<E: Into<ConversionError>, V: TryFrom<Value, Error = E>> TryFrom<Object> for HashMap<String, V>
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Object

impl Sync for Object