Module boa_engine::object
source · Expand description
Boa’s representation of a JavaScript object and builtin object wrappers
For the builtin object wrappers, please see object::builtins
for implementors.
Modules§
- All Rust API wrappers for Boa’s ECMAScript objects.
- Implements object shapes.
Structs§
- An error returned by
JsObject::try_borrow
. - An error returned by
JsObject::try_borrow_mut
. - Builder for creating constructors objects, like
Array
. - The functions binding.
- Builder for creating native function objects
- An iterator over the property entries of an
Object
- Garbage collected
Object
. - The internal representation of a JavaScript object.
- Builder for creating objects with properties.
- A Private Name.
- A
PropertyMap
contains all the properties of an object. - Prevents infinite recursion during
Debug::fmt
,JSON.stringify
, and other conversions. This uses a thread local, so is not safe to use where the object graph will be traversed by multiple threads!
Enums§
- An iterator over the indexed property entries of an
Object
. - An iterator over the index keys (
u32
) of anObject
. - An iterator over the index values (
Property
) of anObject
. - Object integrity level.
- The representation of private object elements.
Constants§
- Const
constructor
, usually set on prototypes as a key to point to their respective constructor object. - Const
prototype
, usually set on constructors as a key to point to their respective prototype object.
Traits§
- Represents a type that can be stored inside a
JsObject
. - This trait allows Rust types to be passed around as objects.
Type Aliases§
- An
Object
with inner data set todyn NativeObject
. - Common field names. A type alias for an object prototype.
- A wrapper type for an immutably borrowed type T.
- A wrapper type for a mutably borrowed type T.