pub struct JsGlobal(_);

Implementations

This returns the equivalent of Object.getPrototypeOf (which is not the same as the function’s prototype property).

This method allows the efficient definition of multiple properties on a given object.

Perform is_array check before get the length if Object is not array, ArrayExpected error returned

use this API if you can ensure this Object is Array

Trait Implementations

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.