Struct napi::JsObject[][src]

pub struct JsObject(_);

Implementations

https://nodejs.org/api/n-api.html#n_api_napi_get_all_property_names return Array of property names

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

Performs the conversion.

Performs the conversion.

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.