Function boa_engine::builtins::array::array_exotic_define_own_property
source · fn array_exotic_define_own_property(
+ Function boa_engine::builtins::array::array_exotic_define_own_property
source · fn array_exotic_define_own_property(
obj: &JsObject,
key: &PropertyKey,
desc: PropertyDescriptor,
diff --git a/doc/boa_engine/builtins/array/fn.array_set_length.html b/doc/boa_engine/builtins/array/fn.array_set_length.html
index 9972b0baba7..c41d105735b 100644
--- a/doc/boa_engine/builtins/array/fn.array_set_length.html
+++ b/doc/boa_engine/builtins/array/fn.array_set_length.html
@@ -1,5 +1,5 @@
array_set_length in boa_engine::builtins::array - Rust
- Function boa_engine::builtins::array::array_set_length
source · fn array_set_length(
+ Function boa_engine::builtins::array::array_set_length
source · fn array_set_length(
obj: &JsObject,
desc: PropertyDescriptor,
context: &mut InternalMethodContext<'_>
diff --git a/doc/boa_engine/builtins/array/index.html b/doc/boa_engine/builtins/array/index.html
index 0e8cd768d00..6b736cd5604 100644
--- a/doc/boa_engine/builtins/array/index.html
+++ b/doc/boa_engine/builtins/array/index.html
@@ -1,5 +1,5 @@
boa_engine::builtins::array - Rust
- Module boa_engine::builtins::array
source · Expand description
Boa’s implementation of ECMAScript’s global Array
object.
+ Module boa_engine::builtins::array
source · Expand description
Boa’s implementation of ECMAScript’s global Array
object.
The ECMAScript Array
class is a global object that is used in the construction of arrays; which are high-level, list-like objects.
More information:
diff --git a/doc/boa_engine/builtins/builder/index.html b/doc/boa_engine/builtins/builder/index.html
index 6f79375de38..654041e8b29 100644
--- a/doc/boa_engine/builtins/builder/index.html
+++ b/doc/boa_engine/builtins/builder/index.html
@@ -1,2 +1,2 @@
boa_engine::builtins::builder - Rust
- Module boa_engine::builtins::builder
source · Structs§
- Builder for creating built-in objects, like
Array
. - Callable 🔒 Marker for a callable object.
- Marker for a constructor function.
- Marker for a constructor function without a custom prototype for its instances.
- Marker for an ordinary function.
- Marker for an ordinary object.
Traits§
- Applies the pending builder data to the object.
- Indicates if the marker is a constructor.
\ No newline at end of file
+ Module boa_engine::builtins::builder
source · Structs§
- Builder for creating built-in objects, like
Array
. - Callable 🔒 Marker for a callable object.
- Marker for a constructor function.
- Marker for a constructor function without a custom prototype for its instances.
- Marker for an ordinary function.
- Marker for an ordinary object.
Traits§
- Applies the pending builder data to the object.
- Indicates if the marker is a constructor.
\ No newline at end of file
diff --git a/doc/boa_engine/builtins/builder/struct.BuiltInBuilder.html b/doc/boa_engine/builtins/builder/struct.BuiltInBuilder.html
index 5529c5b0519..6e4cfc611c9 100644
--- a/doc/boa_engine/builtins/builder/struct.BuiltInBuilder.html
+++ b/doc/boa_engine/builtins/builder/struct.BuiltInBuilder.html
@@ -1,5 +1,5 @@
BuiltInBuilder in boa_engine::builtins::builder - Rust
- Struct boa_engine::builtins::builder::BuiltInBuilder
source · pub(crate) struct BuiltInBuilder<'ctx, Kind> {
+ Struct boa_engine::builtins::builder::BuiltInBuilder
source · pub(crate) struct BuiltInBuilder<'ctx, Kind> {
realm: &'ctx Realm,
object: JsObject,
kind: Kind,
@@ -7,28 +7,28 @@
}
Expand description
Builder for creating built-in objects, like Array
.
The marker ObjectType
restricts the methods that can be called depending on the
type of object that is being constructed.
-Fields§
§realm: &'ctx Realm
§object: JsObject
§kind: Kind
§prototype: JsObject
Implementations§
source§impl<'ctx> BuiltInBuilder<'ctx, OrdinaryObject>
sourcepub(crate) fn with_intrinsic<I: IntrinsicObject>(
+
Fields§
§realm: &'ctx Realm
§object: JsObject
§kind: Kind
§prototype: JsObject
Implementations§
source§impl<'ctx> BuiltInBuilder<'ctx, OrdinaryObject>
sourcepub(crate) fn with_intrinsic<I: IntrinsicObject>(
realm: &'ctx Realm
-) -> BuiltInBuilder<'ctx, OrdinaryObject>
source§impl<'ctx> BuiltInBuilder<'ctx, OrdinaryObject>
sourcepub(crate) fn callable(
+) -> BuiltInBuilder<'ctx, OrdinaryObject>
source§impl<'ctx> BuiltInBuilder<'ctx, OrdinaryObject>
sourcepub(crate) fn callable(
realm: &'ctx Realm,
function: NativeFunctionPointer
-) -> BuiltInCallable<'ctx>
sourcepub(crate) fn callable_with_intrinsic<I: IntrinsicObject>(
+) -> BuiltInCallable<'ctx>
sourcepub(crate) fn callable_with_intrinsic<I: IntrinsicObject>(
realm: &'ctx Realm,
function: NativeFunctionPointer
-) -> BuiltInBuilder<'ctx, Callable<OrdinaryFunction>>
sourcepub(crate) fn callable_with_object(
+) -> BuiltInBuilder<'ctx, Callable<OrdinaryFunction>>
sourcepub(crate) fn callable_with_object(
realm: &'ctx Realm,
object: JsObject,
function: NativeFunctionPointer
-) -> BuiltInBuilder<'ctx, Callable<OrdinaryFunction>>
source§impl<'ctx> BuiltInBuilder<'ctx, Callable<Constructor>>
sourcepub(crate) fn from_standard_constructor<SC: BuiltInConstructor>(
+) -> BuiltInBuilder<'ctx, Callable<OrdinaryFunction>>
source§impl<'ctx> BuiltInBuilder<'ctx, Callable<Constructor>>
sourcepub(crate) fn from_standard_constructor<SC: BuiltInConstructor>(
realm: &'ctx Realm
-) -> BuiltInConstructorWithPrototype<'ctx>
source§impl<T> BuiltInBuilder<'_, T>
sourcepub(crate) fn static_method<B>(
+) -> BuiltInConstructorWithPrototype<'ctx>
source§impl<T> BuiltInBuilder<'_, T>
sourcepub(crate) fn static_method<B>(
self,
function: NativeFunctionPointer,
binding: B,
length: usize
) -> Selfwhere
B: Into<FunctionBinding>,
Adds a new static method to the builtin object.
-sourcepub(crate) fn static_property<K, V>(
+
sourcepub(crate) fn static_property<K, V>(
self,
key: K,
value: V,
@@ -36,15 +36,15 @@
) -> Self
Adds a new static data property to the builtin object.
-source§impl<FnTyp> BuiltInBuilder<'_, Callable<FnTyp>>
source§impl<FnTyp> BuiltInBuilder<'_, Callable<FnTyp>>
source§impl BuiltInBuilder<'_, OrdinaryObject>
source§impl<FnTyp: ApplyToObject + IsConstructor> BuiltInBuilder<'_, Callable<FnTyp>>
sourcepub(crate) fn build(self) -> JsFunction
Build the builtin callable.
-Trait Implementations§
Auto Trait Implementations§
§impl<'ctx, Kind> !RefUnwindSafe for BuiltInBuilder<'ctx, Kind>
§impl<'ctx, Kind> !Send for BuiltInBuilder<'ctx, Kind>
§impl<'ctx, Kind> !Sync for BuiltInBuilder<'ctx, Kind>
§impl<'ctx, Kind> Unpin for BuiltInBuilder<'ctx, Kind>where
+
source§impl BuiltInBuilder<'_, OrdinaryObject>
source§impl<FnTyp: ApplyToObject + IsConstructor> BuiltInBuilder<'_, Callable<FnTyp>>
sourcepub(crate) fn build(self) -> JsFunction
Build the builtin callable.
+Trait Implementations§
Auto Trait Implementations§
§impl<'ctx, Kind> !RefUnwindSafe for BuiltInBuilder<'ctx, Kind>
§impl<'ctx, Kind> !Send for BuiltInBuilder<'ctx, Kind>
§impl<'ctx, Kind> !Sync for BuiltInBuilder<'ctx, Kind>
§impl<'ctx, Kind> Unpin for BuiltInBuilder<'ctx, Kind>where
Kind: Unpin,
§impl<'ctx, Kind> !UnwindSafe for BuiltInBuilder<'ctx, Kind>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_engine/builtins/builder/struct.BuiltInCallable.html b/doc/boa_engine/builtins/builder/struct.BuiltInCallable.html
index 3faa18a8879..d96aaebbc70 100644
--- a/doc/boa_engine/builtins/builder/struct.BuiltInCallable.html
+++ b/doc/boa_engine/builtins/builder/struct.BuiltInCallable.html
@@ -1,14 +1,14 @@
BuiltInCallable in boa_engine::builtins::builder - Rust
- Struct boa_engine::builtins::builder::BuiltInCallable
source · pub(crate) struct BuiltInCallable<'ctx> {
+ Struct boa_engine::builtins::builder::BuiltInCallable
source · pub(crate) struct BuiltInCallable<'ctx> {
realm: &'ctx Realm,
function: NativeFunctionPointer,
name: JsString,
length: usize,
-}
Fields§
§realm: &'ctx Realm
§function: NativeFunctionPointer
§name: JsString
§length: usize
Implementations§
source§impl BuiltInCallable<'_>
sourcepub(crate) const fn length(self, length: usize) -> Self
Specify how many arguments the constructor function takes.
+}Fields§
§realm: &'ctx Realm
§function: NativeFunctionPointer
§name: JsString
§length: usize
Implementations§
source§impl BuiltInCallable<'_>
sourcepub(crate) const fn length(self, length: usize) -> Self
Specify how many arguments the constructor function takes.
Default is 0
.
-sourcepub(crate) fn name(self, name: JsString) -> Self
Specify the name of the constructor function.
+sourcepub(crate) fn name(self, name: JsString) -> Self
Specify the name of the constructor function.
Default is ""
-sourcepub(crate) fn build(self) -> JsFunction
Auto Trait Implementations§
§impl<'ctx> !RefUnwindSafe for BuiltInCallable<'ctx>
§impl<'ctx> !Send for BuiltInCallable<'ctx>
§impl<'ctx> !Sync for BuiltInCallable<'ctx>
§impl<'ctx> Unpin for BuiltInCallable<'ctx>
§impl<'ctx> !UnwindSafe for BuiltInCallable<'ctx>
Blanket Implementations§
Auto Trait Implementations§
§impl<'ctx> !RefUnwindSafe for BuiltInCallable<'ctx>
§impl<'ctx> !Send for BuiltInCallable<'ctx>
§impl<'ctx> !Sync for BuiltInCallable<'ctx>
§impl<'ctx> Unpin for BuiltInCallable<'ctx>
§impl<'ctx> !UnwindSafe for BuiltInCallable<'ctx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/doc/boa_engine/builtins/builder/struct.BuiltInConstructorWithPrototype.html b/doc/boa_engine/builtins/builder/struct.BuiltInConstructorWithPrototype.html
index 1476db43602..ec337ddf447 100644
--- a/doc/boa_engine/builtins/builder/struct.BuiltInConstructorWithPrototype.html
+++ b/doc/boa_engine/builtins/builder/struct.BuiltInConstructorWithPrototype.html
@@ -1,5 +1,5 @@
BuiltInConstructorWithPrototype in boa_engine::builtins::builder - Rust
- pub(crate) struct BuiltInConstructorWithPrototype<'ctx> {Show 13 fields
+ pub(crate) struct BuiltInConstructorWithPrototype<'ctx> {Show 13 fields
realm: &'ctx Realm,
function: NativeFunctionPointer,
name: JsString,
@@ -13,18 +13,18 @@
__proto__: JsPrototype,
inherits: Option<JsObject>,
attributes: Attribute,
-}
Fields§
§realm: &'ctx Realm
§function: NativeFunctionPointer
§name: JsString
§length: usize
§object_property_table: PropertyTableInner
§object_storage: Vec<JsValue>
§object: JsObject
§prototype_property_table: PropertyTableInner
§prototype_storage: Vec<JsValue>
§prototype: JsObject
§__proto__: JsPrototype
§inherits: Option<JsObject>
§attributes: Attribute
Implementations§
source§impl BuiltInConstructorWithPrototype<'_>
sourcepub(crate) const fn length(self, length: usize) -> Self
Specify how many arguments the constructor function takes.
+}Fields§
§realm: &'ctx Realm
§function: NativeFunctionPointer
§name: JsString
§length: usize
§object_property_table: PropertyTableInner
§object_storage: Vec<JsValue>
§object: JsObject
§prototype_property_table: PropertyTableInner
§prototype_storage: Vec<JsValue>
§prototype: JsObject
§__proto__: JsPrototype
§inherits: Option<JsObject>
§attributes: Attribute
Implementations§
source§impl BuiltInConstructorWithPrototype<'_>
sourcepub(crate) const fn length(self, length: usize) -> Self
Specify how many arguments the constructor function takes.
Default is 0
.
-sourcepub(crate) fn name(self, name: JsString) -> Self
Specify the name of the constructor function.
+sourcepub(crate) fn name(self, name: JsString) -> Self
Specify the name of the constructor function.
Default is ""
-sourcepub(crate) fn static_method<B>(
+
sourcepub(crate) fn static_method<B>(
self,
function: NativeFunctionPointer,
binding: B,
length: usize
) -> Selfwhere
B: Into<FunctionBinding>,
Adds a new static method to the builtin object.
-sourcepub(crate) fn static_property<K, V>(
+
sourcepub(crate) fn static_property<K, V>(
self,
key: K,
value: V,
@@ -32,7 +32,7 @@
) -> Self
Adds a new static data property to the builtin object.
-sourcepub(crate) fn static_accessor<K>(
+
sourcepub(crate) fn static_accessor<K>(
self,
key: K,
get: Option<JsFunction>,
@@ -40,16 +40,16 @@
attribute: Attribute
) -> Selfwhere
K: Into<PropertyKey>,
Adds a new static accessor property to the builtin object.
-sourcepub(crate) fn prototype(self, prototype: JsObject) -> Self
Specify the [[Prototype]]
internal field of the builtin object.
+sourcepub(crate) fn method<B>(
self,
function: NativeFunctionPointer,
binding: B,
length: usize
) -> Selfwhere
B: Into<FunctionBinding>,
Adds a new method to the constructor’s prototype.
-sourcepub(crate) fn accessor<K>(
self,
key: K,
get: Option<JsFunction>,
@@ -65,10 +65,10 @@
attribute: Attribute
) -> Selfwhere
K: Into<PropertyKey>,
Adds new accessor property to the constructor’s prototype.
-sourcepub(crate) fn inherits(self, prototype: JsPrototype) -> Self
Specifies the parent prototype which objects created by this constructor inherit from.
+sourcepub(crate) fn inherits(self, prototype: JsPrototype) -> Self
Specifies the parent prototype which objects created by this constructor inherit from.
Default is Object.prototype
.
-sourcepub(crate) const fn constructor_attributes(self, attributes: Attribute) -> Self
Specifies the property attributes of the prototype’s “constructor” property.
-sourcepub(crate) fn build(self)
sourcepub(crate) fn build_without_prototype(self)
Auto Trait Implementations§
§impl<'ctx> !RefUnwindSafe for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> !Send for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> !Sync for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> Unpin for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> !UnwindSafe for BuiltInConstructorWithPrototype<'ctx>
Blanket Implementations§
sourcepub(crate) const fn constructor_attributes(self, attributes: Attribute) -> Self
Specifies the property attributes of the prototype’s “constructor” property.
+sourcepub(crate) fn build(self)
sourcepub(crate) fn build_without_prototype(self)
Auto Trait Implementations§
§impl<'ctx> !RefUnwindSafe for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> !Send for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> !Sync for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> Unpin for BuiltInConstructorWithPrototype<'ctx>
§impl<'ctx> !UnwindSafe for BuiltInConstructorWithPrototype<'ctx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/doc/boa_engine/builtins/builder/struct.Callable.html b/doc/boa_engine/builtins/builder/struct.Callable.html
index 8e9f96eae14..3ca57433f79 100644
--- a/doc/boa_engine/builtins/builder/struct.Callable.html
+++ b/doc/boa_engine/builtins/builder/struct.Callable.html
@@ -1,12 +1,12 @@
Callable in boa_engine::builtins::builder - Rust
- Struct boa_engine::builtins::builder::Callable
source · pub(crate) struct Callable<Kind> {
+ Struct boa_engine::builtins::builder::Callable
source · pub(crate) struct Callable<Kind> {
function: NativeFunctionPointer,
name: JsString,
length: usize,
kind: Kind,
realm: Realm,
}
Expand description
Marker for a callable object.
-Fields§
§function: NativeFunctionPointer
§name: JsString
§length: usize
§kind: Kind
§realm: Realm
Trait Implementations§
source§impl<S: ApplyToObject + IsConstructor> ApplyToObject for Callable<S>
Auto Trait Implementations§
§impl<Kind> !RefUnwindSafe for Callable<Kind>
§impl<Kind> !Send for Callable<Kind>
§impl<Kind> !Sync for Callable<Kind>
§impl<Kind> Unpin for Callable<Kind>where
+Fields§
§function: NativeFunctionPointer
§name: JsString
§length: usize
§kind: Kind
§realm: Realm
Trait Implementations§
source§impl<S: ApplyToObject + IsConstructor> ApplyToObject for Callable<S>
Auto Trait Implementations§
§impl<Kind> !RefUnwindSafe for Callable<Kind>
§impl<Kind> !Send for Callable<Kind>
§impl<Kind> !Sync for Callable<Kind>
§impl<Kind> Unpin for Callable<Kind>where
Kind: Unpin,
§impl<Kind> !UnwindSafe for Callable<Kind>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
diff --git a/doc/boa_engine/builtins/builder/struct.Constructor.html b/doc/boa_engine/builtins/builder/struct.Constructor.html
index 94e731af6cc..606137db116 100644
--- a/doc/boa_engine/builtins/builder/struct.Constructor.html
+++ b/doc/boa_engine/builtins/builder/struct.Constructor.html
@@ -1,10 +1,10 @@
Constructor in boa_engine::builtins::builder - Rust
- Struct boa_engine::builtins::builder::Constructor
source · pub(crate) struct Constructor {
+ Struct boa_engine::builtins::builder::Constructor
source · pub(crate) struct Constructor {
prototype: JsObject,
inherits: JsPrototype,
attributes: Attribute,
}
Expand description
Marker for a constructor function.
-Fields§
§prototype: JsObject
§inherits: JsPrototype
§attributes: Attribute
Trait Implementations§
source§impl ApplyToObject for Constructor
source§impl IsConstructor for Constructor
source§const IS_CONSTRUCTOR: bool = true
Auto Trait Implementations§
§impl !RefUnwindSafe for Constructor
§impl !Send for Constructor
§impl !Sync for Constructor
§impl Unpin for Constructor
§impl !UnwindSafe for Constructor
Blanket Implementations§
Fields§
§prototype: JsObject
§inherits: JsPrototype
§attributes: Attribute
Trait Implementations§
source§impl ApplyToObject for Constructor
source§impl IsConstructor for Constructor
source§const IS_CONSTRUCTOR: bool = true
Auto Trait Implementations§
§impl !RefUnwindSafe for Constructor
§impl !Send for Constructor
§impl !Sync for Constructor
§impl Unpin for Constructor
§impl !UnwindSafe for Constructor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/doc/boa_engine/builtins/builder/struct.ConstructorNoProto.html b/doc/boa_engine/builtins/builder/struct.ConstructorNoProto.html
index 21132edf65c..1c8b62c4331 100644
--- a/doc/boa_engine/builtins/builder/struct.ConstructorNoProto.html
+++ b/doc/boa_engine/builtins/builder/struct.ConstructorNoProto.html
@@ -1,6 +1,6 @@
ConstructorNoProto in boa_engine::builtins::builder - Rust
- Struct boa_engine::builtins::builder::ConstructorNoProto
source · pub(crate) struct ConstructorNoProto;
Expand description
Marker for a constructor function without a custom prototype for its instances.
-Trait Implementations§
source§impl ApplyToObject for ConstructorNoProto
source§impl IsConstructor for ConstructorNoProto
source§const IS_CONSTRUCTOR: bool = true
Auto Trait Implementations§
§impl RefUnwindSafe for ConstructorNoProto
§impl Send for ConstructorNoProto
§impl Sync for ConstructorNoProto
§impl Unpin for ConstructorNoProto
§impl UnwindSafe for ConstructorNoProto
Blanket Implementations§
source§impl<T> Any for Twhere
+ Struct boa_engine::builtins::builder::ConstructorNoProto
source · pub(crate) struct ConstructorNoProto;
Expand description
Marker for a constructor function without a custom prototype for its instances.
+Trait Implementations§
source§impl ApplyToObject for ConstructorNoProto
source§impl IsConstructor for ConstructorNoProto
source§const IS_CONSTRUCTOR: bool = true
Auto Trait Implementations§
§impl RefUnwindSafe for ConstructorNoProto
§impl Send for ConstructorNoProto
§impl Sync for ConstructorNoProto
§impl Unpin for ConstructorNoProto
§impl UnwindSafe for ConstructorNoProto
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/doc/boa_engine/builtins/builder/struct.OrdinaryFunction.html b/doc/boa_engine/builtins/builder/struct.OrdinaryFunction.html
index 9eb2226a95a..1ddd8d30148 100644
--- a/doc/boa_engine/builtins/builder/struct.OrdinaryFunction.html
+++ b/doc/boa_engine/builtins/builder/struct.OrdinaryFunction.html
@@ -1,6 +1,6 @@
OrdinaryFunction in boa_engine::builtins::builder - Rust
- Struct boa_engine::builtins::builder::OrdinaryFunction
source · pub(crate) struct OrdinaryFunction;
Expand description
Marker for an ordinary function.
-Trait Implementations§
source§impl ApplyToObject for OrdinaryFunction
source§impl IsConstructor for OrdinaryFunction
source§const IS_CONSTRUCTOR: bool = false
Auto Trait Implementations§
§impl RefUnwindSafe for OrdinaryFunction
§impl Send for OrdinaryFunction
§impl Sync for OrdinaryFunction
§impl Unpin for OrdinaryFunction
§impl UnwindSafe for OrdinaryFunction
Blanket Implementations§
source§impl<T> Any for Twhere
+ Struct boa_engine::builtins::builder::OrdinaryFunction
source · pub(crate) struct OrdinaryFunction;
Expand description
Marker for an ordinary function.
+Trait Implementations§
source§impl ApplyToObject for OrdinaryFunction
source§impl IsConstructor for OrdinaryFunction
source§const IS_CONSTRUCTOR: bool = false
Auto Trait Implementations§
§impl RefUnwindSafe for OrdinaryFunction
§impl Send for OrdinaryFunction
§impl Sync for OrdinaryFunction
§impl Unpin for OrdinaryFunction
§impl UnwindSafe for OrdinaryFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/doc/boa_engine/builtins/builder/struct.OrdinaryObject.html b/doc/boa_engine/builtins/builder/struct.OrdinaryObject.html
index c258219aebf..824ef2632fb 100644
--- a/doc/boa_engine/builtins/builder/struct.OrdinaryObject.html
+++ b/doc/boa_engine/builtins/builder/struct.OrdinaryObject.html
@@ -1,6 +1,6 @@
OrdinaryObject in boa_engine::builtins::builder - Rust
- Struct boa_engine::builtins::builder::OrdinaryObject
source · pub(crate) struct OrdinaryObject;
Expand description
Marker for an ordinary object.
-Trait Implementations§
source§impl ApplyToObject for OrdinaryObject
Auto Trait Implementations§
§impl RefUnwindSafe for OrdinaryObject
§impl Send for OrdinaryObject
§impl Sync for OrdinaryObject
§impl Unpin for OrdinaryObject
§impl UnwindSafe for OrdinaryObject
Blanket Implementations§
source§impl<T> Any for Twhere
+ Struct boa_engine::builtins::builder::OrdinaryObject
source · pub(crate) struct OrdinaryObject;
Expand description
Marker for an ordinary object.
+Trait Implementations§
source§impl ApplyToObject for OrdinaryObject
Auto Trait Implementations§
§impl RefUnwindSafe for OrdinaryObject
§impl Send for OrdinaryObject
§impl Sync for OrdinaryObject
§impl Unpin for OrdinaryObject
§impl UnwindSafe for OrdinaryObject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more§impl<T> Conv for T
§fn conv<T>(self) -> Twhere
diff --git a/doc/boa_engine/builtins/builder/trait.ApplyToObject.html b/doc/boa_engine/builtins/builder/trait.ApplyToObject.html
index e2436bfa4ca..55fa7a6ba20 100644
--- a/doc/boa_engine/builtins/builder/trait.ApplyToObject.html
+++ b/doc/boa_engine/builtins/builder/trait.ApplyToObject.html
@@ -1,6 +1,6 @@
ApplyToObject in boa_engine::builtins::builder - Rust
- Trait boa_engine::builtins::builder::ApplyToObject
source · pub(crate) trait ApplyToObject {
+ Trait boa_engine::builtins::builder::ApplyToObject
source · pub(crate) trait ApplyToObject {
// Required method
fn apply_to(self, object: &JsObject);
}
Expand description
Applies the pending builder data to the object.
-Required Methods§
Implementors§
source§impl ApplyToObject for Constructor
source§impl ApplyToObject for ConstructorNoProto
source§impl ApplyToObject for OrdinaryFunction
source§impl ApplyToObject for OrdinaryObject
source§impl<S: ApplyToObject + IsConstructor> ApplyToObject for Callable<S>
\ No newline at end of file
+
Required Methods§
Implementors§
source§impl ApplyToObject for Constructor
source§impl ApplyToObject for ConstructorNoProto
source§impl ApplyToObject for OrdinaryFunction
source§impl ApplyToObject for OrdinaryObject
source§impl<S: ApplyToObject + IsConstructor> ApplyToObject for Callable<S>
\ No newline at end of file
diff --git a/doc/boa_engine/builtins/builder/trait.IsConstructor.html b/doc/boa_engine/builtins/builder/trait.IsConstructor.html
index 8eeeea055a8..9a3193c6dd1 100644
--- a/doc/boa_engine/builtins/builder/trait.IsConstructor.html
+++ b/doc/boa_engine/builtins/builder/trait.IsConstructor.html
@@ -1,5 +1,5 @@
IsConstructor in boa_engine::builtins::builder - Rust
- Trait boa_engine::builtins::builder::IsConstructor
source · pub(crate) trait IsConstructor {
+ Trait boa_engine::builtins::builder::IsConstructor
source · pub(crate) trait IsConstructor {
const IS_CONSTRUCTOR: bool;
}
Expand description
Indicates if the marker is a constructor.
-Required Associated Constants§
sourceconst IS_CONSTRUCTOR: bool
Object Safety§
This trait is not object safe.Implementors§
source§impl IsConstructor for Constructor
source§const IS_CONSTRUCTOR: bool = true
source§impl IsConstructor for ConstructorNoProto
source§const IS_CONSTRUCTOR: bool = true
source§impl IsConstructor for OrdinaryFunction
source§const IS_CONSTRUCTOR: bool = false
\ No newline at end of file
+
Required Associated Constants§
sourceconst IS_CONSTRUCTOR: bool
Object Safety§
This trait is not object safe.Implementors§
source§impl IsConstructor for Constructor
source§const IS_CONSTRUCTOR: bool = true
source§impl IsConstructor for ConstructorNoProto
source§const IS_CONSTRUCTOR: bool = true
source§impl IsConstructor for OrdinaryFunction
source§const IS_CONSTRUCTOR: bool = false
\ No newline at end of file
diff --git a/doc/boa_engine/object/builtins/jsarray/struct.JsArray.html b/doc/boa_engine/object/builtins/jsarray/struct.JsArray.html
index 9f7c3dbd752..9cdd8430d96 100644
--- a/doc/boa_engine/object/builtins/jsarray/struct.JsArray.html
+++ b/doc/boa_engine/object/builtins/jsarray/struct.JsArray.html
@@ -500,12 +500,12 @@ §Panics
-sourcepub(crate) fn length_of_array_like(
+
sourcepub(crate) fn length_of_array_like(
&self,
context: &mut Context
) -> JsResult<u64>
Abstract operation LengthOfArrayLike ( obj )
.
Returns the value of the “length” property of an array-like object.
-sourcepub(crate) fn species_constructor<F>(
+
sourcepub(crate) fn species_constructor<F>(
&self,
default_constructor: F,
context: &mut Context
@@ -519,7 +519,7 @@ §Panics
-
sourcepub(crate) fn enumerable_own_property_names(
+
sourcepub(crate) fn enumerable_own_property_names(
&self,
kind: PropertyNameKind,
context: &mut Context
@@ -528,7 +528,7 @@ §Panics
-
sourcepub(crate) fn get_method<K>(
+
sourcepub(crate) fn get_method<K>(
&self,
key: K,
context: &mut Context
@@ -539,17 +539,17 @@ §Panics
-
sourcepub(crate) fn is_array_abstract(&self) -> JsResult<bool>
Abstract operation IsArray ( argument )
+sourcepub(crate) fn is_array_abstract(&self) -> JsResult<bool>
Abstract operation IsArray ( argument )
Check if a value is an array.
More information:
-sourcepub(crate) fn get_function_realm(
+
sourcepub(crate) fn get_function_realm(
&self,
context: &mut Context
) -> JsResult<Realm>
Abstract operation GetFunctionRealm
.
-sourcepub(crate) fn private_element_find(
+
sourcepub(crate) fn private_element_find(
&self,
name: &PrivateName,
is_getter: bool,
@@ -560,7 +560,7 @@ §Panics
-
sourcepub(crate) fn private_field_add(
+
sourcepub(crate) fn private_field_add(
&self,
name: &PrivateName,
value: JsValue,
@@ -571,7 +571,7 @@ §Panics
-
sourcepub(crate) fn private_method_or_accessor_add(
+
sourcepub(crate) fn private_method_or_accessor_add(
&self,
name: &PrivateName,
method: &PrivateElement,
@@ -582,7 +582,7 @@ §Panics
-
sourcepub(crate) fn private_get(
+
sourcepub(crate) fn private_get(
&self,
name: &PrivateName,
context: &mut Context
@@ -592,7 +592,7 @@ §Panics
-
sourcepub(crate) fn private_set(
+
sourcepub(crate) fn private_set(
&self,
name: &PrivateName,
value: JsValue,
@@ -603,7 +603,7 @@ §Panics
-
sourcepub(crate) fn define_field(
+
sourcepub(crate) fn define_field(
&self,
field_record: &ClassFieldDefinition,
context: &mut Context
@@ -613,7 +613,7 @@ §Panics
-
sourcepub(crate) fn initialize_instance_elements(
+
sourcepub(crate) fn initialize_instance_elements(
&self,
constructor: &Self,
context: &mut Context
@@ -623,7 +623,7 @@ §Panics
-
sourcepub(crate) fn invoke<K>(
&self,
key: K,
args: &[JsValue],
diff --git a/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html b/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html
index 0748d2f086c..fc312cd1cfb 100644
--- a/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html
+++ b/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html
@@ -463,12 +463,12 @@ §Panics
-
sourcepub(crate) fn length_of_array_like(
+
sourcepub(crate) fn length_of_array_like(
&self,
context: &mut Context
) -> JsResult<u64>
Abstract operation LengthOfArrayLike ( obj )
.
Returns the value of the “length” property of an array-like object.
-sourcepub(crate) fn species_constructor<F>(
+
sourcepub(crate) fn species_constructor<F>(
&self,
default_constructor: F,
context: &mut Context
@@ -482,7 +482,7 @@ §Panics
-
sourcepub(crate) fn enumerable_own_property_names(
+
sourcepub(crate) fn enumerable_own_property_names(
&self,
kind: PropertyNameKind,
context: &mut Context
@@ -491,7 +491,7 @@ §Panics
-
sourcepub(crate) fn get_method<K>(
+
sourcepub(crate) fn get_method<K>(
&self,
key: K,
context: &mut Context
@@ -502,17 +502,17 @@ §Panics
-
sourcepub(crate) fn is_array_abstract(&self) -> JsResult<bool>
Abstract operation IsArray ( argument )
+sourcepub(crate) fn is_array_abstract(&self) -> JsResult<bool>
Abstract operation IsArray ( argument )
Check if a value is an array.
More information:
-sourcepub(crate) fn get_function_realm(
+
sourcepub(crate) fn get_function_realm(
&self,
context: &mut Context
) -> JsResult<Realm>
Abstract operation GetFunctionRealm
.
-sourcepub(crate) fn private_element_find(
+
sourcepub(crate) fn private_element_find(
&self,
name: &PrivateName,
is_getter: bool,
@@ -523,7 +523,7 @@ §Panics
-
sourcepub(crate) fn private_field_add(
+
sourcepub(crate) fn private_field_add(
&self,
name: &PrivateName,
value: JsValue,
@@ -534,7 +534,7 @@ §Panics
-
sourcepub(crate) fn private_method_or_accessor_add(
+
sourcepub(crate) fn private_method_or_accessor_add(
&self,
name: &PrivateName,
method: &PrivateElement,
@@ -545,7 +545,7 @@ §Panics
-
sourcepub(crate) fn private_get(
+
sourcepub(crate) fn private_get(
&self,
name: &PrivateName,
context: &mut Context
@@ -555,7 +555,7 @@ §Panics
-
sourcepub(crate) fn private_set(
+
sourcepub(crate) fn private_set(
&self,
name: &PrivateName,
value: JsValue,
@@ -566,7 +566,7 @@ §Panics
-
sourcepub(crate) fn define_field(
+
sourcepub(crate) fn define_field(
&self,
field_record: &ClassFieldDefinition,
context: &mut Context
@@ -576,7 +576,7 @@ §Panics
-
sourcepub(crate) fn initialize_instance_elements(
+
sourcepub(crate) fn initialize_instance_elements(
&self,
constructor: &Self,
context: &mut Context
@@ -586,7 +586,7 @@ §Panics
-
sourcepub(crate) fn invoke<K>(
&self,
key: K,
args: &[JsValue],
diff --git a/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html b/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html
index 7da25c6a6c1..4b14adab1ce 100644
--- a/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html
+++ b/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html
@@ -531,12 +531,12 @@ §Panics
-