Module rustyscript::js_value

source ·
Expand description

This module provides a way to store and use javascript values, functions, and promises The are a deserialized version of the v8::Value

Function and Promise are both specializations of Value providing deserialize-time type checking and additional utility functions for interacting with the runtime

Structs§

  • A Deserializable javascript function, that can be stored and used later Must live as long as the runtime it was birthed from
  • A Deserializable javascript object, that can be stored and used later Must live as long as the runtime it was birthed from
  • A Deserializable javascript promise, that can be stored and used later Must live as long as the runtime it was birthed from
  • A Deserializable javascript UTF-16 string, that can be stored and used later Must live as long as the runtime it was birthed from
  • A Deserializable javascript value, that can be stored and used later Can only be used on the same runtime it was created on