Structs§
- A wrapper around
v8::Global<v8::Value>
to allow for passing globals transparently through a serde boundary. - A V8Slice encapsulates a slice that’s been borrowed from a JavaScript ArrayBuffer object. JavaScript objects can normally be garbage collected, but the existence of a V8Slice inhibits this until it is dropped. It behaves much like an Arc<u8>.
- serde_v8::Value is used internally to serialize/deserialize values in objects and arrays. This struct was exposed to user code in the past, but we don’t want to do that anymore as it leads to inefficient usages - eg. wrapping a V8 object in
serde_v8::Value
and then immediately unwrapping it.
Enums§
- An untagged enum type that can be any of number, string, bool, bigint, or buffer.
Traits§
- A type that may be represented as a
V8Slice
.