Movatterモバイル変換


[0]ホーム

URL:


Docs.rs

Module object

Moduleobject 

Source
Expand description

Boa’s representation of a JavaScript object and builtin object wrappers

For the builtin object wrappers, please seeobject::builtins for implementors.

Modules§

builtins
All Rust API wrappers for Boa’s ECMAScript objects.
shape
Implements object shapes.

Structs§

BorrowError
An error returned byJsObject::try_borrow.
BorrowMutError
An error returned byJsObject::try_borrow_mut.
ConstructorBuilder
Builder for creating constructors objects, likeArray.
ErasedObjectData
A erased object data type that must never be used directly.
FunctionBinding
The functions binding.
FunctionObjectBuilder
Builder for creating native function objects
JsObject
Garbage collectedObject.
Object
The internal representation of a JavaScript object.
ObjectInitializer
Builder for creating objects with properties.
PrivateName
A Private Name.
PropertyMap
APropertyMap contains all the properties of an object.
RecursionLimiter
Prevents infinite recursion duringDebug::fmt,JSON.stringify, and other conversions.This uses a thread local, so is not safe to use where the object graph will be traversed bymultiple threads!

Enums§

IndexProperties
An iterator over the indexed property entries of anObject.
IndexPropertyKeys
An iterator over the index keys (u32) of anObject.
IndexPropertyValues
An iterator over the index values (Property) of anObject.
IndexedProperties
This represents all the indexed properties.
IntegrityLevel
Object integrity level.
PrivateElement
The representation of private object elements.

Constants§

CONSTRUCTOR
Constconstructor, usually set on prototypes as a key to point to their respective constructor object.
PROTOTYPE
Constprototype, usually set on constructors as a key to point to their respective prototype object.

Traits§

JsData
Represents a type that can be stored inside aJsObject.
NativeObject
This trait allows Rust types to be passed around as objects.

Type Aliases§

ErasedObject
AnObject with inner data set toErasedObjectData.
JsPrototype
A type alias for an object prototype.
Ref
A wrapper type for an immutably borrowed type T.
RefMut
A wrapper type for a mutably borrowed type T.

[8]ページ先頭

©2009-2025 Movatter.jp