From ea25608976ad43770c0425498fbe16107b37cdef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 6 Dec 2023 23:41:49 +0000 Subject: [PATCH] Deploy to GitHub pages --- doc/boa_engine/bigint/struct.JsBigInt.html | 2 +- .../array_iterator/struct.ArrayIterator.html | 2 +- .../builtins/array/struct.Array.html | 2 +- .../shared/struct.SharedArrayBuffer.html | 2 +- .../array_buffer/struct.ArrayBuffer.html | 2 +- .../struct.SharedArrayBuffer.html | 2 +- .../struct.AsyncGenerator.html | 2 +- .../struct.AsyncGeneratorRequest.html | 2 +- .../fn.validate_integer_typed_array.html | 2 +- .../builtins/dataview/struct.DataView.html | 2 +- doc/boa_engine/builtins/date/struct.Date.html | 2 +- .../builtins/error/enum.ErrorObject.html | 2 +- .../arguments/struct.MappedArguments.html | 10 +- .../arguments/struct.UnmappedArguments.html | 2 +- .../function/bound/struct.BoundFunction.html | 2 +- .../function/enum.ClassFieldDefinition.html | 2 +- .../builtins/function/enum.ThisMode.html | 2 +- .../function/struct.BoundFunction.html | 2 +- .../function/struct.OrdinaryFunction.html | 10 +- .../generator/enum.GeneratorState.html | 2 +- .../builtins/generator/struct.Generator.html | 2 +- .../generator/struct.GeneratorContext.html | 2 +- .../intl/collator/struct.Collator.html | 2 +- .../struct.DateTimeFormat.html | 2 +- .../intl/list_format/struct.ListFormat.html | 2 +- .../intl/plural_rules/struct.PluralRules.html | 2 +- .../iterator/struct.SegmentIterator.html | 2 +- .../segmenter/segments/struct.Segments.html | 2 +- .../intl/segmenter/struct.Segmenter.html | 2 +- .../struct.AsyncFromSyncIterator.html | 2 +- .../iterable/struct.IteratorPrototypes.html | 2 +- .../iterable/struct.IteratorRecord.html | 2 +- .../iterable/struct.IteratorResult.html | 2 +- .../map/map_iterator/struct.MapIterator.html | 2 +- .../map/ordered_map/struct.OrderedMap.html | 2 +- .../for_in_iterator/struct.ForInIterator.html | 2 +- .../object/struct.OrdinaryObject.html | 2 +- .../options/trait.ParsableOptionType.html | 2 +- .../builtins/promise/enum.PromiseState.html | 2 +- .../builtins/promise/struct.Promise.html | 2 +- .../promise/struct.PromiseCapability.html | 2 +- .../promise/struct.ReactionRecord.html | 2 +- .../promise/struct.ResolvingFunctions.html | 2 +- .../builtins/proxy/struct.Proxy.html | 2 +- .../struct.RegExpStringIterator.html | 2 +- .../builtins/regexp/struct.RegExp.html | 6 +- .../set/ordered_set/struct.OrderedSet.html | 2 +- .../set/set_iterator/struct.SetIterator.html | 2 +- .../struct.StringIterator.html | 2 +- .../calendar/fn.create_temporal_calendar.html | 2 +- ...oral_calendar_slot_value_with_default.html | 2 +- .../calendar/fn.to_calendar_date_like.html | 2 +- .../fn.to_temporal_calendar_slot_value.html | 2 +- .../object/fn.date_like_to_object.html | 4 +- .../object/struct.CustomRuntimeCalendar.html | 106 ++--- .../temporal/calendar/struct.Calendar.html | 6 +- .../duration/fn.create_temporal_duration.html | 2 +- .../duration/fn.to_temporal_duration.html | 2 +- .../fn.to_temporal_duration_record.html | 2 +- .../fn.to_temporal_partial_duration.html | 2 +- .../temporal/duration/struct.Duration.html | 6 +- .../fields/fn.prepare_temporal_fields.html | 2 +- .../temporal/fn.get_diff_settings.html | 8 +- .../temporal/instant/fn.diff_instant.html | 6 +- .../instant/fn.round_temporal_instant.html | 2 +- .../temporal/instant/struct.Instant.html | 2 +- .../options/enum.TemporalUnitGroup.html | 2 +- .../temporal/options/fn.date_units.html | 2 +- .../temporal/options/fn.datetime_units.html | 2 +- .../options/fn.get_temporal_unit.html | 4 +- .../temporal/options/fn.time_units.html | 2 +- .../plain_date/fn.create_temporal_date.html | 2 +- .../temporal/plain_date/struct.PlainDate.html | 6 +- .../plain_date_time/struct.PlainDateTime.html | 6 +- .../fn.create_temporal_month_day.html | 2 +- .../plain_month_day/struct.PlainMonthDay.html | 6 +- .../fn.create_temporal_year_month.html | 2 +- .../struct.PlainYearMonth.html | 6 +- .../builtins/temporal/struct.Calendar.html | 6 +- .../builtins/temporal/struct.Duration.html | 6 +- .../builtins/temporal/struct.Instant.html | 2 +- .../builtins/temporal/struct.PlainDate.html | 6 +- .../temporal/struct.PlainDateTime.html | 6 +- .../temporal/struct.PlainMonthDay.html | 6 +- .../temporal/struct.PlainYearMonth.html | 6 +- .../builtins/temporal/struct.TimeZone.html | 6 +- .../temporal/struct.ZonedDateTime.html | 6 +- .../temporal/time_zone/struct.TimeZone.html | 6 +- .../fn.add_zoned_date_time.html | 2 +- .../zoned_date_time/struct.ZonedDateTime.html | 6 +- .../struct.TypedArray.html | 2 +- .../type.IntegerIndexed.html | 2 +- .../typed_array/struct.TypedArray.html | 2 +- .../typed_array/type.IntegerIndexed.html | 2 +- .../builtins/uri/struct.UriFunctions.html | 2 +- .../weak/weak_ref/struct.WeakRef.html | 2 +- .../builtins/weak_map/struct.WeakMap.html | 2 +- .../builtins/weak_map/type.NativeWeakMap.html | 12 +- .../builtins/weak_set/struct.WeakSet.html | 2 +- .../builtins/weak_set/type.NativeWeakSet.html | 12 +- .../class/enum.StaticElement.html | 6 +- doc/boa_engine/bytecompiler/enum.Access.html | 10 +- .../bytecompiler/enum.Callable.html | 6 +- .../function/struct.FunctionCompiler.html | 6 +- doc/boa_engine/bytecompiler/index.html | 2 +- .../bytecompiler/struct.ByteCompiler.html | 108 ++--- .../bytecompiler/struct.FunctionSpec.html | 8 +- .../bytecompiler/trait.ToJsString.html | 2 +- .../intrinsics/struct.IntrinsicObjects.html | 2 +- .../context/intrinsics/struct.Intrinsics.html | 2 +- .../intrinsics/struct.ObjectTemplates.html | 2 +- .../struct.StandardConstructor.html | 2 +- .../struct.StandardConstructors.html | 2 +- doc/boa_engine/context/struct.Context.html | 4 +- .../context/struct.ContextCleanupGuard.html | 4 +- .../struct.CompileTimeEnvironment.html | 2 +- .../enum.DeclarativeEnvironmentKind.html | 2 +- .../function/enum.ThisBindingStatus.html | 2 +- .../function/struct.FunctionEnvironment.html | 2 +- .../function/struct.FunctionSlots.html | 6 +- .../global/struct.GlobalEnvironment.html | 2 +- .../lexical/struct.LexicalEnvironment.html | 2 +- .../declarative/module/enum.BindingType.html | 2 +- .../module/struct.IndirectBinding.html | 2 +- .../module/struct.ModuleEnvironment.html | 6 +- .../struct.DeclarativeEnvironment.html | 2 +- .../struct.PoisonableEnvironment.html | 8 +- .../runtime/enum.Environment.html | 8 +- .../private/struct.PrivateEnvironment.html | 2 +- .../runtime/struct.BindingLocator.html | 2 +- .../runtime/struct.EnvironmentStack.html | 14 +- doc/boa_engine/error/enum.ErasedRepr.html | 2 +- .../error/enum.JsErasedNativeErrorKind.html | 2 +- .../error/enum.JsNativeErrorKind.html | 2 +- doc/boa_engine/error/enum.Repr.html | 2 +- .../error/struct.JsErasedError.html | 2 +- .../error/struct.JsErasedNativeError.html | 2 +- doc/boa_engine/error/struct.JsError.html | 2 +- .../error/struct.JsNativeError.html | 2 +- .../host_defined/struct.HostDefined.html | 2 +- doc/boa_engine/job/struct.JobCallback.html | 2 +- doc/boa_engine/module/enum.ModuleKind.html | 2 +- .../loader/struct.SimpleModuleLoader.html | 4 +- .../namespace/struct.ModuleNamespace.html | 2 +- doc/boa_engine/module/source/enum.Status.html | 2 +- .../module/source/struct.DfsInfo.html | 2 +- .../module/source/struct.Inner.html | 12 +- .../module/source/struct.ModuleCode.html | 10 +- .../source/struct.SourceTextContext.html | 4 +- .../source/struct.SourceTextModule.html | 14 +- doc/boa_engine/module/struct.Module.html | 8 +- .../module/struct.ModuleNamespace.html | 2 +- doc/boa_engine/module/struct.ModuleRepr.html | 6 +- .../module/struct.SimpleModuleLoader.html | 4 +- .../module/struct.SyntheticModule.html | 8 +- .../struct.SyntheticModuleInitializer.html | 6 +- .../module/synthetic/struct.Callback.html | 2 +- .../module/synthetic/struct.Inner.html | 6 +- .../synthetic/struct.SyntheticModule.html | 8 +- .../struct.SyntheticModuleInitializer.html | 6 +- .../native_function/enum.Inner.html | 4 +- .../native_function/struct.Closure.html | 2 +- .../struct.NativeFunction.html | 2 +- .../struct.NativeFunctionObject.html | 2 +- .../type.NativeFunctionPointer.html | 2 +- .../builtins/jsarray/struct.JsArray.html | 4 +- .../jsarraybuffer/struct.JsArrayBuffer.html | 4 +- .../jsdataview/struct.JsDataView.html | 4 +- .../object/builtins/jsdate/struct.JsDate.html | 4 +- .../jsfunction/struct.JsFunction.html | 4 +- .../jsgenerator/struct.JsGenerator.html | 4 +- .../object/builtins/jsmap/struct.JsMap.html | 4 +- .../jsmap_iterator/struct.JsMapIterator.html | 4 +- .../builtins/jspromise/struct.Inner.html | 2 +- .../builtins/jspromise/struct.JsFuture.html | 4 +- .../builtins/jspromise/struct.JsPromise.html | 4 +- .../builtins/jsproxy/struct.JsProxy.html | 4 +- .../jsproxy/struct.JsRevocableProxy.html | 4 +- .../builtins/jsregexp/struct.JsRegExp.html | 4 +- .../object/builtins/jsset/struct.JsSet.html | 4 +- .../jsset_iterator/struct.JsSetIterator.html | 4 +- .../struct.JsSharedArrayBuffer.html | 4 +- .../jstypedarray/struct.JsFloat32Array.html | 4 +- .../jstypedarray/struct.JsFloat64Array.html | 4 +- .../jstypedarray/struct.JsInt16Array.html | 4 +- .../jstypedarray/struct.JsInt32Array.html | 4 +- .../jstypedarray/struct.JsInt8Array.html | 4 +- .../jstypedarray/struct.JsTypedArray.html | 4 +- .../jstypedarray/struct.JsUint16Array.html | 4 +- .../jstypedarray/struct.JsUint32Array.html | 4 +- .../jstypedarray/struct.JsUint8Array.html | 4 +- .../object/builtins/struct.JsArray.html | 4 +- .../object/builtins/struct.JsArrayBuffer.html | 4 +- .../object/builtins/struct.JsDataView.html | 4 +- .../object/builtins/struct.JsDate.html | 4 +- .../builtins/struct.JsFloat32Array.html | 4 +- .../builtins/struct.JsFloat64Array.html | 4 +- .../object/builtins/struct.JsFunction.html | 4 +- .../object/builtins/struct.JsFuture.html | 4 +- .../object/builtins/struct.JsGenerator.html | 4 +- .../object/builtins/struct.JsInt16Array.html | 4 +- .../object/builtins/struct.JsInt32Array.html | 4 +- .../object/builtins/struct.JsInt8Array.html | 4 +- .../object/builtins/struct.JsMap.html | 4 +- .../object/builtins/struct.JsMapIterator.html | 4 +- .../object/builtins/struct.JsPromise.html | 4 +- .../object/builtins/struct.JsProxy.html | 4 +- .../object/builtins/struct.JsRegExp.html | 4 +- .../builtins/struct.JsRevocableProxy.html | 4 +- .../object/builtins/struct.JsSet.html | 4 +- .../object/builtins/struct.JsSetIterator.html | 4 +- .../builtins/struct.JsSharedArrayBuffer.html | 4 +- .../object/builtins/struct.JsTypedArray.html | 4 +- .../object/builtins/struct.JsUint16Array.html | 4 +- .../object/builtins/struct.JsUint32Array.html | 4 +- .../object/builtins/struct.JsUint8Array.html | 4 +- .../object/datatypes/trait.JsData.html | 2 +- .../object/enum.PrivateElement.html | 2 +- .../struct.InternalMethodContext.html | 4 +- doc/boa_engine/object/jsobject/fn.upcast.html | 4 +- .../object/jsobject/struct.JsObject.html | 10 +- .../object/jsobject/struct.VTableObject.html | 6 +- .../object/jsobject/type.ErasedObject.html | 2 +- .../jsobject/type.ErasedVTableObject.html | 6 +- doc/boa_engine/object/jsobject/type.Ref.html | 8 +- .../object/jsobject/type.RefMut.html | 8 +- .../property_map/enum.IndexedProperties.html | 2 +- .../property_map/struct.OrderedHashMap.html | 2 +- .../property_map/struct.PropertyMap.html | 2 +- doc/boa_engine/object/shape/enum.Inner.html | 2 +- .../object/shape/enum.WeakShape.html | 2 +- .../shape/root_shape/struct.RootShape.html | 2 +- .../struct.ForwardTransition.html | 18 +- .../forward_transition/struct.Inner.html | 2 +- .../struct.TransitionMap.html | 8 +- .../shape/shared_shape/struct.Inner.html | 2 +- .../shape/shared_shape/struct.ShapeFlags.html | 2 +- .../shared_shape/struct.SharedShape.html | 6 +- .../shared_shape/struct.TransitionKey.html | 2 +- .../shared_shape/struct.WeakSharedShape.html | 6 +- .../template/struct.ObjectTemplate.html | 2 +- .../object/shape/slot/type.SlotIndex.html | 2 +- .../object/shape/struct.RootShape.html | 2 +- doc/boa_engine/object/shape/struct.Shape.html | 2 +- .../object/shape/struct.SharedShape.html | 6 +- .../shape/unique_shape/struct.Inner.html | 6 +- .../unique_shape/struct.UniqueShape.html | 6 +- .../unique_shape/struct.WeakUniqueShape.html | 6 +- doc/boa_engine/object/struct.JsObject.html | 10 +- doc/boa_engine/object/struct.Object.html | 2 +- doc/boa_engine/object/struct.PrivateName.html | 2 +- doc/boa_engine/object/struct.PropertyMap.html | 2 +- doc/boa_engine/object/trait.JsData.html | 2 +- doc/boa_engine/object/type.ErasedObject.html | 2 +- doc/boa_engine/object/type.JsPrototype.html | 8 +- doc/boa_engine/object/type.ObjectStorage.html | 8 +- doc/boa_engine/object/type.Ref.html | 8 +- doc/boa_engine/object/type.RefMut.html | 8 +- .../fn.js_value_to_literal.html | 2 +- .../fn.literal_to_js_value.html | 2 +- .../struct.ConstantFolding.html | 12 +- .../optimizer/struct.Optimizer.html | 376 ++++++++--------- .../optimizer/walker/struct.Walker.html | 378 +++++++++--------- .../prelude/struct.HostDefined.html | 2 +- doc/boa_engine/prelude/struct.Source.html | 14 +- doc/boa_engine/prelude/trait.Finalize.html | 52 +-- doc/boa_engine/prelude/trait.Trace.html | 86 ++-- .../property/enum.DescriptorKind.html | 2 +- doc/boa_engine/property/enum.PropertyKey.html | 2 +- .../property/struct.PropertyDescriptor.html | 2 +- doc/boa_engine/realm/struct.Inner.html | 12 +- doc/boa_engine/realm/struct.Realm.html | 12 +- doc/boa_engine/script/struct.Inner.html | 8 +- doc/boa_engine/script/struct.Script.html | 10 +- doc/boa_engine/string/struct.JsString.html | 2 +- doc/boa_engine/struct.HostDefined.html | 2 +- doc/boa_engine/struct.Source.html | 14 +- doc/boa_engine/symbol/struct.JsSymbol.html | 2 +- doc/boa_engine/trait.Finalize.html | 52 +-- doc/boa_engine/trait.Trace.html | 86 ++-- doc/boa_engine/type.JsResult.html | 6 +- doc/boa_engine/value/enum.JsValue.html | 2 +- .../vm/call_frame/struct.CallFrame.html | 10 +- .../vm/code_block/enum.Constant.html | 6 +- .../code_block/fn.create_function_object.html | 2 +- .../fn.create_function_object_fast.html | 2 +- .../vm/code_block/struct.CodeBlock.html | 8 +- .../vm/code_block/struct.CodeBlockFlags.html | 2 +- .../vm/code_block/struct.InlineCache.html | 6 +- .../enum.CompletionRecord.html | 2 +- doc/boa_engine/vm/enum.ActiveRunnable.html | 2 +- doc/boa_engine/vm/struct.CallFrame.html | 10 +- doc/boa_engine/vm/struct.CodeBlock.html | 8 +- doc/boa_interner/struct.Sym.html | 4 +- doc/boa_interner/sym/struct.Sym.html | 4 +- doc/boa_runtime/console/struct.Console.html | 4 +- doc/boa_runtime/struct.Console.html | 4 +- doc/boa_tester/exec/fn.is_error_type.html | 4 +- doc/boa_tester/exec/fn.register_print_fn.html | 2 +- doc/boa_tester/exec/js262/fn.agent_obj.html | 2 +- .../exec/js262/fn.create_realm.html | 8 +- .../exec/js262/fn.detach_array_buffer.html | 8 +- doc/boa_tester/exec/js262/fn.eval_script.html | 8 +- doc/boa_tester/exec/js262/fn.gc.html | 8 +- .../exec/js262/fn.monotonic_now.html | 8 +- .../exec/js262/fn.register_js262.html | 4 +- .../exec/js262/fn.register_js262_worker.html | 4 +- doc/boa_tester/exec/js262/fn.sleep.html | 8 +- doc/boa_tester/fn.run_test_suite.html | 2 +- doc/boa_tester/struct.Test.html | 6 +- doc/boa_tester/struct.TestSuite.html | 2 +- .../boa_ast/visitor/trait.VisitorMut.js | 2 +- .../boa_gc/trace/trait.Finalize.js | 4 +- doc/implementors/boa_gc/trace/trait.Trace.js | 6 +- .../calendar/trait.CalendarProtocol.js | 2 +- doc/implementors/core/convert/trait.AsRef.js | 2 +- doc/implementors/core/convert/trait.From.js | 2 +- 317 files changed, 1246 insertions(+), 1246 deletions(-) diff --git a/doc/boa_engine/bigint/struct.JsBigInt.html b/doc/boa_engine/bigint/struct.JsBigInt.html index 000d0c8d608..bf0a9041870 100644 --- a/doc/boa_engine/bigint/struct.JsBigInt.html +++ b/doc/boa_engine/bigint/struct.JsBigInt.html @@ -51,7 +51,7 @@
Examples
source

pub fn neg(x: &Self) -> Self

Performs the unary - operation.

source

pub fn not(x: &Self) -> Self

Performs the unary ! operation.

source

pub(crate) fn as_inner(&self) -> &RawBigInt

Trait Implementations§

source§

impl Clone for JsBigInt

source§

fn clone(&self) -> JsBigInt

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for JsBigInt

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for JsBigInt

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for JsBigInt

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Finalize for JsBigInt

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl From<BigInt> for JsBigInt

source§

fn from(value: RawBigInt) -> Self

Converts to this type from the input type.
source§

impl From<Box<BigInt, Global>> for JsBigInt

source§

fn from(value: Box<RawBigInt>) -> Self

Converts to this type from the input type.
source§

impl From<JsBigInt> for JsValue

source§

fn from(value: JsBigInt) -> Self

Converts to this type from the input type.
source§

impl From<JsBigInt> for Numeric

source§

fn from(value: JsBigInt) -> Self

Converts to this type from the input type.
source§

impl From<i128> for JsBigInt

source§

fn from(value: i128) -> Self

Converts to this type from the input type.
source§

impl From<i16> for JsBigInt

source§

fn from(value: i16) -> Self

Converts to this type from the input type.
source§

impl From<i32> for JsBigInt

source§

fn from(value: i32) -> Self

Converts to this type from the input type.
source§

impl From<i64> for JsBigInt

source§

fn from(value: i64) -> Self

Converts to this type from the input type.
source§

impl From<i8> for JsBigInt

source§

fn from(value: i8) -> Self

Converts to this type from the input type.
source§

impl From<isize> for JsBigInt

source§

fn from(value: isize) -> Self

Converts to this type from the input type.
source§

impl From<u128> for JsBigInt

source§

fn from(value: u128) -> Self

Converts to this type from the input type.
source§

impl From<u16> for JsBigInt

source§

fn from(value: u16) -> Self

Converts to this type from the input type.
source§

impl From<u32> for JsBigInt

source§

fn from(value: u32) -> Self

Converts to this type from the input type.
source§

impl From<u64> for JsBigInt

source§

fn from(value: u64) -> Self

Converts to this type from the input type.
source§

impl From<u8> for JsBigInt

source§

fn from(value: u8) -> Self

Converts to this type from the input type.
source§

impl From<usize> for JsBigInt

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for JsBigInt

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for JsBigInt

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Finalize for JsBigInt

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl From<BigInt> for JsBigInt

source§

fn from(value: RawBigInt) -> Self

Converts to this type from the input type.
source§

impl From<Box<BigInt, Global>> for JsBigInt

source§

fn from(value: Box<RawBigInt>) -> Self

Converts to this type from the input type.
source§

impl From<JsBigInt> for JsValue

source§

fn from(value: JsBigInt) -> Self

Converts to this type from the input type.
source§

impl From<JsBigInt> for Numeric

source§

fn from(value: JsBigInt) -> Self

Converts to this type from the input type.
source§

impl From<i128> for JsBigInt

source§

fn from(value: i128) -> Self

Converts to this type from the input type.
source§

impl From<i16> for JsBigInt

source§

fn from(value: i16) -> Self

Converts to this type from the input type.
source§

impl From<i32> for JsBigInt

source§

fn from(value: i32) -> Self

Converts to this type from the input type.
source§

impl From<i64> for JsBigInt

source§

fn from(value: i64) -> Self

Converts to this type from the input type.
source§

impl From<i8> for JsBigInt

source§

fn from(value: i8) -> Self

Converts to this type from the input type.
source§

impl From<isize> for JsBigInt

source§

fn from(value: isize) -> Self

Converts to this type from the input type.
source§

impl From<u128> for JsBigInt

source§

fn from(value: u128) -> Self

Converts to this type from the input type.
source§

impl From<u16> for JsBigInt

source§

fn from(value: u16) -> Self

Converts to this type from the input type.
source§

impl From<u32> for JsBigInt

source§

fn from(value: u32) -> Self

Converts to this type from the input type.
source§

impl From<u64> for JsBigInt

source§

fn from(value: u64) -> Self

Converts to this type from the input type.
source§

impl From<u8> for JsBigInt

source§

fn from(value: u8) -> Self

Converts to this type from the input type.
source§

impl From<usize> for JsBigInt

source§

fn from(value: usize) -> Self

Converts to this type from the input type.
source§

impl Hash for JsBigInt

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for JsBigInt

source§

fn cmp(&self, other: &JsBigInt) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere diff --git a/doc/boa_engine/builtins/array/array_iterator/struct.ArrayIterator.html b/doc/boa_engine/builtins/array/array_iterator/struct.ArrayIterator.html index 7583133aa31..39811889070 100644 --- a/doc/boa_engine/builtins/array/array_iterator/struct.ArrayIterator.html +++ b/doc/boa_engine/builtins/array/array_iterator/struct.ArrayIterator.html @@ -28,7 +28,7 @@ -

Trait Implementations§

source§

impl Clone for ArrayIterator

source§

fn clone(&self) -> ArrayIterator

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayIterator

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for ArrayIterator

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for ArrayIterator

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for ArrayIterator

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for ArrayIterator

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all +

Trait Implementations§

source§

impl Clone for ArrayIterator

source§

fn clone(&self) -> ArrayIterator

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayIterator

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for ArrayIterator

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for ArrayIterator

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for ArrayIterator

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for ArrayIterator

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all contained subobjects.
source§

impl JsData for ArrayIterator

Auto Trait Implementations§

§

impl !RefUnwindSafe for ArrayIterator

§

impl !Send for ArrayIterator

§

impl !Sync for ArrayIterator

§

impl Unpin for ArrayIterator

§

impl !UnwindSafe for ArrayIterator

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/array/struct.Array.html b/doc/boa_engine/builtins/array/struct.Array.html index 8ae58473b00..80cf4690e55 100644 --- a/doc/boa_engine/builtins/array/struct.Array.html +++ b/doc/boa_engine/builtins/array/struct.Array.html @@ -565,7 +565,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

The native constructor function.
source§

impl BuiltInObject for Array

source§

const NAME: JsString = StaticJsStrings::ARRAY

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for Array

source§

fn clone(&self) -> Array

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Array

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Finalize for Array

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for Array

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for Arraywhere +) -> JsResult<JsValue>

The native constructor function.
source§

impl BuiltInObject for Array

source§

const NAME: JsString = StaticJsStrings::ARRAY

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for Array

source§

fn clone(&self) -> Array

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Array

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Finalize for Array

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for Array

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for Arraywhere Self: Copy,

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all contained subobjects.
source§

impl Copy for Array

source§

impl JsData for Array

Auto Trait Implementations§

§

impl RefUnwindSafe for Array

§

impl Send for Array

§

impl Sync for Array

§

impl Unpin for Array

§

impl UnwindSafe for Array

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/builtins/array_buffer/shared/struct.SharedArrayBuffer.html b/doc/boa_engine/builtins/array_buffer/shared/struct.SharedArrayBuffer.html index 860ebbe624f..e6870d2db47 100644 --- a/doc/boa_engine/builtins/array_buffer/shared/struct.SharedArrayBuffer.html +++ b/doc/boa_engine/builtins/array_buffer/shared/struct.SharedArrayBuffer.html @@ -52,7 +52,7 @@ -

source§

const LENGTH: usize = 1usize

The amount of arguments this function object takes.
source§

const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::shared_array_buffer as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

The corresponding standard constructor of this constructor.
source§

impl BuiltInObject for SharedArrayBuffer

source§

const NAME: JsString = StaticJsStrings::SHARED_ARRAY_BUFFER

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for SharedArrayBuffer

source§

fn clone(&self) -> SharedArrayBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SharedArrayBuffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for SharedArrayBuffer

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for SharedArrayBuffer

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for SharedArrayBuffer

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for SharedArrayBuffer

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all +
source§

const LENGTH: usize = 1usize

The amount of arguments this function object takes.
source§

const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::shared_array_buffer as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

The corresponding standard constructor of this constructor.
source§

impl BuiltInObject for SharedArrayBuffer

source§

const NAME: JsString = StaticJsStrings::SHARED_ARRAY_BUFFER

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for SharedArrayBuffer

source§

fn clone(&self) -> SharedArrayBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SharedArrayBuffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for SharedArrayBuffer

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for SharedArrayBuffer

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for SharedArrayBuffer

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for SharedArrayBuffer

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all contained subobjects.
source§

impl JsData for SharedArrayBuffer

Auto Trait Implementations§

§

impl RefUnwindSafe for SharedArrayBuffer

§

impl Send for SharedArrayBuffer

§

impl Sync for SharedArrayBuffer

§

impl Unpin for SharedArrayBuffer

§

impl UnwindSafe for SharedArrayBuffer

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/array_buffer/struct.ArrayBuffer.html b/doc/boa_engine/builtins/array_buffer/struct.ArrayBuffer.html index a251fa28062..094351b2bb8 100644 --- a/doc/boa_engine/builtins/array_buffer/struct.ArrayBuffer.html +++ b/doc/boa_engine/builtins/array_buffer/struct.ArrayBuffer.html @@ -67,7 +67,7 @@
Errors
-

source§

const LENGTH: usize = 1usize

The amount of arguments this function object takes.
source§

const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::array_buffer as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

The corresponding standard constructor of this constructor.
source§

impl BuiltInObject for ArrayBuffer

source§

const NAME: JsString = StaticJsStrings::ARRAY_BUFFER

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for ArrayBuffer

source§

fn clone(&self) -> ArrayBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayBuffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for ArrayBuffer

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for ArrayBuffer

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for ArrayBuffer

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for ArrayBuffer

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all +
source§

const LENGTH: usize = 1usize

The amount of arguments this function object takes.
source§

const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::array_buffer as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

The corresponding standard constructor of this constructor.
source§

impl BuiltInObject for ArrayBuffer

source§

const NAME: JsString = StaticJsStrings::ARRAY_BUFFER

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for ArrayBuffer

source§

fn clone(&self) -> ArrayBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ArrayBuffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for ArrayBuffer

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for ArrayBuffer

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for ArrayBuffer

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for ArrayBuffer

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all contained subobjects.
source§

impl JsData for ArrayBuffer

Auto Trait Implementations§

§

impl !RefUnwindSafe for ArrayBuffer

§

impl !Send for ArrayBuffer

§

impl !Sync for ArrayBuffer

§

impl Unpin for ArrayBuffer

§

impl !UnwindSafe for ArrayBuffer

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/array_buffer/struct.SharedArrayBuffer.html b/doc/boa_engine/builtins/array_buffer/struct.SharedArrayBuffer.html index e66c8bd8ec8..260750dbccb 100644 --- a/doc/boa_engine/builtins/array_buffer/struct.SharedArrayBuffer.html +++ b/doc/boa_engine/builtins/array_buffer/struct.SharedArrayBuffer.html @@ -52,7 +52,7 @@ -

source§

const LENGTH: usize = 1usize

The amount of arguments this function object takes.
source§

const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::shared_array_buffer as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

The corresponding standard constructor of this constructor.
source§

impl BuiltInObject for SharedArrayBuffer

source§

const NAME: JsString = StaticJsStrings::SHARED_ARRAY_BUFFER

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for SharedArrayBuffer

source§

fn clone(&self) -> SharedArrayBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SharedArrayBuffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for SharedArrayBuffer

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for SharedArrayBuffer

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for SharedArrayBuffer

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for SharedArrayBuffer

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all +
source§

const LENGTH: usize = 1usize

The amount of arguments this function object takes.
source§

const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::shared_array_buffer as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

The corresponding standard constructor of this constructor.
source§

impl BuiltInObject for SharedArrayBuffer

source§

const NAME: JsString = StaticJsStrings::SHARED_ARRAY_BUFFER

Binding name of the builtin inside the global object. Read more
source§

const ATTRIBUTE: Attribute = _

Property attribute flags of the built-in. Check Attribute for more information.
source§

impl Clone for SharedArrayBuffer

source§

fn clone(&self) -> SharedArrayBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SharedArrayBuffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for SharedArrayBuffer

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for SharedArrayBuffer

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for SharedArrayBuffer

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for SharedArrayBuffer

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all contained subobjects.
source§

impl JsData for SharedArrayBuffer

Auto Trait Implementations§

§

impl RefUnwindSafe for SharedArrayBuffer

§

impl Send for SharedArrayBuffer

§

impl Sync for SharedArrayBuffer

§

impl Unpin for SharedArrayBuffer

§

impl UnwindSafe for SharedArrayBuffer

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/async_generator/struct.AsyncGenerator.html b/doc/boa_engine/builtins/async_generator/struct.AsyncGenerator.html index ac3edf4b76b..c96d21d478c 100644 --- a/doc/boa_engine/builtins/async_generator/struct.AsyncGenerator.html +++ b/doc/boa_engine/builtins/async_generator/struct.AsyncGenerator.html @@ -78,7 +78,7 @@ -

Trait Implementations§

source§

impl Clone for AsyncGenerator

source§

fn clone(&self) -> AsyncGenerator

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AsyncGenerator

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for AsyncGenerator

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for AsyncGenerator

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for AsyncGenerator

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for AsyncGenerator

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all +

Trait Implementations§

source§

impl Clone for AsyncGenerator

source§

fn clone(&self) -> AsyncGenerator

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AsyncGenerator

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for AsyncGenerator

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for AsyncGenerator

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl IntrinsicObject for AsyncGenerator

source§

fn init(realm: &Realm)

Initializes the intrinsic object. Read more
source§

fn get(intrinsics: &Intrinsics) -> JsObject

Gets the intrinsic object.
source§

impl Trace for AsyncGenerator

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all contained subobjects.
source§

impl JsData for AsyncGenerator

Auto Trait Implementations§

§

impl !RefUnwindSafe for AsyncGenerator

§

impl !Send for AsyncGenerator

§

impl !Sync for AsyncGenerator

§

impl Unpin for AsyncGenerator

§

impl !UnwindSafe for AsyncGenerator

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/async_generator/struct.AsyncGeneratorRequest.html b/doc/boa_engine/builtins/async_generator/struct.AsyncGeneratorRequest.html index 923da3e1cd7..99568e3e205 100644 --- a/doc/boa_engine/builtins/async_generator/struct.AsyncGeneratorRequest.html +++ b/doc/boa_engine/builtins/async_generator/struct.AsyncGeneratorRequest.html @@ -8,7 +8,7 @@

Fields§

§completion: CompletionRecord

The [[Completion]] slot.

§capability: PromiseCapability

The [[Capability]] slot.

-

Trait Implementations§

source§

impl Clone for AsyncGeneratorRequest

source§

fn clone(&self) -> AsyncGeneratorRequest

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AsyncGeneratorRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for AsyncGeneratorRequest

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for AsyncGeneratorRequest

§

fn finalize(&self)

Cleanup logic for a type.
source§

impl Trace for AsyncGeneratorRequest

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all +

Trait Implementations§

source§

impl Clone for AsyncGeneratorRequest

source§

fn clone(&self) -> AsyncGeneratorRequest

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AsyncGeneratorRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for AsyncGeneratorRequest

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Finalize for AsyncGeneratorRequest

source§

fn finalize(&self)

Cleanup logic for a type.
source§

impl Trace for AsyncGeneratorRequest

source§

unsafe fn trace(&self)

Marks all contained Gcs. Read more
source§

fn trace_non_roots(&self)

Trace handles located in GC heap, and mark them as non root.
source§

fn run_finalizer(&self)

Runs Finalize::finalize on this object and all contained subobjects.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/atomics/fn.validate_integer_typed_array.html b/doc/boa_engine/builtins/atomics/fn.validate_integer_typed_array.html index 30a357cff96..04023729dca 100644 --- a/doc/boa_engine/builtins/atomics/fn.validate_integer_typed_array.html +++ b/doc/boa_engine/builtins/atomics/fn.validate_integer_typed_array.html @@ -1,5 +1,5 @@ validate_integer_typed_array in boa_engine::builtins::atomics - Rust
fn validate_integer_typed_array(
     array: &JsValue,
     waitable: bool
-) -> JsResult<GcRef<'_, TypedArray>>
Expand description
\ No newline at end of file diff --git a/doc/boa_engine/builtins/dataview/struct.DataView.html b/doc/boa_engine/builtins/dataview/struct.DataView.html index 9d810334df2..7c676d6c79e 100644 --- a/doc/boa_engine/builtins/dataview/struct.DataView.html +++ b/doc/boa_engine/builtins/dataview/struct.DataView.html @@ -317,7 +317,7 @@
  • ECMAScript reference
  • MDN
  • -

    source§

    const LENGTH: usize = 1usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::data_view as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for DataView

    source§

    const NAME: JsString = StaticJsStrings::DATA_VIEW

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for DataView

    source§

    fn clone(&self) -> DataView

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DataView

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DataView

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DataView

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for DataView

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for DataView

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const LENGTH: usize = 1usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::data_view as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for DataView

    source§

    const NAME: JsString = StaticJsStrings::DATA_VIEW

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for DataView

    source§

    fn clone(&self) -> DataView

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DataView

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DataView

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DataView

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for DataView

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for DataView

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for DataView

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for DataView

    §

    impl !Send for DataView

    §

    impl !Sync for DataView

    §

    impl Unpin for DataView

    §

    impl !UnwindSafe for DataView

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/date/struct.Date.html b/doc/boa_engine/builtins/date/struct.Date.html index e055937edab..1bf804b17c2 100644 --- a/doc/boa_engine/builtins/date/struct.Date.html +++ b/doc/boa_engine/builtins/date/struct.Date.html @@ -338,7 +338,7 @@
    Note
    The MDN documentation has a more extensive explanation on the usages and return values for all possible arguments. -

    source§

    const LENGTH: usize = 7usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::date as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Date

    source§

    const NAME: JsString = StaticJsStrings::DATE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Date

    source§

    fn clone(&self) -> Date

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Date

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Date

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Date

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    source§

    const LENGTH: usize = 7usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::date as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Date

    source§

    const NAME: JsString = StaticJsStrings::DATE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Date

    source§

    fn clone(&self) -> Date

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Date

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Date

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Date

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntrinsicObject for Date

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Ord for Date

    source§

    fn cmp(&self, other: &Date) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere diff --git a/doc/boa_engine/builtins/error/enum.ErrorObject.html b/doc/boa_engine/builtins/error/enum.ErrorObject.html index c9f98d3798b..8a0fbe7e857 100644 --- a/doc/boa_engine/builtins/error/enum.ErrorObject.html +++ b/doc/boa_engine/builtins/error/enum.ErrorObject.html @@ -55,7 +55,7 @@ -

    Trait Implementations§

    source§

    impl Clone for ErrorObject

    source§

    fn clone(&self) -> ErrorObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ErrorObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ErrorObject

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ErrorObject> for ErrorObject

    source§

    fn eq(&self, other: &ErrorObject) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for ErrorObject

    source§

    fn clone(&self) -> ErrorObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ErrorObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ErrorObject

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ErrorObject> for ErrorObject

    source§

    fn eq(&self, other: &ErrorObject) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialEq<ErrorObject> for JsNativeErrorKind

    source§

    fn eq(&self, other: &ErrorObject) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/builtins/function/arguments/struct.MappedArguments.html b/doc/boa_engine/builtins/function/arguments/struct.MappedArguments.html index 7ab8ab5eb22..91089eb3234 100644 --- a/doc/boa_engine/builtins/function/arguments/struct.MappedArguments.html +++ b/doc/boa_engine/builtins/function/arguments/struct.MappedArguments.html @@ -1,9 +1,9 @@ MappedArguments in boa_engine::builtins::function::arguments - Rust
    pub(crate) struct MappedArguments {
         binding_indices: Vec<Option<u32>>,
    -    environment: Gc<DeclarativeEnvironment>,
    +    environment: Gc<DeclarativeEnvironment>,
     }
    Expand description

    MappedArguments represents an Arguments exotic object.

    This struct stores all the data to access mapped function parameters in their environment.

    -

    Fields§

    §binding_indices: Vec<Option<u32>>§environment: Gc<DeclarativeEnvironment>

    Implementations§

    source§

    impl MappedArguments

    source

    pub(crate) fn delete(&mut self, index: u32)

    Deletes the binding with the given index from the parameter map.

    +

    Fields§

    §binding_indices: Vec<Option<u32>>§environment: Gc<DeclarativeEnvironment>

    Implementations§

    source§

    impl MappedArguments

    source

    pub(crate) fn delete(&mut self, index: u32)

    Deletes the binding with the given index from the parameter map.

    source

    pub(crate) fn get(&self, index: u32) -> Option<JsValue>

    Get the value of the binding at the given index from the function environment.

    Note: This function is the abstract getter closure described in 10.4.4.7.1 MakeArgGetter ( name, env )

    More information:

    @@ -18,13 +18,13 @@
    source§

    impl MappedArguments

    source

    pub(crate) fn new( func: &JsObject, - formals: &FormalParameterList, + formals: &FormalParameterList, arguments_list: &[JsValue], - env: &Gc<DeclarativeEnvironment>, + env: &Gc<DeclarativeEnvironment>, context: &mut Context ) -> JsObject

    Creates a new mapped Arguments exotic object.

    https://tc39.es/ecma262/#sec-createmappedargumentsobject

    -

    Trait Implementations§

    source§

    impl Clone for MappedArguments

    source§

    fn clone(&self) -> MappedArguments

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MappedArguments

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for MappedArguments

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for MappedArguments

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for MappedArguments

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for MappedArguments

    source§

    fn clone(&self) -> MappedArguments

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MappedArguments

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for MappedArguments

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for MappedArguments

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for MappedArguments

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for MappedArguments

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/function/arguments/struct.UnmappedArguments.html b/doc/boa_engine/builtins/function/arguments/struct.UnmappedArguments.html index e2b3e264b67..92676a07270 100644 --- a/doc/boa_engine/builtins/function/arguments/struct.UnmappedArguments.html +++ b/doc/boa_engine/builtins/function/arguments/struct.UnmappedArguments.html @@ -3,7 +3,7 @@ -

    Trait Implementations§

    source§

    impl Clone for UnmappedArguments

    source§

    fn clone(&self) -> UnmappedArguments

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UnmappedArguments

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for UnmappedArguments

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for UnmappedArgumentswhere +

    Trait Implementations§

    source§

    impl Clone for UnmappedArguments

    source§

    fn clone(&self) -> UnmappedArguments

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UnmappedArguments

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for UnmappedArguments

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for UnmappedArgumentswhere Self: Copy,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Copy for UnmappedArguments

    source§

    impl JsData for UnmappedArguments

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for UnmappedArguments

    §

    impl Send for UnmappedArguments

    §

    impl Sync for UnmappedArguments

    §

    impl Unpin for UnmappedArguments

    §

    impl UnwindSafe for UnmappedArguments

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/builtins/function/bound/struct.BoundFunction.html b/doc/boa_engine/builtins/function/bound/struct.BoundFunction.html index bf419ea7040..4fe37d9c2b5 100644 --- a/doc/boa_engine/builtins/function/bound/struct.BoundFunction.html +++ b/doc/boa_engine/builtins/function/bound/struct.BoundFunction.html @@ -16,7 +16,7 @@

    source

    pub const fn this(&self) -> &JsValue

    Get a reference to the bound function’s this.

    source

    pub const fn target_function(&self) -> &JsObject

    Get a reference to the bound function’s target function.

    source

    pub fn args(&self) -> &[JsValue]

    Get a reference to the bound function’s args.

    -

    Trait Implementations§

    source§

    impl Debug for BoundFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for BoundFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for BoundFunction

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for BoundFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for BoundFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for BoundFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for BoundFunction

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for BoundFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for BoundFunction

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for BoundFunction

    §

    impl !Send for BoundFunction

    §

    impl !Sync for BoundFunction

    §

    impl Unpin for BoundFunction

    §

    impl !UnwindSafe for BoundFunction

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/function/enum.ClassFieldDefinition.html b/doc/boa_engine/builtins/function/enum.ClassFieldDefinition.html index e7d39103a92..60bab2eb2b8 100644 --- a/doc/boa_engine/builtins/function/enum.ClassFieldDefinition.html +++ b/doc/boa_engine/builtins/function/enum.ClassFieldDefinition.html @@ -8,7 +8,7 @@

    Variants§

    §

    Public(PropertyKey, JsFunction)

    A class field definition with a string or symbol as a name.

    §

    Private(PrivateName, JsFunction)

    A class field definition with a private name.

    -

    Trait Implementations§

    source§

    impl Clone for ClassFieldDefinition

    source§

    fn clone(&self) -> ClassFieldDefinition

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ClassFieldDefinition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ClassFieldDefinition

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ClassFieldDefinition

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for ClassFieldDefinition

    source§

    fn clone(&self) -> ClassFieldDefinition

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ClassFieldDefinition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ClassFieldDefinition

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ClassFieldDefinition

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/function/enum.ThisMode.html b/doc/boa_engine/builtins/function/enum.ThisMode.html index 37768bc9fac..acef8ec43e6 100644 --- a/doc/boa_engine/builtins/function/enum.ThisMode.html +++ b/doc/boa_engine/builtins/function/enum.ThisMode.html @@ -14,7 +14,7 @@

    Implementations§

    source§

    impl ThisMode

    source

    pub const fn is_lexical(&self) -> bool

    Returns true if the this mode is Lexical.

    source

    pub const fn is_strict(&self) -> bool

    Returns true if the this mode is Strict.

    source

    pub const fn is_global(&self) -> bool

    Returns true if the this mode is Global.

    -

    Trait Implementations§

    source§

    impl Clone for ThisMode

    source§

    fn clone(&self) -> ThisMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ThisMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ThisMode

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ThisMode

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ThisMode> for ThisMode

    source§

    fn eq(&self, other: &ThisMode) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for ThisMode

    source§

    fn clone(&self) -> ThisMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ThisMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ThisMode

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ThisMode

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ThisMode> for ThisMode

    source§

    fn eq(&self, other: &ThisMode) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for ThisMode

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for ThisMode

    source§

    impl StructuralEq for ThisMode

    source§

    impl StructuralPartialEq for ThisMode

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for ThisMode

    §

    impl Send for ThisMode

    §

    impl Sync for ThisMode

    §

    impl Unpin for ThisMode

    §

    impl UnwindSafe for ThisMode

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/builtins/function/struct.BoundFunction.html b/doc/boa_engine/builtins/function/struct.BoundFunction.html index 36bb150c13a..859f27c7a15 100644 --- a/doc/boa_engine/builtins/function/struct.BoundFunction.html +++ b/doc/boa_engine/builtins/function/struct.BoundFunction.html @@ -16,7 +16,7 @@

    source

    pub const fn this(&self) -> &JsValue

    Get a reference to the bound function’s this.

    source

    pub const fn target_function(&self) -> &JsObject

    Get a reference to the bound function’s target function.

    source

    pub fn args(&self) -> &[JsValue]

    Get a reference to the bound function’s args.

    -

    Trait Implementations§

    source§

    impl Debug for BoundFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for BoundFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for BoundFunction

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for BoundFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for BoundFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for BoundFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for BoundFunction

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for BoundFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for BoundFunction

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for BoundFunction

    §

    impl !Send for BoundFunction

    §

    impl !Sync for BoundFunction

    §

    impl Unpin for BoundFunction

    §

    impl !UnwindSafe for BoundFunction

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/function/struct.OrdinaryFunction.html b/doc/boa_engine/builtins/function/struct.OrdinaryFunction.html index 6b914e3df44..55eb87a226f 100644 --- a/doc/boa_engine/builtins/function/struct.OrdinaryFunction.html +++ b/doc/boa_engine/builtins/function/struct.OrdinaryFunction.html @@ -1,5 +1,5 @@ OrdinaryFunction in boa_engine::builtins::function - Rust
    pub struct OrdinaryFunction {
    -    pub(crate) code: Gc<CodeBlock>,
    +    pub(crate) code: Gc<CodeBlock>,
         pub(crate) environments: EnvironmentStack,
         pub(crate) home_object: Option<JsObject>,
         pub(crate) script_or_module: Option<ActiveRunnable>,
    @@ -10,7 +10,7 @@
     

    FunctionBody is specific to this interpreter, it will either be Rust code or JavaScript code (AST Node).

    https://tc39.es/ecma262/#sec-ecmascript-function-objects

    -

    Fields§

    §code: Gc<CodeBlock>

    The code block containing the compiled function.

    +

    Fields§

    §code: Gc<CodeBlock>

    The code block containing the compiled function.

    §environments: EnvironmentStack

    The [[Environment]] internal slot.

    §home_object: Option<JsObject>

    The [[HomeObject]] internal slot.

    §script_or_module: Option<ActiveRunnable>

    The [[ScriptOrModule]] internal slot.

    @@ -18,14 +18,14 @@
    §fields: ThinVec<ClassFieldDefinition>

    The [[Fields]] internal slot.

    §private_methods: ThinVec<(PrivateName, PrivateElement)>

    The [[PrivateMethods]] internal slot.

    Implementations§

    source§

    impl OrdinaryFunction

    source

    pub(crate) fn new( - code: Gc<CodeBlock>, + code: Gc<CodeBlock>, environments: EnvironmentStack, script_or_module: Option<ActiveRunnable>, realm: Realm ) -> Self

    source

    pub fn codeblock(&self) -> &CodeBlock

    Returns the codeblock of the function.

    source

    pub(crate) fn push_private_environment( &mut self, - environment: Gc<PrivateEnvironment> + environment: Gc<PrivateEnvironment> )

    Push a private environment to the function.

    source

    pub(crate) fn is_derived_constructor(&self) -> bool

    Returns true if the function object is a derived constructor.

    source

    pub(crate) fn in_class_field_initializer(&self) -> bool

    Does this function have the [[ClassFieldInitializerName]] internal slot set to non-empty value.

    @@ -46,7 +46,7 @@ )

    Pushes a private method to the [[PrivateMethods]] internal slot if present.

    source

    pub const fn realm(&self) -> &Realm

    Gets the Realm from where this function originates.

    source

    pub(crate) fn is_ordinary(&self) -> bool

    Checks if this function is an ordinary function.

    -

    Trait Implementations§

    source§

    impl Debug for OrdinaryFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for OrdinaryFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for OrdinaryFunction

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for OrdinaryFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for OrdinaryFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for OrdinaryFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for OrdinaryFunction

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for OrdinaryFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for OrdinaryFunction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/generator/enum.GeneratorState.html b/doc/boa_engine/builtins/generator/enum.GeneratorState.html index 58265a0bb67..fc64ca324cc 100644 --- a/doc/boa_engine/builtins/generator/enum.GeneratorState.html +++ b/doc/boa_engine/builtins/generator/enum.GeneratorState.html @@ -10,7 +10,7 @@ }
    Expand description

    Indicates the state of a generator.

    Variants§

    §

    SuspendedStart

    Fields

    §context: GeneratorContext

    The [[GeneratorContext]] internal slot.

    §

    SuspendedYield

    Fields

    §context: GeneratorContext

    The [[GeneratorContext]] internal slot.

    -
    §

    Executing

    §

    Completed

    Trait Implementations§

    source§

    impl Clone for GeneratorState

    source§

    fn clone(&self) -> GeneratorState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GeneratorState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for GeneratorState

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for GeneratorState

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    §

    Executing

    §

    Completed

    Trait Implementations§

    source§

    impl Clone for GeneratorState

    source§

    fn clone(&self) -> GeneratorState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GeneratorState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for GeneratorState

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for GeneratorState

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for GeneratorState

    §

    impl !Send for GeneratorState

    §

    impl !Sync for GeneratorState

    §

    impl Unpin for GeneratorState

    §

    impl !UnwindSafe for GeneratorState

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/generator/struct.Generator.html b/doc/boa_engine/builtins/generator/struct.Generator.html index 1e7ed859ea4..232113af975 100644 --- a/doc/boa_engine/builtins/generator/struct.Generator.html +++ b/doc/boa_engine/builtins/generator/struct.Generator.html @@ -55,7 +55,7 @@ -

    Trait Implementations§

    source§

    impl Debug for Generator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Generator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Generator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Generator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Generator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for Generator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Generator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Generator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Generator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Generator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Generator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Generator

    §

    impl !Send for Generator

    §

    impl !Sync for Generator

    §

    impl Unpin for Generator

    §

    impl !UnwindSafe for Generator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/generator/struct.GeneratorContext.html b/doc/boa_engine/builtins/generator/struct.GeneratorContext.html index 76d505d2ac5..c4316c95534 100644 --- a/doc/boa_engine/builtins/generator/struct.GeneratorContext.html +++ b/doc/boa_engine/builtins/generator/struct.GeneratorContext.html @@ -12,7 +12,7 @@ resume_kind: GeneratorResumeKind, context: &mut Context ) -> CompletionRecord

    Resumes execution with GeneratorContext as the current execution context.

    -

    Trait Implementations§

    source§

    impl Clone for GeneratorContext

    source§

    fn clone(&self) -> GeneratorContext

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GeneratorContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for GeneratorContext

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for GeneratorContext

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for GeneratorContext

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for GeneratorContext

    source§

    fn clone(&self) -> GeneratorContext

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for GeneratorContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for GeneratorContext

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for GeneratorContext

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for GeneratorContext

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for GeneratorContext

    §

    impl !Send for GeneratorContext

    §

    impl !Sync for GeneratorContext

    §

    impl Unpin for GeneratorContext

    §

    impl !UnwindSafe for GeneratorContext

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/intl/collator/struct.Collator.html b/doc/boa_engine/builtins/intl/collator/struct.Collator.html index 465939fabf8..32e4b1f09af 100644 --- a/doc/boa_engine/builtins/intl/collator/struct.Collator.html +++ b/doc/boa_engine/builtins/intl/collator/struct.Collator.html @@ -51,7 +51,7 @@ -

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::collator as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Collator

    source§

    const NAME: JsString = StaticJsStrings::COLLATOR

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Collator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Collator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Collator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for Collator

    §

    type LangMarker = CollationMetadataV1Marker

    The data marker used by resolve_locale to decide +
    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::collator as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Collator

    source§

    const NAME: JsString = StaticJsStrings::COLLATOR

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Collator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Collator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Collator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for Collator

    §

    type LangMarker = CollationMetadataV1Marker

    The data marker used by resolve_locale to decide which locales are supported by this service.
    §

    type LocaleOptions = CollatorLocaleOptions

    The set of options used in the Service::resolve method to resolve the provided locale.
    source§

    fn resolve( locale: &mut Locale, diff --git a/doc/boa_engine/builtins/intl/date_time_format/struct.DateTimeFormat.html b/doc/boa_engine/builtins/intl/date_time_format/struct.DateTimeFormat.html index 94814361fba..c25ab3ba05c 100644 --- a/doc/boa_engine/builtins/intl/date_time_format/struct.DateTimeFormat.html +++ b/doc/boa_engine/builtins/intl/date_time_format/struct.DateTimeFormat.html @@ -29,7 +29,7 @@
  • ECMAScript reference
  • MDN documentation
  • -

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::date_time_format as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for DateTimeFormat

    source§

    const NAME: JsString = StaticJsStrings::DATE_TIME_FORMAT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for DateTimeFormat

    source§

    fn clone(&self) -> DateTimeFormat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DateTimeFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DateTimeFormat

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DateTimeFormat

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for DateTimeFormat

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for DateTimeFormat

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::date_time_format as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for DateTimeFormat

    source§

    const NAME: JsString = StaticJsStrings::DATE_TIME_FORMAT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for DateTimeFormat

    source§

    fn clone(&self) -> DateTimeFormat

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DateTimeFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DateTimeFormat

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DateTimeFormat

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for DateTimeFormat

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for DateTimeFormat

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for DateTimeFormat

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for DateTimeFormat

    §

    impl !Send for DateTimeFormat

    §

    impl !Sync for DateTimeFormat

    §

    impl Unpin for DateTimeFormat

    §

    impl !UnwindSafe for DateTimeFormat

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/intl/list_format/struct.ListFormat.html b/doc/boa_engine/builtins/intl/list_format/struct.ListFormat.html index 75c1f0e1f4d..973f48a54f5 100644 --- a/doc/boa_engine/builtins/intl/list_format/struct.ListFormat.html +++ b/doc/boa_engine/builtins/intl/list_format/struct.ListFormat.html @@ -55,7 +55,7 @@ -

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::list_format as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for ListFormat

    source§

    const NAME: JsString = StaticJsStrings::LIST_FORMAT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for ListFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ListFormat

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ListFormat

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for ListFormat

    §

    type LangMarker = AndListV1Marker

    The data marker used by resolve_locale to decide +
    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::list_format as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for ListFormat

    source§

    const NAME: JsString = StaticJsStrings::LIST_FORMAT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for ListFormat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ListFormat

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ListFormat

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for ListFormat

    §

    type LangMarker = AndListV1Marker

    The data marker used by resolve_locale to decide which locales are supported by this service.
    §

    type LocaleOptions = ()

    The set of options used in the Service::resolve method to resolve the provided locale.
    source§

    fn resolve( _locale: &mut Locale, diff --git a/doc/boa_engine/builtins/intl/plural_rules/struct.PluralRules.html b/doc/boa_engine/builtins/intl/plural_rules/struct.PluralRules.html index 60457f7f209..7a75ad4e653 100644 --- a/doc/boa_engine/builtins/intl/plural_rules/struct.PluralRules.html +++ b/doc/boa_engine/builtins/intl/plural_rules/struct.PluralRules.html @@ -50,7 +50,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PluralRules

    source§

    const NAME: JsString = StaticJsStrings::PLURAL_RULES

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for PluralRules

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PluralRules

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PluralRules

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for PluralRules

    §

    type LangMarker = CardinalV1Marker

    The data marker used by resolve_locale to decide +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for PluralRules

    source§

    const NAME: JsString = StaticJsStrings::PLURAL_RULES

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for PluralRules

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PluralRules

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PluralRules

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for PluralRules

    §

    type LangMarker = CardinalV1Marker

    The data marker used by resolve_locale to decide which locales are supported by this service.
    §

    type LocaleOptions = ()

    The set of options used in the Service::resolve method to resolve the provided locale.
    source§

    fn resolve( _locale: &mut Locale, diff --git a/doc/boa_engine/builtins/intl/segmenter/iterator/struct.SegmentIterator.html b/doc/boa_engine/builtins/intl/segmenter/iterator/struct.SegmentIterator.html index 86fe6a29e39..e19df458fc6 100644 --- a/doc/boa_engine/builtins/intl/segmenter/iterator/struct.SegmentIterator.html +++ b/doc/boa_engine/builtins/intl/segmenter/iterator/struct.SegmentIterator.html @@ -12,7 +12,7 @@ _: &[JsValue], context: &mut Context ) -> JsResult<JsValue>

    Trait Implementations§

    source§

    impl Debug for SegmentIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SegmentIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SegmentIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for SegmentIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for SegmentIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for SegmentIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SegmentIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SegmentIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for SegmentIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for SegmentIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for SegmentIterator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for SegmentIterator

    §

    impl !Send for SegmentIterator

    §

    impl !Sync for SegmentIterator

    §

    impl Unpin for SegmentIterator

    §

    impl !UnwindSafe for SegmentIterator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/intl/segmenter/segments/struct.Segments.html b/doc/boa_engine/builtins/intl/segmenter/segments/struct.Segments.html index f41133578d3..9aabe19765e 100644 --- a/doc/boa_engine/builtins/intl/segmenter/segments/struct.Segments.html +++ b/doc/boa_engine/builtins/intl/segmenter/segments/struct.Segments.html @@ -16,7 +16,7 @@ _: &[JsValue], context: &mut Context ) -> JsResult<JsValue>

    Trait Implementations§

    source§

    impl Debug for Segments

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Segments

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Segments

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Segments

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Segments

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for Segments

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Segments

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Segments

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Segments

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Segments

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Segments

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Segments

    §

    impl !Send for Segments

    §

    impl !Sync for Segments

    §

    impl Unpin for Segments

    §

    impl !UnwindSafe for Segments

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/intl/segmenter/struct.Segmenter.html b/doc/boa_engine/builtins/intl/segmenter/struct.Segmenter.html index 45e85be1374..79c5891f7f9 100644 --- a/doc/boa_engine/builtins/intl/segmenter/struct.Segmenter.html +++ b/doc/boa_engine/builtins/intl/segmenter/struct.Segmenter.html @@ -33,7 +33,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for Segmenter

    source§

    const NAME: JsString = StaticJsStrings::SEGMENTER

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Segmenter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Segmenter

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Segmenter

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for Segmenter

    §

    type LangMarker = WordBreakDataV1Marker

    The data marker used by resolve_locale to decide +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for Segmenter

    source§

    const NAME: JsString = StaticJsStrings::SEGMENTER

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Segmenter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Segmenter

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Segmenter

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Service for Segmenter

    §

    type LangMarker = WordBreakDataV1Marker

    The data marker used by resolve_locale to decide which locales are supported by this service.
    §

    type LocaleOptions = ()

    The set of options used in the Service::resolve method to resolve the provided locale.
    source§

    fn resolve( _locale: &mut Locale, diff --git a/doc/boa_engine/builtins/iterable/async_from_sync_iterator/struct.AsyncFromSyncIterator.html b/doc/boa_engine/builtins/iterable/async_from_sync_iterator/struct.AsyncFromSyncIterator.html index 01b3f4c13a0..7b5d22bdcc7 100644 --- a/doc/boa_engine/builtins/iterable/async_from_sync_iterator/struct.AsyncFromSyncIterator.html +++ b/doc/boa_engine/builtins/iterable/async_from_sync_iterator/struct.AsyncFromSyncIterator.html @@ -49,7 +49,7 @@ -

    Trait Implementations§

    source§

    impl Clone for AsyncFromSyncIterator

    source§

    fn clone(&self) -> AsyncFromSyncIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AsyncFromSyncIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for AsyncFromSyncIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for AsyncFromSyncIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for AsyncFromSyncIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for AsyncFromSyncIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for AsyncFromSyncIterator

    source§

    fn clone(&self) -> AsyncFromSyncIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AsyncFromSyncIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for AsyncFromSyncIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for AsyncFromSyncIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for AsyncFromSyncIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for AsyncFromSyncIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for AsyncFromSyncIterator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for AsyncFromSyncIterator

    §

    impl !Send for AsyncFromSyncIterator

    §

    impl !Sync for AsyncFromSyncIterator

    §

    impl Unpin for AsyncFromSyncIterator

    §

    impl !UnwindSafe for AsyncFromSyncIterator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/iterable/struct.IteratorPrototypes.html b/doc/boa_engine/builtins/iterable/struct.IteratorPrototypes.html index d71a9255d08..96bb9ce0887 100644 --- a/doc/boa_engine/builtins/iterable/struct.IteratorPrototypes.html +++ b/doc/boa_engine/builtins/iterable/struct.IteratorPrototypes.html @@ -30,7 +30,7 @@

    source

    pub fn map(&self) -> JsObject

    Returns the MapIteratorPrototype object.

    source

    pub fn for_in(&self) -> JsObject

    Returns the ForInIteratorPrototype object.

    source

    pub fn segment(&self) -> JsObject

    Returns the %SegmentIteratorPrototype% object.

    -

    Trait Implementations§

    source§

    impl Debug for IteratorPrototypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for IteratorPrototypes

    source§

    fn default() -> IteratorPrototypes

    Returns the “default value” for a type. Read more
    source§

    impl Drop for IteratorPrototypes

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IteratorPrototypes

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IteratorPrototypes

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for IteratorPrototypes

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for IteratorPrototypes

    source§

    fn default() -> IteratorPrototypes

    Returns the “default value” for a type. Read more
    source§

    impl Drop for IteratorPrototypes

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IteratorPrototypes

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IteratorPrototypes

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for IteratorPrototypes

    §

    impl !Send for IteratorPrototypes

    §

    impl !Sync for IteratorPrototypes

    §

    impl Unpin for IteratorPrototypes

    §

    impl !UnwindSafe for IteratorPrototypes

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/iterable/struct.IteratorRecord.html b/doc/boa_engine/builtins/iterable/struct.IteratorRecord.html index d2c49acf1bc..cfbecd7f5ec 100644 --- a/doc/boa_engine/builtins/iterable/struct.IteratorRecord.html +++ b/doc/boa_engine/builtins/iterable/struct.IteratorRecord.html @@ -64,7 +64,7 @@ -

    Trait Implementations§

    source§

    impl Clone for IteratorRecord

    source§

    fn clone(&self) -> IteratorRecord

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IteratorRecord

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IteratorRecord

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IteratorRecord

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IteratorRecord

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for IteratorRecord

    source§

    fn clone(&self) -> IteratorRecord

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IteratorRecord

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IteratorRecord

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IteratorRecord

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IteratorRecord

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for IteratorRecord

    §

    impl !Send for IteratorRecord

    §

    impl !Sync for IteratorRecord

    §

    impl Unpin for IteratorRecord

    §

    impl !UnwindSafe for IteratorRecord

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/iterable/struct.IteratorResult.html b/doc/boa_engine/builtins/iterable/struct.IteratorResult.html index 83990627e1e..cbaf5eb1641 100644 --- a/doc/boa_engine/builtins/iterable/struct.IteratorResult.html +++ b/doc/boa_engine/builtins/iterable/struct.IteratorResult.html @@ -19,7 +19,7 @@ -

    Trait Implementations§

    source§

    impl Clone for IteratorResult

    source§

    fn clone(&self) -> IteratorResult

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IteratorResult

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IteratorResult

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IteratorResult

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IteratorResult

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for IteratorResult

    source§

    fn clone(&self) -> IteratorResult

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IteratorResult

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IteratorResult

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IteratorResult

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IteratorResult

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for IteratorResult

    §

    impl !Send for IteratorResult

    §

    impl !Sync for IteratorResult

    §

    impl Unpin for IteratorResult

    §

    impl !UnwindSafe for IteratorResult

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/map/map_iterator/struct.MapIterator.html b/doc/boa_engine/builtins/map/map_iterator/struct.MapIterator.html index 760d89b9767..a45339c8110 100644 --- a/doc/boa_engine/builtins/map/map_iterator/struct.MapIterator.html +++ b/doc/boa_engine/builtins/map/map_iterator/struct.MapIterator.html @@ -28,7 +28,7 @@ -

    Trait Implementations§

    source§

    impl Debug for MapIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for MapIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for MapIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for MapIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for MapIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for MapIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for MapIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for MapIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for MapIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for MapIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for MapIterator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for MapIterator

    §

    impl !Send for MapIterator

    §

    impl !Sync for MapIterator

    §

    impl Unpin for MapIterator

    §

    impl !UnwindSafe for MapIterator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/map/ordered_map/struct.OrderedMap.html b/doc/boa_engine/builtins/map/ordered_map/struct.OrderedMap.html index 35b5b331baf..694028df951 100644 --- a/doc/boa_engine/builtins/map/ordered_map/struct.OrderedMap.html +++ b/doc/boa_engine/builtins/map/ordered_map/struct.OrderedMap.html @@ -39,7 +39,7 @@

    source

    pub(crate) fn lock(&mut self, map: JsObject) -> MapLock

    Increases the lock counter and returns a lock object that will decrement the counter when dropped.

    This allows objects to be removed from the map during iteration without affecting the indexes until the iteration has completed.

    source

    fn unlock(&mut self)

    Decreases the lock counter and, if 0, removes all empty entries.

    -

    Trait Implementations§

    source§

    impl<V: Clone> Clone for OrderedMap<V>

    source§

    fn clone(&self) -> OrderedMap<V>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<V: Debug> Debug for OrderedMap<V>

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<V> Default for OrderedMap<V>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<V> Finalize for OrderedMap<V>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<V: Trace> Trace for OrderedMap<V>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl<V: Clone> Clone for OrderedMap<V>

    source§

    fn clone(&self) -> OrderedMap<V>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<V: Debug> Debug for OrderedMap<V>

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl<V> Default for OrderedMap<V>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<V> Finalize for OrderedMap<V>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<V: Trace> Trace for OrderedMap<V>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl<V> JsData for OrderedMap<V>

    Auto Trait Implementations§

    §

    impl<V> !RefUnwindSafe for OrderedMap<V>

    §

    impl<V> !Send for OrderedMap<V>

    §

    impl<V> !Sync for OrderedMap<V>

    §

    impl<V> Unpin for OrderedMap<V>where V: Unpin,

    §

    impl<V> !UnwindSafe for OrderedMap<V>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/builtins/object/for_in_iterator/struct.ForInIterator.html b/doc/boa_engine/builtins/object/for_in_iterator/struct.ForInIterator.html index a2c7b74f204..6b78fabac52 100644 --- a/doc/boa_engine/builtins/object/for_in_iterator/struct.ForInIterator.html +++ b/doc/boa_engine/builtins/object/for_in_iterator/struct.ForInIterator.html @@ -28,7 +28,7 @@ -

    Trait Implementations§

    source§

    impl Clone for ForInIterator

    source§

    fn clone(&self) -> ForInIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ForInIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ForInIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ForInIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ForInIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for ForInIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for ForInIterator

    source§

    fn clone(&self) -> ForInIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ForInIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ForInIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ForInIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ForInIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for ForInIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for ForInIterator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for ForInIterator

    §

    impl !Send for ForInIterator

    §

    impl !Sync for ForInIterator

    §

    impl Unpin for ForInIterator

    §

    impl !UnwindSafe for ForInIterator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/object/struct.OrdinaryObject.html b/doc/boa_engine/builtins/object/struct.OrdinaryObject.html index 832908107c2..16fffee7bcf 100644 --- a/doc/boa_engine/builtins/object/struct.OrdinaryObject.html +++ b/doc/boa_engine/builtins/object/struct.OrdinaryObject.html @@ -356,7 +356,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for OrdinaryObject

    source§

    const NAME: JsString = StaticJsStrings::OBJECT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for OrdinaryObject

    source§

    fn clone(&self) -> OrdinaryObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrdinaryObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrdinaryObject

    source§

    fn default() -> OrdinaryObject

    Returns the “default value” for a type. Read more
    source§

    impl Finalize for OrdinaryObject

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for OrdinaryObject

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for OrdinaryObjectwhere +) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for OrdinaryObject

    source§

    const NAME: JsString = StaticJsStrings::OBJECT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for OrdinaryObject

    source§

    fn clone(&self) -> OrdinaryObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrdinaryObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrdinaryObject

    source§

    fn default() -> OrdinaryObject

    Returns the “default value” for a type. Read more
    source§

    impl Finalize for OrdinaryObject

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for OrdinaryObject

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for OrdinaryObjectwhere Self: Copy,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Copy for OrdinaryObject

    source§

    impl JsData 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 T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/builtins/options/trait.ParsableOptionType.html b/doc/boa_engine/builtins/options/trait.ParsableOptionType.html index 70eac19d705..8bed330d803 100644 --- a/doc/boa_engine/builtins/options/trait.ParsableOptionType.html +++ b/doc/boa_engine/builtins/options/trait.ParsableOptionType.html @@ -1,3 +1,3 @@ ParsableOptionType in boa_engine::builtins::options - Rust
    pub(crate) trait ParsableOptionType: FromStr { }
    Expand description

    A type that implements OptionType by parsing a string.

    This automatically implements OptionType for a type if the type implements FromStr.

    -

    Implementations on Foreign Types§

    source§

    impl ParsableOptionType for InstantDisambiguation

    source§

    impl ParsableOptionType for OffsetDisambiguation

    source§

    impl ParsableOptionType for DurationOverflow

    source§

    impl ParsableOptionType for ArithmeticOverflow

    source§

    impl ParsableOptionType for TemporalUnit

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    source§

    impl ParsableOptionType for InstantDisambiguation

    source§

    impl ParsableOptionType for OffsetDisambiguation

    source§

    impl ParsableOptionType for DurationOverflow

    source§

    impl ParsableOptionType for ArithmeticOverflow

    source§

    impl ParsableOptionType for TemporalUnit

    Implementors§

    source§

    impl ParsableOptionType for Sensitivity

    source§

    impl ParsableOptionType for Usage

    source§

    impl ParsableOptionType for ListFormatType

    source§

    impl ParsableOptionType for Notation

    source§

    impl ParsableOptionType for RoundingPriority

    source§

    impl ParsableOptionType for TrailingZeroDisplay

    source§

    impl ParsableOptionType for LocaleMatcher

    source§

    impl ParsableOptionType for Granularity

    source§

    impl ParsableOptionType for RoundingMode

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/promise/enum.PromiseState.html b/doc/boa_engine/builtins/promise/enum.PromiseState.html index 3d74cce8208..321ef31b63f 100644 --- a/doc/boa_engine/builtins/promise/enum.PromiseState.html +++ b/doc/boa_engine/builtins/promise/enum.PromiseState.html @@ -10,7 +10,7 @@ the state is not Fulfilled.

    source

    pub const fn as_rejected(&self) -> Option<&JsValue>

    Gets the inner JsValue of a rejected promise state, or returns None if the state is not Rejected.

    -

    Trait Implementations§

    source§

    impl Clone for PromiseState

    source§

    fn clone(&self) -> PromiseState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PromiseState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PromiseState

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<PromiseState> for PromiseState

    source§

    fn eq(&self, other: &PromiseState) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for PromiseState

    source§

    fn clone(&self) -> PromiseState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PromiseState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PromiseState

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<PromiseState> for PromiseState

    source§

    fn eq(&self, other: &PromiseState) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for PromiseState

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for PromiseState

    source§

    impl StructuralEq for PromiseState

    source§

    impl StructuralPartialEq for PromiseState

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PromiseState

    §

    impl !Send for PromiseState

    §

    impl !Sync for PromiseState

    §

    impl Unpin for PromiseState

    §

    impl !UnwindSafe for PromiseState

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/builtins/promise/struct.Promise.html b/doc/boa_engine/builtins/promise/struct.Promise.html index 60ddc560cc9..d0825d4a5a8 100644 --- a/doc/boa_engine/builtins/promise/struct.Promise.html +++ b/doc/boa_engine/builtins/promise/struct.Promise.html @@ -231,7 +231,7 @@ -

    source§

    const LENGTH: usize = 1usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::promise as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Promise

    source§

    const NAME: JsString = StaticJsStrings::PROMISE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Promise

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Promise

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Promise

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Promise

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Promise

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const LENGTH: usize = 1usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::promise as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Promise

    source§

    const NAME: JsString = StaticJsStrings::PROMISE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Promise

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Promise

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Promise

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Promise

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Promise

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Promise

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Promise

    §

    impl !Send for Promise

    §

    impl !Sync for Promise

    §

    impl Unpin for Promise

    §

    impl !UnwindSafe for Promise

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/promise/struct.PromiseCapability.html b/doc/boa_engine/builtins/promise/struct.PromiseCapability.html index c64d3fa5df9..603150a2509 100644 --- a/doc/boa_engine/builtins/promise/struct.PromiseCapability.html +++ b/doc/boa_engine/builtins/promise/struct.PromiseCapability.html @@ -16,7 +16,7 @@

    source

    pub(crate) const fn promise(&self) -> &JsObject

    Returns the promise object.

    source

    pub(crate) const fn resolve(&self) -> &JsFunction

    Returns the resolve function.

    source

    pub(crate) const fn reject(&self) -> &JsFunction

    Returns the reject function.

    -

    Trait Implementations§

    source§

    impl Clone for PromiseCapability

    source§

    fn clone(&self) -> PromiseCapability

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PromiseCapability

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PromiseCapability

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PromiseCapability

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for PromiseCapability

    source§

    fn clone(&self) -> PromiseCapability

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PromiseCapability

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PromiseCapability

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PromiseCapability

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PromiseCapability

    §

    impl !Send for PromiseCapability

    §

    impl !Sync for PromiseCapability

    §

    impl Unpin for PromiseCapability

    §

    impl !UnwindSafe for PromiseCapability

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/promise/struct.ReactionRecord.html b/doc/boa_engine/builtins/promise/struct.ReactionRecord.html index f97fcbcb34c..57c009556cd 100644 --- a/doc/boa_engine/builtins/promise/struct.ReactionRecord.html +++ b/doc/boa_engine/builtins/promise/struct.ReactionRecord.html @@ -10,7 +10,7 @@

    Fields§

    §promise_capability: Option<PromiseCapability>

    The [[Capability]] field.

    §reaction_type: ReactionType

    The [[Type]] field.

    §handler: Option<JobCallback>

    The [[Handler]] field.

    -

    Trait Implementations§

    source§

    impl Debug for ReactionRecord

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ReactionRecord

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ReactionRecord

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ReactionRecord

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for ReactionRecord

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ReactionRecord

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ReactionRecord

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ReactionRecord

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/promise/struct.ResolvingFunctions.html b/doc/boa_engine/builtins/promise/struct.ResolvingFunctions.html index 4290b331612..4904d800c2c 100644 --- a/doc/boa_engine/builtins/promise/struct.ResolvingFunctions.html +++ b/doc/boa_engine/builtins/promise/struct.ResolvingFunctions.html @@ -10,7 +10,7 @@ the resolution value.

    Fields§

    §resolve: JsFunction

    The resolveFunc parameter of the executor passed to Promise().

    §reject: JsFunction

    The rejectFunc parameter of the executor passed to Promise().

    -

    Trait Implementations§

    source§

    impl Clone for ResolvingFunctions

    source§

    fn clone(&self) -> ResolvingFunctions

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ResolvingFunctions

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ResolvingFunctions

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ResolvingFunctions

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for ResolvingFunctions

    source§

    fn clone(&self) -> ResolvingFunctions

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ResolvingFunctions

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ResolvingFunctions

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ResolvingFunctions

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/proxy/struct.Proxy.html b/doc/boa_engine/builtins/proxy/struct.Proxy.html index 2e1940854fd..1822ac4f53a 100644 --- a/doc/boa_engine/builtins/proxy/struct.Proxy.html +++ b/doc/boa_engine/builtins/proxy/struct.Proxy.html @@ -25,7 +25,7 @@ -

    source§

    const LENGTH: usize = 2usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::proxy as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Proxy

    source§

    const NAME: JsString = StaticJsStrings::PROXY

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Proxy

    source§

    fn clone(&self) -> Proxy

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Proxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Proxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Proxy

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Proxy

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Proxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const LENGTH: usize = 2usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::proxy as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for Proxy

    source§

    const NAME: JsString = StaticJsStrings::PROXY

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Proxy

    source§

    fn clone(&self) -> Proxy

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Proxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Proxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Proxy

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Proxy

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Proxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Proxy

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Proxy

    §

    impl !Send for Proxy

    §

    impl !Sync for Proxy

    §

    impl Unpin for Proxy

    §

    impl !UnwindSafe for Proxy

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/regexp/regexp_string_iterator/struct.RegExpStringIterator.html b/doc/boa_engine/builtins/regexp/regexp_string_iterator/struct.RegExpStringIterator.html index 3f48c59d38c..b97924e8c7b 100644 --- a/doc/boa_engine/builtins/regexp/regexp_string_iterator/struct.RegExpStringIterator.html +++ b/doc/boa_engine/builtins/regexp/regexp_string_iterator/struct.RegExpStringIterator.html @@ -29,7 +29,7 @@ -

    Trait Implementations§

    source§

    impl Clone for RegExpStringIterator

    source§

    fn clone(&self) -> RegExpStringIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegExpStringIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for RegExpStringIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for RegExpStringIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for RegExpStringIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for RegExpStringIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for RegExpStringIterator

    source§

    fn clone(&self) -> RegExpStringIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegExpStringIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for RegExpStringIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for RegExpStringIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for RegExpStringIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for RegExpStringIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for RegExpStringIterator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for RegExpStringIterator

    §

    impl !Send for RegExpStringIterator

    §

    impl !Sync for RegExpStringIterator

    §

    impl Unpin for RegExpStringIterator

    §

    impl !UnwindSafe for RegExpStringIterator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/regexp/struct.RegExp.html b/doc/boa_engine/builtins/regexp/struct.RegExp.html index c4f141d610d..955e77c6f66 100644 --- a/doc/boa_engine/builtins/regexp/struct.RegExp.html +++ b/doc/boa_engine/builtins/regexp/struct.RegExp.html @@ -1,11 +1,11 @@ RegExp in boa_engine::builtins::regexp - Rust
    pub struct RegExp {
         matcher: Regex,
    -    flags: RegExpFlags,
    +    flags: RegExpFlags,
         original_source: JsString,
         original_flags: JsString,
     }
    Expand description

    The internal representation of a RegExp object.

    Fields§

    §matcher: Regex

    Regex matcher.

    -
    §flags: RegExpFlags§original_source: JsString§original_flags: JsString

    Implementations§

    source§

    impl RegExp

    source

    pub(crate) fn is_reg_exp<'a>( +

    §flags: RegExpFlags§original_source: JsString§original_flags: JsString

    Implementations§

    source§

    impl RegExp

    source

    pub(crate) fn is_reg_exp<'a>( argument: &'a JsValue, context: &mut Context ) -> JsResult<Option<&'a JsObject>>

    7.2.8 IsRegExp ( argument )

    @@ -285,7 +285,7 @@ -
    source§

    const LENGTH: usize = 2usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::regexp as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for RegExp

    source§

    const NAME: JsString = StaticJsStrings::REG_EXP

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for RegExp

    source§

    fn clone(&self) -> RegExp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegExp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for RegExp

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for RegExp

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for RegExp

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const LENGTH: usize = 2usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::regexp as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for RegExp

    source§

    const NAME: JsString = StaticJsStrings::REG_EXP

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for RegExp

    source§

    fn clone(&self) -> RegExp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegExp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for RegExp

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for RegExp

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for RegExp

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for RegExp

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for RegExp

    §

    impl !Send for RegExp

    §

    impl !Sync for RegExp

    §

    impl Unpin for RegExp

    §

    impl !UnwindSafe for RegExp

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/set/ordered_set/struct.OrderedSet.html b/doc/boa_engine/builtins/set/ordered_set/struct.OrderedSet.html index 87462a96589..d263193f5ac 100644 --- a/doc/boa_engine/builtins/set/ordered_set/struct.OrderedSet.html +++ b/doc/boa_engine/builtins/set/ordered_set/struct.OrderedSet.html @@ -30,7 +30,7 @@

    source

    pub(crate) fn lock(&mut self, set: JsObject) -> SetLock

    Increases the lock counter and returns a lock object that will decrement the counter when dropped.

    This allows objects to be removed from the set during iteration without affecting the indexes until the iteration has completed.

    source

    fn unlock(&mut self)

    Decreases the lock counter and, if 0, removes all empty entries.

    -

    Trait Implementations§

    source§

    impl Clone for OrderedSet

    source§

    fn clone(&self) -> OrderedSet

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderedSet

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderedSet

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Finalize for OrderedSet

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for OrderedSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for OrderedSet

    source§

    fn clone(&self) -> OrderedSet

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderedSet

    source§

    fn fmt(&self, formatter: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderedSet

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Finalize for OrderedSet

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for OrderedSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for OrderedSet

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for OrderedSet

    §

    impl !Send for OrderedSet

    §

    impl !Sync for OrderedSet

    §

    impl Unpin for OrderedSet

    §

    impl !UnwindSafe for OrderedSet

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/set/set_iterator/struct.SetIterator.html b/doc/boa_engine/builtins/set/set_iterator/struct.SetIterator.html index e49bea760d3..340b2dee105 100644 --- a/doc/boa_engine/builtins/set/set_iterator/struct.SetIterator.html +++ b/doc/boa_engine/builtins/set/set_iterator/struct.SetIterator.html @@ -30,7 +30,7 @@ -

    Trait Implementations§

    source§

    impl Debug for SetIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SetIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SetIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for SetIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for SetIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for SetIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SetIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SetIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for SetIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for SetIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for SetIterator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for SetIterator

    §

    impl !Send for SetIterator

    §

    impl !Sync for SetIterator

    §

    impl Unpin for SetIterator

    §

    impl !UnwindSafe for SetIterator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/string/string_iterator/struct.StringIterator.html b/doc/boa_engine/builtins/string/string_iterator/struct.StringIterator.html index ba745ebcbad..744d446deb0 100644 --- a/doc/boa_engine/builtins/string/string_iterator/struct.StringIterator.html +++ b/doc/boa_engine/builtins/string/string_iterator/struct.StringIterator.html @@ -15,7 +15,7 @@ _: &[JsValue], context: &mut Context ) -> JsResult<JsValue>

    StringIterator.prototype.next( )

    -

    Trait Implementations§

    source§

    impl Clone for StringIterator

    source§

    fn clone(&self) -> StringIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StringIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for StringIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for StringIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for StringIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for StringIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for StringIterator

    source§

    fn clone(&self) -> StringIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StringIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for StringIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for StringIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for StringIterator

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for StringIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for StringIterator

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for StringIterator

    §

    impl !Send for StringIterator

    §

    impl !Sync for StringIterator

    §

    impl Unpin for StringIterator

    §

    impl !UnwindSafe for StringIterator

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/calendar/fn.create_temporal_calendar.html b/doc/boa_engine/builtins/temporal/calendar/fn.create_temporal_calendar.html index c8132a9aa49..fbb1e8a4737 100644 --- a/doc/boa_engine/builtins/temporal/calendar/fn.create_temporal_calendar.html +++ b/doc/boa_engine/builtins/temporal/calendar/fn.create_temporal_calendar.html @@ -1,5 +1,5 @@ create_temporal_calendar in boa_engine::builtins::temporal::calendar - Rust
    pub(crate) fn create_temporal_calendar(
    -    identifier: CalendarSlot,
    +    identifier: CalendarSlot,
         new_target: Option<JsValue>,
         context: &mut Context
     ) -> JsResult<JsValue>
    Expand description

    12.2.1 CreateTemporalCalendar ( identifier [ , newTarget ] )

    diff --git a/doc/boa_engine/builtins/temporal/calendar/fn.get_temporal_calendar_slot_value_with_default.html b/doc/boa_engine/builtins/temporal/calendar/fn.get_temporal_calendar_slot_value_with_default.html index 4a73d9ce771..15d05d495a0 100644 --- a/doc/boa_engine/builtins/temporal/calendar/fn.get_temporal_calendar_slot_value_with_default.html +++ b/doc/boa_engine/builtins/temporal/calendar/fn.get_temporal_calendar_slot_value_with_default.html @@ -1,5 +1,5 @@ get_temporal_calendar_slot_value_with_default in boa_engine::builtins::temporal::calendar - Rust
    pub(crate) fn get_temporal_calendar_slot_value_with_default(
         item: &JsObject,
         context: &mut Context
    -) -> JsResult<CalendarSlot>
    Expand description

    12.2.21 GetTemporalCalendarSlotValueWithISODefault ( item )

    +) -> JsResult<CalendarSlot>
    Expand description

    12.2.21 GetTemporalCalendarSlotValueWithISODefault ( item )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/calendar/fn.to_calendar_date_like.html b/doc/boa_engine/builtins/temporal/calendar/fn.to_calendar_date_like.html index 0466007bef9..e7fe1b530c3 100644 --- a/doc/boa_engine/builtins/temporal/calendar/fn.to_calendar_date_like.html +++ b/doc/boa_engine/builtins/temporal/calendar/fn.to_calendar_date_like.html @@ -1,5 +1,5 @@ to_calendar_date_like in boa_engine::builtins::temporal::calendar - Rust
    fn to_calendar_date_like(
         date_like: &JsValue,
         context: &mut Context
    -) -> JsResult<CalendarDateLike>
    Expand description

    Utility function for taking a JsValue and converting it to a temporal library CalendarDateLike enum.

    +) -> JsResult<CalendarDateLike>
    Expand description

    Utility function for taking a JsValue and converting it to a temporal library CalendarDateLike enum.

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/calendar/fn.to_temporal_calendar_slot_value.html b/doc/boa_engine/builtins/temporal/calendar/fn.to_temporal_calendar_slot_value.html index 2b8952d2df7..1312d83c06f 100644 --- a/doc/boa_engine/builtins/temporal/calendar/fn.to_temporal_calendar_slot_value.html +++ b/doc/boa_engine/builtins/temporal/calendar/fn.to_temporal_calendar_slot_value.html @@ -1,5 +1,5 @@ to_temporal_calendar_slot_value in boa_engine::builtins::temporal::calendar - Rust
    pub(crate) fn to_temporal_calendar_slot_value(
         calendar_like: &JsValue,
         context: &mut Context
    -) -> JsResult<CalendarSlot>
    Expand description

    12.2.20 ToTemporalCalendarSlotValue ( temporalCalendarLike [ , default ] )

    +) -> JsResult<CalendarSlot>
    Expand description

    12.2.20 ToTemporalCalendarSlotValue ( temporalCalendarLike [ , default ] )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/calendar/object/fn.date_like_to_object.html b/doc/boa_engine/builtins/temporal/calendar/object/fn.date_like_to_object.html index 96aa2886299..6e52678c4d7 100644 --- a/doc/boa_engine/builtins/temporal/calendar/object/fn.date_like_to_object.html +++ b/doc/boa_engine/builtins/temporal/calendar/object/fn.date_like_to_object.html @@ -1,5 +1,5 @@ date_like_to_object in boa_engine::builtins::temporal::calendar::object - Rust
    pub(crate) fn date_like_to_object(
    -    date_like: &CalendarDateLike,
    +    date_like: &CalendarDateLike,
         context: &mut Context
    -) -> TemporalResult<JsValue>
    Expand description

    Utility function for converting Temporal’s CalendarDateLike to it’s Boa specific JsObject.

    +) -> TemporalResult<JsValue>
    Expand description

    Utility function for converting Temporal’s CalendarDateLike to it’s Boa specific JsObject.

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/calendar/object/struct.CustomRuntimeCalendar.html b/doc/boa_engine/builtins/temporal/calendar/object/struct.CustomRuntimeCalendar.html index 049932be3e3..7b1cfcac2fa 100644 --- a/doc/boa_engine/builtins/temporal/calendar/object/struct.CustomRuntimeCalendar.html +++ b/doc/boa_engine/builtins/temporal/calendar/object/struct.CustomRuntimeCalendar.html @@ -4,102 +4,102 @@ and executed at runtime.

    A user-defined calendar implements all of the CalendarProtocolMethods and therefore satisfies the requirements to be used as a calendar.

    -

    Fields§

    §calendar: JsObject

    Implementations§

    source§

    impl CustomRuntimeCalendar

    source

    pub(crate) fn new(calendar: &JsObject) -> Self

    Trait Implementations§

    source§

    impl CalendarProtocol for CustomRuntimeCalendar

    Fields§

    §calendar: JsObject

    Implementations§

    source§

    impl CustomRuntimeCalendar

    source

    pub(crate) fn new(calendar: &JsObject) -> Self

    Trait Implementations§

    source§

    impl CalendarProtocol for CustomRuntimeCalendar

    source§

    fn date_from_fields( &self, - fields: &mut TemporalFields, - overflow: ArithmeticOverflow, + fields: &mut TemporalFields, + overflow: ArithmeticOverflow, context: &mut dyn Any -) -> TemporalResult<Date>

    Creates a Temporal.PlainDate object from provided fields.
    source§

    fn year_month_from_fields( +) -> TemporalResult<Date>

    Creates a Temporal.PlainDate object from provided fields.
    source§

    fn year_month_from_fields( &self, - fields: &mut TemporalFields, - overflow: ArithmeticOverflow, + fields: &mut TemporalFields, + overflow: ArithmeticOverflow, context: &mut dyn Any -) -> TemporalResult<YearMonth>

    Creates a Temporal.PlainYearMonth object from the provided fields.
    source§

    fn month_day_from_fields( +) -> TemporalResult<YearMonth>

    Creates a Temporal.PlainYearMonth object from the provided fields.
    source§

    fn month_day_from_fields( &self, - fields: &mut TemporalFields, - overflow: ArithmeticOverflow, + fields: &mut TemporalFields, + overflow: ArithmeticOverflow, context: &mut dyn Any -) -> TemporalResult<MonthDay>

    Creates a Temporal.PlainMonthDay object from the provided fields.
    source§

    fn date_add( +) -> TemporalResult<MonthDay>

    Creates a Temporal.PlainMonthDay object from the provided fields.
    source§

    fn date_add( &self, - _date: &Date, - _duration: &Duration, - _overflow: ArithmeticOverflow, + _date: &Date, + _duration: &Duration, + _overflow: ArithmeticOverflow, _context: &mut dyn Any -) -> TemporalResult<Date>

    Returns a Temporal.PlainDate based off an added date.
    source§

    fn date_until( +) -> TemporalResult<Date>

    Returns a Temporal.PlainDate based off an added date.
    source§

    fn date_until( &self, - _one: &Date, - _two: &Date, - _largest_unit: TemporalUnit, + _one: &Date, + _two: &Date, + _largest_unit: TemporalUnit, _context: &mut dyn Any -) -> TemporalResult<Duration>

    Returns a Temporal.Duration representing the duration between two dates.
    source§

    fn era( +) -> TemporalResult<Duration>

    Returns a Temporal.Duration representing the duration between two dates.
    source§

    fn era( &self, - _: &CalendarDateLike, + _: &CalendarDateLike, _: &mut dyn Any -) -> TemporalResult<Option<TinyAsciiStr<8>>>

    Returns the era for a given temporaldatelike.
    source§

    fn era_year( +) -> TemporalResult<Option<TinyAsciiStr<8>>>

    Returns the era for a given temporaldatelike.
    source§

    fn era_year( &self, - _: &CalendarDateLike, + _: &CalendarDateLike, _: &mut dyn Any -) -> TemporalResult<Option<i32>>

    Returns the era year for a given temporaldatelike
    source§

    fn year( +) -> TemporalResult<Option<i32>>

    Returns the era year for a given temporaldatelike
    source§

    fn year( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<i32>

    Returns the year for a given temporaldatelike
    source§

    fn month( +) -> TemporalResult<i32>

    Returns the year for a given temporaldatelike
    source§

    fn month( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u8>

    Returns the month for a given temporaldatelike
    source§

    fn month_code( +) -> TemporalResult<u8>

    Returns the month for a given temporaldatelike
    source§

    fn month_code( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<TinyAsciiStr<4>>

    Returns the monthCode for a given temporaldatelike
    source§

    fn day( +) -> TemporalResult<TinyAsciiStr<4>>

    Returns the monthCode for a given temporaldatelike
    source§

    fn day( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u8>

    Returns the day for a given temporaldatelike
    source§

    fn day_of_week( +) -> TemporalResult<u8>

    Returns the day for a given temporaldatelike
    source§

    fn day_of_week( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u16>

    Returns a value representing the day of the week for a date.
    source§

    fn day_of_year( +) -> TemporalResult<u16>

    Returns a value representing the day of the week for a date.
    source§

    fn day_of_year( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u16>

    Returns a value representing the day of the year for a given calendar.
    source§

    fn week_of_year( +) -> TemporalResult<u16>

    Returns a value representing the day of the year for a given calendar.
    source§

    fn week_of_year( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u16>

    Returns a value representing the week of the year for a given calendar.
    source§

    fn year_of_week( +) -> TemporalResult<u16>

    Returns a value representing the week of the year for a given calendar.
    source§

    fn year_of_week( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<i32>

    Returns the year of a given week.
    source§

    fn days_in_week( +) -> TemporalResult<i32>

    Returns the year of a given week.
    source§

    fn days_in_week( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u16>

    Returns the days in a week for a given calendar.
    source§

    fn days_in_month( +) -> TemporalResult<u16>

    Returns the days in a week for a given calendar.
    source§

    fn days_in_month( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u16>

    Returns the days in a month for a given calendar.
    source§

    fn days_in_year( +) -> TemporalResult<u16>

    Returns the days in a month for a given calendar.
    source§

    fn days_in_year( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u16>

    Returns the days in a year for a given calendar.
    source§

    fn months_in_year( +) -> TemporalResult<u16>

    Returns the days in a year for a given calendar.
    source§

    fn months_in_year( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<u16>

    Returns the months in a year for a given calendar.
    source§

    fn in_leap_year( +) -> TemporalResult<u16>

    Returns the months in a year for a given calendar.
    source§

    fn in_leap_year( &self, - date_like: &CalendarDateLike, + date_like: &CalendarDateLike, context: &mut dyn Any -) -> TemporalResult<bool>

    Returns whether a value is within a leap year according to the designated calendar.
    source§

    fn field_descriptors(&self, _: CalendarFieldsType) -> Vec<(String, bool)>

    Return this calendar’s a fieldName and whether it is required depending on type (date, day-month).
    source§

    fn field_keys_to_ignore(&self, _: Vec<String>) -> Vec<String>

    Return the fields to ignore for this Calendar based on provided keys.
    source§

    fn resolve_fields( +) -> TemporalResult<bool>

    Returns whether a value is within a leap year according to the designated calendar.
    source§

    fn field_descriptors(&self, _: CalendarFieldsType) -> Vec<(String, bool)>

    Return this calendar’s a fieldName and whether it is required depending on type (date, day-month).
    source§

    fn field_keys_to_ignore(&self, _: Vec<String>) -> Vec<String>

    Return the fields to ignore for this Calendar based on provided keys.
    source§

    fn resolve_fields( &self, - _: &mut TemporalFields, - _: CalendarFieldsType -) -> TemporalResult<()>

    Resolve the TemporalFields for the implemented Calendar
    source§

    fn identifier(&self, context: &mut dyn Any) -> TemporalResult<String>

    Debug name
    source§

    impl Clone for CustomRuntimeCalendar

    source§

    fn clone(&self) -> CustomRuntimeCalendar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CustomRuntimeCalendar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + _: &mut TemporalFields, + _: CalendarFieldsType +) -> TemporalResult<()>

    Resolve the TemporalFields for the implemented Calendar
    source§

    fn identifier(&self, context: &mut dyn Any) -> TemporalResult<String>

    Debug name

    source§

    impl Clone for CustomRuntimeCalendar

    source§

    fn clone(&self) -> CustomRuntimeCalendar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CustomRuntimeCalendar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for CustomRuntimeCalendar

    §

    impl !Send for CustomRuntimeCalendar

    §

    impl !Sync for CustomRuntimeCalendar

    §

    impl Unpin for CustomRuntimeCalendar

    §

    impl !UnwindSafe for CustomRuntimeCalendar

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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<P> CalendarProtocolClone for Pwhere - P: 'static + CalendarProtocol + Clone,

    §

    fn clone_box(&self) -> Box<dyn CalendarProtocol, Global>

    Clone’s the current CalendarProtocol
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<P> CalendarProtocolClone for Pwhere + P: 'static + CalendarProtocol + Clone,

    source§

    fn clone_box(&self) -> Box<dyn CalendarProtocol, Global>

    Clone’s the current CalendarProtocol
    §

    impl<T> Conv for T

    §

    fn conv<T>(self) -> Twhere Self: Into<T>,

    Converts self into T using Into<T>. Read more
    §

    impl<T> Filterable for T

    §

    fn filterable( self, filter_name: &'static str diff --git a/doc/boa_engine/builtins/temporal/calendar/struct.Calendar.html b/doc/boa_engine/builtins/temporal/calendar/struct.Calendar.html index fe6fb3f71fe..766dbe46133 100644 --- a/doc/boa_engine/builtins/temporal/calendar/struct.Calendar.html +++ b/doc/boa_engine/builtins/temporal/calendar/struct.Calendar.html @@ -1,7 +1,7 @@ Calendar in boa_engine::builtins::temporal::calendar - Rust
    pub struct Calendar {
    -    slot: CalendarSlot,
    +    slot: CalendarSlot,
     }
    Expand description

    The Temporal.Calendar object.

    -

    Fields§

    §slot: CalendarSlot

    Implementations§

    source§

    impl Calendar

    source

    pub(crate) fn new(slot: CalendarSlot) -> Self

    source§

    impl Calendar

    Fields§

    §slot: CalendarSlot

    Implementations§

    source§

    impl Calendar

    source

    pub(crate) fn new(slot: CalendarSlot) -> Self

    source§

    impl Calendar

    source

    fn from( _: &JsValue, args: &[JsValue], context: &mut Context @@ -123,7 +123,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for Calendar

    source§

    const NAME: JsString = StaticJsStrings::CALENDAR

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Calendar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Calendar

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Calendar

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Calendar

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for Calendar

    source§

    const NAME: JsString = StaticJsStrings::CALENDAR

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Calendar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Calendar

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Calendar

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Calendar

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Calendar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/duration/fn.create_temporal_duration.html b/doc/boa_engine/builtins/temporal/duration/fn.create_temporal_duration.html index 313887c5b93..70b165226cb 100644 --- a/doc/boa_engine/builtins/temporal/duration/fn.create_temporal_duration.html +++ b/doc/boa_engine/builtins/temporal/duration/fn.create_temporal_duration.html @@ -1,5 +1,5 @@ create_temporal_duration in boa_engine::builtins::temporal::duration - Rust
    pub(crate) fn create_temporal_duration(
    -    inner: Duration,
    +    inner: Duration,
         new_target: Option<&JsValue>,
         context: &mut Context
     ) -> JsResult<JsObject>
    Expand description

    7.5.14 CreateTemporalDuration ( years, months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds [ , newTarget ] )

    diff --git a/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration.html b/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration.html index bf20d68465e..e0dac129781 100644 --- a/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration.html +++ b/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration.html @@ -1,2 +1,2 @@ -to_temporal_duration in boa_engine::builtins::temporal::duration - Rust
    pub(crate) fn to_temporal_duration(item: &JsValue) -> JsResult<Duration>
    Expand description

    7.5.8 ToTemporalDuration ( item )

    +to_temporal_duration in boa_engine::builtins::temporal::duration - Rust
    pub(crate) fn to_temporal_duration(item: &JsValue) -> JsResult<Duration>
    Expand description

    7.5.8 ToTemporalDuration ( item )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration_record.html b/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration_record.html index 218a2bcebd0..f9d50c28672 100644 --- a/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration_record.html +++ b/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_duration_record.html @@ -1,4 +1,4 @@ to_temporal_duration_record in boa_engine::builtins::temporal::duration - Rust
    pub(crate) fn to_temporal_duration_record(
         _temporal_duration_like: &JsValue
    -) -> JsResult<Duration>
    Expand description

    7.5.9 ToTemporalDurationRecord ( temporalDurationLike )

    +) -> JsResult<Duration>
    Expand description

    7.5.9 ToTemporalDurationRecord ( temporalDurationLike )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_partial_duration.html b/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_partial_duration.html index 6d6280dfd24..380b45c7170 100644 --- a/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_partial_duration.html +++ b/doc/boa_engine/builtins/temporal/duration/fn.to_temporal_partial_duration.html @@ -1,5 +1,5 @@ to_temporal_partial_duration in boa_engine::builtins::temporal::duration - Rust
    pub(crate) fn to_temporal_partial_duration(
         duration_like: &JsValue,
         context: &mut Context
    -) -> JsResult<Duration>
    Expand description

    Equivalent to 7.5.13 ToTemporalPartialDurationRecord ( temporalDurationLike )

    +) -> JsResult<Duration>
    Expand description

    Equivalent to 7.5.13 ToTemporalPartialDurationRecord ( temporalDurationLike )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/duration/struct.Duration.html b/doc/boa_engine/builtins/temporal/duration/struct.Duration.html index d041f06c313..087273f71a2 100644 --- a/doc/boa_engine/builtins/temporal/duration/struct.Duration.html +++ b/doc/boa_engine/builtins/temporal/duration/struct.Duration.html @@ -1,8 +1,8 @@ Duration in boa_engine::builtins::temporal::duration - Rust
    pub struct Duration {
    -    pub(crate) inner: Duration,
    +    pub(crate) inner: Duration,
     }
    Expand description

    The Temporal.Duration object.

    Per spec, Duration records are float64-representable integers

    -

    Fields§

    §inner: Duration

    Implementations§

    source§

    impl Duration

    source

    pub(crate) fn new(inner: InnerDuration) -> Self

    source§

    impl Duration

    Fields§

    §inner: Duration

    Implementations§

    source§

    impl Duration

    source

    pub(crate) fn new(inner: InnerDuration) -> Self

    source§

    impl Duration

    source

    fn get_internal_field( this: &JsValue, field: &DateTimeValues ) -> JsResult<JsValue>

    source

    fn get_years( @@ -105,7 +105,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for Duration

    source§

    const NAME: JsString = StaticJsStrings::DURATION

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Duration

    source§

    fn clone(&self) -> Duration

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Duration

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Duration

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Duration

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Durationwhere +) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for Duration

    source§

    const NAME: JsString = StaticJsStrings::DURATION

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Duration

    source§

    fn clone(&self) -> Duration

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Duration

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Duration

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Duration

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Durationwhere Self: Copy,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Copy for Duration

    source§

    impl JsData for Duration

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/fields/fn.prepare_temporal_fields.html b/doc/boa_engine/builtins/temporal/fields/fn.prepare_temporal_fields.html index 2b9d11214df..d961c892347 100644 --- a/doc/boa_engine/builtins/temporal/fields/fn.prepare_temporal_fields.html +++ b/doc/boa_engine/builtins/temporal/fields/fn.prepare_temporal_fields.html @@ -6,5 +6,5 @@ partial: bool, dup_behaviour: Option<JsString>, context: &mut Context -) -> JsResult<TemporalFields>
    Expand description

    PrepareTemporalFeilds

    +) -> JsResult<TemporalFields>
    Expand description

    PrepareTemporalFeilds

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/fn.get_diff_settings.html b/doc/boa_engine/builtins/temporal/fn.get_diff_settings.html index 836a09512fb..35634a17593 100644 --- a/doc/boa_engine/builtins/temporal/fn.get_diff_settings.html +++ b/doc/boa_engine/builtins/temporal/fn.get_diff_settings.html @@ -2,9 +2,9 @@ op: bool, options: &JsObject, unit_group: TemporalUnitGroup, - disallowed_units: &[TemporalUnit], - fallback_smallest_unit: TemporalUnit, - smallest_largest_default_unit: TemporalUnit, + disallowed_units: &[TemporalUnit], + fallback_smallest_unit: TemporalUnit, + smallest_largest_default_unit: TemporalUnit, context: &mut Context -) -> JsResult<(TemporalUnit, TemporalUnit, RoundingMode, f64)>
    Expand description

    13.47 GetDifferenceSettings ( operation, options, unitGroup, disallowedUnits, fallbackSmallestUnit, smallestLargestDefaultUnit )

    +) -> JsResult<(TemporalUnit, TemporalUnit, RoundingMode, f64)>
    Expand description

    13.47 GetDifferenceSettings ( operation, options, unitGroup, disallowedUnits, fallbackSmallestUnit, smallestLargestDefaultUnit )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/instant/fn.diff_instant.html b/doc/boa_engine/builtins/temporal/instant/fn.diff_instant.html index d876699d2eb..4489feb5ac3 100644 --- a/doc/boa_engine/builtins/temporal/instant/fn.diff_instant.html +++ b/doc/boa_engine/builtins/temporal/instant/fn.diff_instant.html @@ -2,9 +2,9 @@ ns1: &JsBigInt, ns2: &JsBigInt, _rounding_increment: f64, - _smallest_unit: TemporalUnit, - _largest_unit: TemporalUnit, + _smallest_unit: TemporalUnit, + _largest_unit: TemporalUnit, _rounding_mode: RoundingMode, _context: &mut Context -) -> JsResult<Duration>
    Expand description

    8.5.7 DifferenceInstant ( ns1, ns2, roundingIncrement, smallestUnit, largestUnit, roundingMode )

    +) -> JsResult<Duration>
    Expand description

    8.5.7 DifferenceInstant ( ns1, ns2, roundingIncrement, smallestUnit, largestUnit, roundingMode )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/instant/fn.round_temporal_instant.html b/doc/boa_engine/builtins/temporal/instant/fn.round_temporal_instant.html index 9d9c0f83a13..7e02b38b5c2 100644 --- a/doc/boa_engine/builtins/temporal/instant/fn.round_temporal_instant.html +++ b/doc/boa_engine/builtins/temporal/instant/fn.round_temporal_instant.html @@ -1,7 +1,7 @@ round_temporal_instant in boa_engine::builtins::temporal::instant - Rust
    fn round_temporal_instant(
         ns: &JsBigInt,
         increment: f64,
    -    unit: TemporalUnit,
    +    unit: TemporalUnit,
         rounding_mode: RoundingMode
     ) -> JsResult<JsBigInt>
    Expand description

    8.5.8 RoundTemporalInstant ( ns, increment, unit, roundingMode )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/instant/struct.Instant.html b/doc/boa_engine/builtins/temporal/instant/struct.Instant.html index 412e429469c..6a2bb42c07a 100644 --- a/doc/boa_engine/builtins/temporal/instant/struct.Instant.html +++ b/doc/boa_engine/builtins/temporal/instant/struct.Instant.html @@ -65,7 +65,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for Instant

    source§

    const NAME: JsString = StaticJsStrings::INSTANT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Instant

    source§

    fn clone(&self) -> Instant

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Instant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Instant

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Instant

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Instant

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Instant

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for Instant

    source§

    const NAME: JsString = StaticJsStrings::INSTANT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Instant

    source§

    fn clone(&self) -> Instant

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Instant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Instant

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Instant

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Instant

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Instant

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Instant

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Instant

    §

    impl !Send for Instant

    §

    impl !Sync for Instant

    §

    impl Unpin for Instant

    §

    impl UnwindSafe for Instant

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/options/enum.TemporalUnitGroup.html b/doc/boa_engine/builtins/temporal/options/enum.TemporalUnitGroup.html index 341687dcb24..a951af76017 100644 --- a/doc/boa_engine/builtins/temporal/options/enum.TemporalUnitGroup.html +++ b/doc/boa_engine/builtins/temporal/options/enum.TemporalUnitGroup.html @@ -2,7 +2,7 @@ Date, Time, DateTime, -}

    Variants§

    §

    Date

    §

    Time

    §

    DateTime

    Implementations§

    source§

    impl TemporalUnitGroup

    source

    fn group(self) -> Vec<TemporalUnit>

    Trait Implementations§

    source§

    impl Clone for TemporalUnitGroup

    source§

    fn clone(&self) -> TemporalUnitGroup

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TemporalUnitGroup

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for TemporalUnitGroup

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +}

    Variants§

    §

    Date

    §

    Time

    §

    DateTime

    Implementations§

    Trait Implementations§

    source§

    impl Clone for TemporalUnitGroup

    source§

    fn clone(&self) -> TemporalUnitGroup

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TemporalUnitGroup

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for TemporalUnitGroup

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/temporal/options/fn.date_units.html b/doc/boa_engine/builtins/temporal/options/fn.date_units.html index 4c468787427..b395bf60e2e 100644 --- a/doc/boa_engine/builtins/temporal/options/fn.date_units.html +++ b/doc/boa_engine/builtins/temporal/options/fn.date_units.html @@ -1 +1 @@ -date_units in boa_engine::builtins::temporal::options - Rust
    fn date_units() -> impl Iterator<Item = TemporalUnit>
    \ No newline at end of file +date_units in boa_engine::builtins::temporal::options - Rust
    fn date_units() -> impl Iterator<Item = TemporalUnit>
    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/options/fn.datetime_units.html b/doc/boa_engine/builtins/temporal/options/fn.datetime_units.html index f1dc3f47a5b..6f960fa5c24 100644 --- a/doc/boa_engine/builtins/temporal/options/fn.datetime_units.html +++ b/doc/boa_engine/builtins/temporal/options/fn.datetime_units.html @@ -1 +1 @@ -datetime_units in boa_engine::builtins::temporal::options - Rust
    fn datetime_units() -> impl Iterator<Item = TemporalUnit>
    \ No newline at end of file +datetime_units in boa_engine::builtins::temporal::options - Rust
    fn datetime_units() -> impl Iterator<Item = TemporalUnit>
    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/options/fn.get_temporal_unit.html b/doc/boa_engine/builtins/temporal/options/fn.get_temporal_unit.html index 34668dfcb86..f36e106d865 100644 --- a/doc/boa_engine/builtins/temporal/options/fn.get_temporal_unit.html +++ b/doc/boa_engine/builtins/temporal/options/fn.get_temporal_unit.html @@ -2,7 +2,7 @@ options: &JsObject, key: &[u16], unit_group: TemporalUnitGroup, - extra_values: Option<Vec<TemporalUnit>>, + extra_values: Option<Vec<TemporalUnit>>, context: &mut Context -) -> JsResult<Option<TemporalUnit>>
    Expand description

    Gets the TemporalUnit from an options object.

    +) -> JsResult<Option<TemporalUnit>>
    Expand description

    Gets the TemporalUnit from an options object.

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/options/fn.time_units.html b/doc/boa_engine/builtins/temporal/options/fn.time_units.html index 7fd46ba6c6a..e424ae11c83 100644 --- a/doc/boa_engine/builtins/temporal/options/fn.time_units.html +++ b/doc/boa_engine/builtins/temporal/options/fn.time_units.html @@ -1 +1 @@ -time_units in boa_engine::builtins::temporal::options - Rust
    fn time_units() -> impl Iterator<Item = TemporalUnit>
    \ No newline at end of file +time_units in boa_engine::builtins::temporal::options - Rust
    fn time_units() -> impl Iterator<Item = TemporalUnit>
    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/plain_date/fn.create_temporal_date.html b/doc/boa_engine/builtins/temporal/plain_date/fn.create_temporal_date.html index abdf2132d5b..8bbebc256c1 100644 --- a/doc/boa_engine/builtins/temporal/plain_date/fn.create_temporal_date.html +++ b/doc/boa_engine/builtins/temporal/plain_date/fn.create_temporal_date.html @@ -1,5 +1,5 @@ create_temporal_date in boa_engine::builtins::temporal::plain_date - Rust
    pub(crate) fn create_temporal_date(
    -    inner: Date,
    +    inner: Date,
         new_target: Option<&JsValue>,
         context: &mut Context
     ) -> JsResult<JsObject>
    Expand description

    3.5.3 CreateTemporalDate ( isoYear, isoMonth, isoDay, calendar [ , newTarget ] )

    diff --git a/doc/boa_engine/builtins/temporal/plain_date/struct.PlainDate.html b/doc/boa_engine/builtins/temporal/plain_date/struct.PlainDate.html index c88b78bb287..ad110a94dc8 100644 --- a/doc/boa_engine/builtins/temporal/plain_date/struct.PlainDate.html +++ b/doc/boa_engine/builtins/temporal/plain_date/struct.PlainDate.html @@ -1,7 +1,7 @@ PlainDate in boa_engine::builtins::temporal::plain_date - Rust
    pub struct PlainDate {
    -    pub(crate) inner: Date,
    +    pub(crate) inner: Date,
     }
    Expand description

    The Temporal.PlainDate object.

    -

    Fields§

    §inner: Date

    Implementations§

    source§

    impl PlainDate

    source

    pub(crate) fn new(inner: InnerDate) -> Self

    source§

    impl PlainDate

    Fields§

    §inner: Date

    Implementations§

    source§

    impl PlainDate

    source

    pub(crate) fn new(inner: InnerDate) -> Self

    source§

    impl PlainDate

    source

    fn get_calendar_id( this: &JsValue, _: &[JsValue], _: &mut Context @@ -74,7 +74,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.

    source§

    impl BuiltInObject for PlainDate

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDate

    source§

    fn clone(&self) -> PlainDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDate

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDate

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for PlainDate

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDate

    source§

    fn clone(&self) -> PlainDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDate

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDate

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainDate

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainDate

    §

    impl !Send for PlainDate

    §

    impl !Sync for PlainDate

    §

    impl Unpin for PlainDate

    §

    impl !UnwindSafe for PlainDate

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/plain_date_time/struct.PlainDateTime.html b/doc/boa_engine/builtins/temporal/plain_date_time/struct.PlainDateTime.html index 1981adbbe18..170b1c8dd5c 100644 --- a/doc/boa_engine/builtins/temporal/plain_date_time/struct.PlainDateTime.html +++ b/doc/boa_engine/builtins/temporal/plain_date_time/struct.PlainDateTime.html @@ -1,7 +1,7 @@ PlainDateTime in boa_engine::builtins::temporal::plain_date_time - Rust
    pub struct PlainDateTime {
    -    pub(crate) inner: DateTime,
    +    pub(crate) inner: DateTime,
     }
    Expand description

    The Temporal.PlainDateTime object.

    -

    Fields§

    §inner: DateTime

    Implementations§

    source§

    impl PlainDateTime

    source

    fn new(inner: InnerDateTime) -> Self

    source

    pub(crate) fn inner(&self) -> &InnerDateTime

    source§

    impl PlainDateTime

    Fields§

    §inner: DateTime

    Implementations§

    source§

    impl PlainDateTime

    source

    fn new(inner: InnerDateTime) -> Self

    source

    pub(crate) fn inner(&self) -> &InnerDateTime

    source§

    impl PlainDateTime

    source

    fn calendar_id( this: &JsValue, _: &[JsValue], _: &mut Context @@ -25,7 +25,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainDateTime

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATETIME

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDateTime

    source§

    fn clone(&self) -> PlainDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDateTime

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for PlainDateTime

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATETIME

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDateTime

    source§

    fn clone(&self) -> PlainDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDateTime

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainDateTime

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainDateTime

    §

    impl !Send for PlainDateTime

    §

    impl !Sync for PlainDateTime

    §

    impl Unpin for PlainDateTime

    §

    impl !UnwindSafe for PlainDateTime

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/plain_month_day/fn.create_temporal_month_day.html b/doc/boa_engine/builtins/temporal/plain_month_day/fn.create_temporal_month_day.html index 477f87a4857..83d2b0c6318 100644 --- a/doc/boa_engine/builtins/temporal/plain_month_day/fn.create_temporal_month_day.html +++ b/doc/boa_engine/builtins/temporal/plain_month_day/fn.create_temporal_month_day.html @@ -1,5 +1,5 @@ create_temporal_month_day in boa_engine::builtins::temporal::plain_month_day - Rust
    pub(crate) fn create_temporal_month_day(
    -    inner: MonthDay,
    +    inner: MonthDay,
         new_target: Option<&JsValue>,
         context: &mut Context
     ) -> JsResult<JsValue>
    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/plain_month_day/struct.PlainMonthDay.html b/doc/boa_engine/builtins/temporal/plain_month_day/struct.PlainMonthDay.html index 3d3bd69f9af..f6255a7e7e6 100644 --- a/doc/boa_engine/builtins/temporal/plain_month_day/struct.PlainMonthDay.html +++ b/doc/boa_engine/builtins/temporal/plain_month_day/struct.PlainMonthDay.html @@ -1,11 +1,11 @@ PlainMonthDay in boa_engine::builtins::temporal::plain_month_day - Rust
    pub struct PlainMonthDay {
    -    pub(crate) inner: MonthDay,
    +    pub(crate) inner: MonthDay,
     }
    Expand description

    The Temporal.PlainMonthDay object.

    -

    Fields§

    §inner: MonthDay

    Implementations§

    source§

    impl PlainMonthDay

    source

    fn new(inner: InnerMonthDay) -> Self

    Trait Implementations§

    source§

    impl BuiltInConstructor for PlainMonthDay

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::plain_month_day as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( +

    Fields§

    §inner: MonthDay

    Implementations§

    Trait Implementations§

    source§

    impl BuiltInConstructor for PlainMonthDay

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::plain_month_day as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainMonthDay

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_MD

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainMonthDay

    source§

    fn clone(&self) -> PlainMonthDay

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainMonthDay

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainMonthDay

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainMonthDay

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainMonthDay

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainMonthDay

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_MD

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainMonthDay

    source§

    fn clone(&self) -> PlainMonthDay

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainMonthDay

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainMonthDay

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainMonthDay

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainMonthDay

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainMonthDay

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainMonthDay

    §

    impl !Send for PlainMonthDay

    §

    impl !Sync for PlainMonthDay

    §

    impl Unpin for PlainMonthDay

    §

    impl !UnwindSafe for PlainMonthDay

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/plain_year_month/fn.create_temporal_year_month.html b/doc/boa_engine/builtins/temporal/plain_year_month/fn.create_temporal_year_month.html index 4cc743be6d3..f59b469f915 100644 --- a/doc/boa_engine/builtins/temporal/plain_year_month/fn.create_temporal_year_month.html +++ b/doc/boa_engine/builtins/temporal/plain_year_month/fn.create_temporal_year_month.html @@ -1,5 +1,5 @@ create_temporal_year_month in boa_engine::builtins::temporal::plain_year_month - Rust
    pub(crate) fn create_temporal_year_month(
    -    ym: YearMonth,
    +    ym: YearMonth,
         new_target: Option<&JsValue>,
         context: &mut Context
     ) -> JsResult<JsValue>
    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/plain_year_month/struct.PlainYearMonth.html b/doc/boa_engine/builtins/temporal/plain_year_month/struct.PlainYearMonth.html index 3598c722e9d..ab885e0d8a8 100644 --- a/doc/boa_engine/builtins/temporal/plain_year_month/struct.PlainYearMonth.html +++ b/doc/boa_engine/builtins/temporal/plain_year_month/struct.PlainYearMonth.html @@ -1,7 +1,7 @@ PlainYearMonth in boa_engine::builtins::temporal::plain_year_month - Rust
    pub struct PlainYearMonth {
    -    pub(crate) inner: YearMonth,
    +    pub(crate) inner: YearMonth,
     }
    Expand description

    The Temporal.PlainYearMonth object.

    -

    Fields§

    §inner: YearMonth

    Implementations§

    source§

    impl PlainYearMonth

    source

    pub(crate) fn new(inner: InnerYearMonth) -> Self

    source§

    impl PlainYearMonth

    Fields§

    §inner: YearMonth

    Implementations§

    source§

    impl PlainYearMonth

    source

    pub(crate) fn new(inner: InnerYearMonth) -> Self

    source§

    impl PlainYearMonth

    source

    fn get_calendar_id( _this: &JsValue, _: &[JsValue], _: &mut Context @@ -41,7 +41,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainYearMonth

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_YM

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainYearMonth

    source§

    fn clone(&self) -> PlainYearMonth

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainYearMonth

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainYearMonth

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainYearMonth

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainYearMonth

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for PlainYearMonth

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_YM

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainYearMonth

    source§

    fn clone(&self) -> PlainYearMonth

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainYearMonth

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainYearMonth

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainYearMonth

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainYearMonth

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainYearMonth

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainYearMonth

    §

    impl !Send for PlainYearMonth

    §

    impl !Sync for PlainYearMonth

    §

    impl Unpin for PlainYearMonth

    §

    impl !UnwindSafe for PlainYearMonth

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.Calendar.html b/doc/boa_engine/builtins/temporal/struct.Calendar.html index e6ebd6965b7..72515a71540 100644 --- a/doc/boa_engine/builtins/temporal/struct.Calendar.html +++ b/doc/boa_engine/builtins/temporal/struct.Calendar.html @@ -1,7 +1,7 @@ Calendar in boa_engine::builtins::temporal - Rust
    pub struct Calendar {
    -    slot: CalendarSlot,
    +    slot: CalendarSlot,
     }
    Expand description

    The Temporal.Calendar object.

    -

    Fields§

    §slot: CalendarSlot

    Implementations§

    source§

    impl Calendar

    source

    pub(crate) fn new(slot: CalendarSlot) -> Self

    source§

    impl Calendar

    Fields§

    §slot: CalendarSlot

    Implementations§

    source§

    impl Calendar

    source

    pub(crate) fn new(slot: CalendarSlot) -> Self

    source§

    impl Calendar

    source

    fn from( _: &JsValue, args: &[JsValue], context: &mut Context @@ -123,7 +123,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for Calendar

    source§

    const NAME: JsString = StaticJsStrings::CALENDAR

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Calendar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Calendar

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Calendar

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Calendar

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for Calendar

    source§

    const NAME: JsString = StaticJsStrings::CALENDAR

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for Calendar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Calendar

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Calendar

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Calendar

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Calendar

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Calendar

    §

    impl !Send for Calendar

    §

    impl !Sync for Calendar

    §

    impl Unpin for Calendar

    §

    impl !UnwindSafe for Calendar

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.Duration.html b/doc/boa_engine/builtins/temporal/struct.Duration.html index 56a07422315..3794bfd5f93 100644 --- a/doc/boa_engine/builtins/temporal/struct.Duration.html +++ b/doc/boa_engine/builtins/temporal/struct.Duration.html @@ -1,8 +1,8 @@ Duration in boa_engine::builtins::temporal - Rust
    pub struct Duration {
    -    pub(crate) inner: Duration,
    +    pub(crate) inner: Duration,
     }
    Expand description

    The Temporal.Duration object.

    Per spec, Duration records are float64-representable integers

    -

    Fields§

    §inner: Duration

    Implementations§

    source§

    impl Duration

    source

    pub(crate) fn new(inner: InnerDuration) -> Self

    source§

    impl Duration

    Fields§

    §inner: Duration

    Implementations§

    source§

    impl Duration

    source

    pub(crate) fn new(inner: InnerDuration) -> Self

    source§

    impl Duration

    source

    fn get_internal_field( this: &JsValue, field: &DateTimeValues ) -> JsResult<JsValue>

    source

    fn get_years( @@ -105,7 +105,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for Duration

    source§

    const NAME: JsString = StaticJsStrings::DURATION

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Duration

    source§

    fn clone(&self) -> Duration

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Duration

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Duration

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Duration

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Durationwhere +) -> JsResult<JsValue>

    The native constructor function.

    source§

    impl BuiltInObject for Duration

    source§

    const NAME: JsString = StaticJsStrings::DURATION

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Duration

    source§

    fn clone(&self) -> Duration

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Duration

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Duration

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Duration

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Durationwhere Self: Copy,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Copy for Duration

    source§

    impl JsData for Duration

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Duration

    §

    impl Send for Duration

    §

    impl Sync for Duration

    §

    impl Unpin for Duration

    §

    impl UnwindSafe for Duration

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.Instant.html b/doc/boa_engine/builtins/temporal/struct.Instant.html index 1a4f370dc46..1af9d88e358 100644 --- a/doc/boa_engine/builtins/temporal/struct.Instant.html +++ b/doc/boa_engine/builtins/temporal/struct.Instant.html @@ -65,7 +65,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for Instant

    source§

    const NAME: JsString = StaticJsStrings::INSTANT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Instant

    source§

    fn clone(&self) -> Instant

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Instant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Instant

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Instant

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Instant

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Instant

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for Instant

    source§

    const NAME: JsString = StaticJsStrings::INSTANT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for Instant

    source§

    fn clone(&self) -> Instant

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Instant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Instant

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Instant

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for Instant

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for Instant

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Instant

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Instant

    §

    impl !Send for Instant

    §

    impl !Sync for Instant

    §

    impl Unpin for Instant

    §

    impl UnwindSafe for Instant

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.PlainDate.html b/doc/boa_engine/builtins/temporal/struct.PlainDate.html index 17a0ebe0bb2..a58fa0b4994 100644 --- a/doc/boa_engine/builtins/temporal/struct.PlainDate.html +++ b/doc/boa_engine/builtins/temporal/struct.PlainDate.html @@ -1,7 +1,7 @@ PlainDate in boa_engine::builtins::temporal - Rust
    pub struct PlainDate {
    -    pub(crate) inner: Date,
    +    pub(crate) inner: Date,
     }
    Expand description

    The Temporal.PlainDate object.

    -

    Fields§

    §inner: Date

    Implementations§

    source§

    impl PlainDate

    source

    pub(crate) fn new(inner: InnerDate) -> Self

    source§

    impl PlainDate

    Fields§

    §inner: Date

    Implementations§

    source§

    impl PlainDate

    source

    pub(crate) fn new(inner: InnerDate) -> Self

    source§

    impl PlainDate

    source

    fn get_calendar_id( this: &JsValue, _: &[JsValue], _: &mut Context @@ -74,7 +74,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainDate

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDate

    source§

    fn clone(&self) -> PlainDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDate

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDate

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for PlainDate

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDate

    source§

    fn clone(&self) -> PlainDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDate

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDate

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainDate

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainDate

    §

    impl !Send for PlainDate

    §

    impl !Sync for PlainDate

    §

    impl Unpin for PlainDate

    §

    impl !UnwindSafe for PlainDate

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.PlainDateTime.html b/doc/boa_engine/builtins/temporal/struct.PlainDateTime.html index de4033bd496..b06e61ee7e1 100644 --- a/doc/boa_engine/builtins/temporal/struct.PlainDateTime.html +++ b/doc/boa_engine/builtins/temporal/struct.PlainDateTime.html @@ -1,7 +1,7 @@ PlainDateTime in boa_engine::builtins::temporal - Rust
    pub struct PlainDateTime {
    -    pub(crate) inner: DateTime,
    +    pub(crate) inner: DateTime,
     }
    Expand description

    The Temporal.PlainDateTime object.

    -

    Fields§

    §inner: DateTime

    Implementations§

    source§

    impl PlainDateTime

    source

    fn new(inner: InnerDateTime) -> Self

    source

    pub(crate) fn inner(&self) -> &InnerDateTime

    source§

    impl PlainDateTime

    Fields§

    §inner: DateTime

    Implementations§

    source§

    impl PlainDateTime

    source

    fn new(inner: InnerDateTime) -> Self

    source

    pub(crate) fn inner(&self) -> &InnerDateTime

    source§

    impl PlainDateTime

    source

    fn calendar_id( this: &JsValue, _: &[JsValue], _: &mut Context @@ -25,7 +25,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainDateTime

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATETIME

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDateTime

    source§

    fn clone(&self) -> PlainDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDateTime

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for PlainDateTime

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_DATETIME

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainDateTime

    source§

    fn clone(&self) -> PlainDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainDateTime

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainDateTime

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainDateTime

    §

    impl !Send for PlainDateTime

    §

    impl !Sync for PlainDateTime

    §

    impl Unpin for PlainDateTime

    §

    impl !UnwindSafe for PlainDateTime

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.PlainMonthDay.html b/doc/boa_engine/builtins/temporal/struct.PlainMonthDay.html index 92d091b4bc5..3027953f21a 100644 --- a/doc/boa_engine/builtins/temporal/struct.PlainMonthDay.html +++ b/doc/boa_engine/builtins/temporal/struct.PlainMonthDay.html @@ -1,11 +1,11 @@ PlainMonthDay in boa_engine::builtins::temporal - Rust
    pub struct PlainMonthDay {
    -    pub(crate) inner: MonthDay,
    +    pub(crate) inner: MonthDay,
     }
    Expand description

    The Temporal.PlainMonthDay object.

    -

    Fields§

    §inner: MonthDay

    Implementations§

    source§

    impl PlainMonthDay

    source

    fn new(inner: InnerMonthDay) -> Self

    Trait Implementations§

    source§

    impl BuiltInConstructor for PlainMonthDay

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::plain_month_day as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( +

    Fields§

    §inner: MonthDay

    Implementations§

    Trait Implementations§

    source§

    impl BuiltInConstructor for PlainMonthDay

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::plain_month_day as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainMonthDay

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_MD

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainMonthDay

    source§

    fn clone(&self) -> PlainMonthDay

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainMonthDay

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainMonthDay

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainMonthDay

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainMonthDay

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainMonthDay

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_MD

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainMonthDay

    source§

    fn clone(&self) -> PlainMonthDay

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainMonthDay

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainMonthDay

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainMonthDay

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainMonthDay

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainMonthDay

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainMonthDay

    §

    impl !Send for PlainMonthDay

    §

    impl !Sync for PlainMonthDay

    §

    impl Unpin for PlainMonthDay

    §

    impl !UnwindSafe for PlainMonthDay

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.PlainYearMonth.html b/doc/boa_engine/builtins/temporal/struct.PlainYearMonth.html index a3428c639c2..dfae180e758 100644 --- a/doc/boa_engine/builtins/temporal/struct.PlainYearMonth.html +++ b/doc/boa_engine/builtins/temporal/struct.PlainYearMonth.html @@ -1,7 +1,7 @@ PlainYearMonth in boa_engine::builtins::temporal - Rust
    pub struct PlainYearMonth {
    -    pub(crate) inner: YearMonth,
    +    pub(crate) inner: YearMonth,
     }
    Expand description

    The Temporal.PlainYearMonth object.

    -

    Fields§

    §inner: YearMonth

    Implementations§

    source§

    impl PlainYearMonth

    source

    pub(crate) fn new(inner: InnerYearMonth) -> Self

    source§

    impl PlainYearMonth

    Fields§

    §inner: YearMonth

    Implementations§

    source§

    impl PlainYearMonth

    source

    pub(crate) fn new(inner: InnerYearMonth) -> Self

    source§

    impl PlainYearMonth

    source

    fn get_calendar_id( _this: &JsValue, _: &[JsValue], _: &mut Context @@ -41,7 +41,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for PlainYearMonth

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_YM

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainYearMonth

    source§

    fn clone(&self) -> PlainYearMonth

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainYearMonth

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainYearMonth

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainYearMonth

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainYearMonth

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for PlainYearMonth

    source§

    const NAME: JsString = StaticJsStrings::PLAIN_YM

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for PlainYearMonth

    source§

    fn clone(&self) -> PlainYearMonth

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlainYearMonth

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PlainYearMonth

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for PlainYearMonth

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for PlainYearMonth

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for PlainYearMonth

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for PlainYearMonth

    §

    impl !Send for PlainYearMonth

    §

    impl !Sync for PlainYearMonth

    §

    impl Unpin for PlainYearMonth

    §

    impl !UnwindSafe for PlainYearMonth

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.TimeZone.html b/doc/boa_engine/builtins/temporal/struct.TimeZone.html index 0bd39183fae..c8ea53b3834 100644 --- a/doc/boa_engine/builtins/temporal/struct.TimeZone.html +++ b/doc/boa_engine/builtins/temporal/struct.TimeZone.html @@ -1,7 +1,7 @@ TimeZone in boa_engine::builtins::temporal - Rust
    pub struct TimeZone {
    -    slot: TimeZoneSlot,
    +    slot: TimeZoneSlot,
     }
    Expand description

    The Temporal.TimeZone object.

    -

    Fields§

    §slot: TimeZoneSlot

    Implementations§

    source§

    impl TimeZone

    source

    pub(crate) fn get_id( +

    Fields§

    §slot: TimeZoneSlot

    Implementations§

    source§

    impl TimeZone

    source

    pub(crate) fn get_id( this: &JsValue, _: &[JsValue], context: &mut Context @@ -41,7 +41,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for TimeZone

    source§

    const NAME: JsString = StaticJsStrings::TIMEZONE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for TimeZone

    source§

    fn clone(&self) -> TimeZone

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for TimeZone

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for TimeZone

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for TimeZone

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for TimeZone

    source§

    const NAME: JsString = StaticJsStrings::TIMEZONE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for TimeZone

    source§

    fn clone(&self) -> TimeZone

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for TimeZone

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for TimeZone

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for TimeZone

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for TimeZone

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for TimeZone

    §

    impl !Send for TimeZone

    §

    impl !Sync for TimeZone

    §

    impl Unpin for TimeZone

    §

    impl !UnwindSafe for TimeZone

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/struct.ZonedDateTime.html b/doc/boa_engine/builtins/temporal/struct.ZonedDateTime.html index c4e3ace921e..b7527fb8cec 100644 --- a/doc/boa_engine/builtins/temporal/struct.ZonedDateTime.html +++ b/doc/boa_engine/builtins/temporal/struct.ZonedDateTime.html @@ -1,11 +1,11 @@ ZonedDateTime in boa_engine::builtins::temporal - Rust
    pub struct ZonedDateTime {
    -    inner: ZonedDateTime,
    +    inner: ZonedDateTime,
     }
    Expand description

    The Temporal.ZonedDateTime object.

    -

    Fields§

    §inner: ZonedDateTime

    Trait Implementations§

    source§

    impl BuiltInConstructor for ZonedDateTime

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::zoned_date_time as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( +

    Fields§

    §inner: ZonedDateTime

    Trait Implementations§

    source§

    impl BuiltInConstructor for ZonedDateTime

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::zoned_date_time as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for ZonedDateTime

    source§

    const NAME: JsString = StaticJsStrings::ZONED_DT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for ZonedDateTime

    source§

    fn clone(&self) -> ZonedDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZonedDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ZonedDateTime

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ZonedDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for ZonedDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for ZonedDateTime

    source§

    const NAME: JsString = StaticJsStrings::ZONED_DT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for ZonedDateTime

    source§

    fn clone(&self) -> ZonedDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZonedDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ZonedDateTime

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ZonedDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for ZonedDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for ZonedDateTime

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for ZonedDateTime

    §

    impl !Send for ZonedDateTime

    §

    impl !Sync for ZonedDateTime

    §

    impl Unpin for ZonedDateTime

    §

    impl !UnwindSafe for ZonedDateTime

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/time_zone/struct.TimeZone.html b/doc/boa_engine/builtins/temporal/time_zone/struct.TimeZone.html index a001c311e51..4d1c9a72386 100644 --- a/doc/boa_engine/builtins/temporal/time_zone/struct.TimeZone.html +++ b/doc/boa_engine/builtins/temporal/time_zone/struct.TimeZone.html @@ -1,7 +1,7 @@ TimeZone in boa_engine::builtins::temporal::time_zone - Rust
    pub struct TimeZone {
    -    slot: TimeZoneSlot,
    +    slot: TimeZoneSlot,
     }
    Expand description

    The Temporal.TimeZone object.

    -

    Fields§

    §slot: TimeZoneSlot

    Implementations§

    source§

    impl TimeZone

    source

    pub(crate) fn get_id( +

    Fields§

    §slot: TimeZoneSlot

    Implementations§

    source§

    impl TimeZone

    source

    pub(crate) fn get_id( this: &JsValue, _: &[JsValue], context: &mut Context @@ -41,7 +41,7 @@ new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for TimeZone

    source§

    const NAME: JsString = StaticJsStrings::TIMEZONE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for TimeZone

    source§

    fn clone(&self) -> TimeZone

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for TimeZone

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for TimeZone

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for TimeZone

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for TimeZone

    source§

    const NAME: JsString = StaticJsStrings::TIMEZONE

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for TimeZone

    source§

    fn clone(&self) -> TimeZone

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for TimeZone

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for TimeZone

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for TimeZone

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for TimeZone

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for TimeZone

    §

    impl !Send for TimeZone

    §

    impl !Sync for TimeZone

    §

    impl Unpin for TimeZone

    §

    impl !UnwindSafe for TimeZone

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/temporal/zoned_date_time/fn.add_zoned_date_time.html b/doc/boa_engine/builtins/temporal/zoned_date_time/fn.add_zoned_date_time.html index 63f70351674..a7575735b62 100644 --- a/doc/boa_engine/builtins/temporal/zoned_date_time/fn.add_zoned_date_time.html +++ b/doc/boa_engine/builtins/temporal/zoned_date_time/fn.add_zoned_date_time.html @@ -2,7 +2,7 @@ epoch_nanos: &JsBigInt, time_zone: &JsObject, calendar: &JsObject, - duration: Duration, + duration: Duration, options: Option<&JsObject> ) -> JsResult<JsBigInt>
    Expand description

    6.5.5 AddZonedDateTime ( epochNanoseconds, timeZone, calendar, years, months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds [ , options ] )

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/temporal/zoned_date_time/struct.ZonedDateTime.html b/doc/boa_engine/builtins/temporal/zoned_date_time/struct.ZonedDateTime.html index 7eed722941d..1eb1d2815d6 100644 --- a/doc/boa_engine/builtins/temporal/zoned_date_time/struct.ZonedDateTime.html +++ b/doc/boa_engine/builtins/temporal/zoned_date_time/struct.ZonedDateTime.html @@ -1,11 +1,11 @@ ZonedDateTime in boa_engine::builtins::temporal::zoned_date_time - Rust
    pub struct ZonedDateTime {
    -    inner: ZonedDateTime,
    +    inner: ZonedDateTime,
     }
    Expand description

    The Temporal.ZonedDateTime object.

    -

    Fields§

    §inner: ZonedDateTime

    Trait Implementations§

    source§

    impl BuiltInConstructor for ZonedDateTime

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::zoned_date_time as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( +

    Fields§

    §inner: ZonedDateTime

    Trait Implementations§

    source§

    impl BuiltInConstructor for ZonedDateTime

    source§

    const LENGTH: usize = 0usize

    The amount of arguments this function object takes.
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::zoned_date_time as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    fn constructor( new_target: &JsValue, args: &[JsValue], context: &mut Context -) -> JsResult<JsValue>

    The native constructor function.
    source§

    impl BuiltInObject for ZonedDateTime

    source§

    const NAME: JsString = StaticJsStrings::ZONED_DT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for ZonedDateTime

    source§

    fn clone(&self) -> ZonedDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZonedDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ZonedDateTime

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ZonedDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for ZonedDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> JsResult<JsValue>
    The native constructor function.
    source§

    impl BuiltInObject for ZonedDateTime

    source§

    const NAME: JsString = StaticJsStrings::ZONED_DT

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for ZonedDateTime

    source§

    fn clone(&self) -> ZonedDateTime

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZonedDateTime

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ZonedDateTime

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for ZonedDateTime

    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    impl Trace for ZonedDateTime

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for ZonedDateTime

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for ZonedDateTime

    §

    impl !Send for ZonedDateTime

    §

    impl !Sync for ZonedDateTime

    §

    impl Unpin for ZonedDateTime

    §

    impl !UnwindSafe for ZonedDateTime

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/typed_array/integer_indexed_object/struct.TypedArray.html b/doc/boa_engine/builtins/typed_array/integer_indexed_object/struct.TypedArray.html index 4adcf8a30d2..16eac7709f2 100644 --- a/doc/boa_engine/builtins/typed_array/integer_indexed_object/struct.TypedArray.html +++ b/doc/boa_engine/builtins/typed_array/integer_indexed_object/struct.TypedArray.html @@ -28,7 +28,7 @@

    source

    pub const fn viewed_array_buffer(&self) -> &JsObject

    Get a reference to the integer indexed object’s viewed array buffer.

    source

    pub const fn byte_length(&self) -> u64

    Get the integer indexed object’s byte length.

    source

    pub const fn array_length(&self) -> u64

    Get the integer indexed object’s array length.

    -

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for TypedArray

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for TypedArray

    §

    impl !Send for TypedArray

    §

    impl !Sync for TypedArray

    §

    impl Unpin for TypedArray

    §

    impl !UnwindSafe for TypedArray

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/typed_array/integer_indexed_object/type.IntegerIndexed.html b/doc/boa_engine/builtins/typed_array/integer_indexed_object/type.IntegerIndexed.html index 3c9ad567100..3c072dbee07 100644 --- a/doc/boa_engine/builtins/typed_array/integer_indexed_object/type.IntegerIndexed.html +++ b/doc/boa_engine/builtins/typed_array/integer_indexed_object/type.IntegerIndexed.html @@ -22,5 +22,5 @@

    source

    pub const fn viewed_array_buffer(&self) -> &JsObject

    Get a reference to the integer indexed object’s viewed array buffer.

    source

    pub const fn byte_length(&self) -> u64

    Get the integer indexed object’s byte length.

    source

    pub const fn array_length(&self) -> u64

    Get the integer indexed object’s array length.

    -

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for TypedArray

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/typed_array/struct.TypedArray.html b/doc/boa_engine/builtins/typed_array/struct.TypedArray.html index 4de5fe1f8bd..e86e8c0f265 100644 --- a/doc/boa_engine/builtins/typed_array/struct.TypedArray.html +++ b/doc/boa_engine/builtins/typed_array/struct.TypedArray.html @@ -28,7 +28,7 @@
    source

    pub const fn viewed_array_buffer(&self) -> &JsObject

    Get a reference to the integer indexed object’s viewed array buffer.

    source

    pub const fn byte_length(&self) -> u64

    Get the integer indexed object’s byte length.

    source

    pub const fn array_length(&self) -> u64

    Get the integer indexed object’s array length.

    -

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for TypedArray

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for TypedArray

    §

    impl !Send for TypedArray

    §

    impl !Sync for TypedArray

    §

    impl Unpin for TypedArray

    §

    impl !UnwindSafe for TypedArray

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/typed_array/type.IntegerIndexed.html b/doc/boa_engine/builtins/typed_array/type.IntegerIndexed.html index f771a885a12..db4d264b15c 100644 --- a/doc/boa_engine/builtins/typed_array/type.IntegerIndexed.html +++ b/doc/boa_engine/builtins/typed_array/type.IntegerIndexed.html @@ -22,5 +22,5 @@

    source

    pub const fn viewed_array_buffer(&self) -> &JsObject

    Get a reference to the integer indexed object’s viewed array buffer.

    source

    pub const fn byte_length(&self) -> u64

    Get the integer indexed object’s byte length.

    source

    pub const fn array_length(&self) -> u64

    Get the integer indexed object’s array length.

    -

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for TypedArray

    source§

    fn clone(&self) -> TypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for TypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for TypedArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for TypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for TypedArray

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/uri/struct.UriFunctions.html b/doc/boa_engine/builtins/uri/struct.UriFunctions.html index ad30849f27b..bee439a0e5b 100644 --- a/doc/boa_engine/builtins/uri/struct.UriFunctions.html +++ b/doc/boa_engine/builtins/uri/struct.UriFunctions.html @@ -8,7 +8,7 @@ §decode_uri_component: JsFunction

    %decodeURI%

    §encode_uri: JsFunction

    %encodeURI%

    §encode_uri_component: JsFunction

    %encodeURIcomponent%

    -

    Implementations§

    source§

    impl UriFunctions

    source

    pub(crate) fn decode_uri(&self) -> JsFunction

    source

    pub(crate) fn decode_uri_component(&self) -> JsFunction

    source

    pub(crate) fn encode_uri(&self) -> JsFunction

    source

    pub(crate) fn encode_uri_component(&self) -> JsFunction

    Trait Implementations§

    source§

    impl Debug for UriFunctions

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for UriFunctions

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for UriFunctions

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for UriFunctions

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for UriFunctions

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Implementations§

    source§

    impl UriFunctions

    source

    pub(crate) fn decode_uri(&self) -> JsFunction

    source

    pub(crate) fn decode_uri_component(&self) -> JsFunction

    source

    pub(crate) fn encode_uri(&self) -> JsFunction

    source

    pub(crate) fn encode_uri_component(&self) -> JsFunction

    Trait Implementations§

    source§

    impl Debug for UriFunctions

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for UriFunctions

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for UriFunctions

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for UriFunctions

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for UriFunctions

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/weak/weak_ref/struct.WeakRef.html b/doc/boa_engine/builtins/weak/weak_ref/struct.WeakRef.html index 9e23b2fd575..52bd94642ec 100644 --- a/doc/boa_engine/builtins/weak/weak_ref/struct.WeakRef.html +++ b/doc/boa_engine/builtins/weak/weak_ref/struct.WeakRef.html @@ -19,7 +19,7 @@ args: &[JsValue], context: &mut Context ) -> JsResult<JsValue>

    Constructor WeakRef ( target )

    -
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::weak_ref as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for WeakRef

    source§

    const NAME: JsString = StaticJsStrings::WEAK_REF

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for WeakRef

    source§

    fn clone(&self) -> WeakRef

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakRef

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakRef

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakRef

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for WeakRef

    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    impl Trace for WeakRef

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::weak_ref as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for WeakRef

    source§

    const NAME: JsString = StaticJsStrings::WEAK_REF

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Clone for WeakRef

    source§

    fn clone(&self) -> WeakRef

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakRef

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakRef

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakRef

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for WeakRef

    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    impl Trace for WeakRef

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/weak_map/struct.WeakMap.html b/doc/boa_engine/builtins/weak_map/struct.WeakMap.html index 7ec019af940..f872cffa1f9 100644 --- a/doc/boa_engine/builtins/weak_map/struct.WeakMap.html +++ b/doc/boa_engine/builtins/weak_map/struct.WeakMap.html @@ -49,7 +49,7 @@
  • ECMAScript reference
  • MDN documentation
  • -

    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::weak_map as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for WeakMap

    source§

    const NAME: JsString = StaticJsStrings::WEAK_MAP

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for WeakMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakMap

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for WeakMap

    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    impl Trace for WeakMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::weak_map as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for WeakMap

    source§

    const NAME: JsString = StaticJsStrings::WEAK_MAP

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for WeakMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakMap

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for WeakMap

    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    impl Trace for WeakMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for WeakMap

    §

    impl Send for WeakMap

    §

    impl Sync for WeakMap

    §

    impl Unpin for WeakMap

    §

    impl UnwindSafe for WeakMap

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/weak_map/type.NativeWeakMap.html b/doc/boa_engine/builtins/weak_map/type.NativeWeakMap.html index c11a1b8f6f7..458a3d6424a 100644 --- a/doc/boa_engine/builtins/weak_map/type.NativeWeakMap.html +++ b/doc/boa_engine/builtins/weak_map/type.NativeWeakMap.html @@ -1,8 +1,8 @@ -NativeWeakMap in boa_engine::builtins::weak_map - Rust
    type NativeWeakMap = WeakMap<VTableObject<dyn NativeObject>, JsValue>;

    Aliased Type§

    struct NativeWeakMap {
    -    pub(crate) inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, JsValue, BuildHasherDefault<AHasher>>>>,
    -}

    Fields§

    §inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, JsValue, BuildHasherDefault<AHasher>>>>

    Trait Implementations§

    §

    impl<K, V> Finalize for WeakMap<K, V>where +NativeWeakMap in boa_engine::builtins::weak_map - Rust
    type NativeWeakMap = WeakMap<VTableObject<dyn NativeObject>, JsValue>;

    Aliased Type§

    struct NativeWeakMap {
    +    pub(crate) inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, JsValue, BuildHasherDefault<AHasher>>>>,
    +}

    Fields§

    §inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, JsValue, BuildHasherDefault<AHasher>>>>

    Trait Implementations§

    source§

    impl<K, V> Finalize for WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    §

    fn finalize(&self)

    Cleanup logic for a type.
    §

    impl<K, V> Trace for WeakMap<K, V>where + V: Trace + 'static,

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<K, V> Trace for WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    §

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    §

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    §

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all -contained subobjects.
    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    \ No newline at end of file + V: Trace + 'static,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +contained subobjects.
    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    \ No newline at end of file diff --git a/doc/boa_engine/builtins/weak_set/struct.WeakSet.html b/doc/boa_engine/builtins/weak_set/struct.WeakSet.html index 5f155880b7a..6f2eb684fb7 100644 --- a/doc/boa_engine/builtins/weak_set/struct.WeakSet.html +++ b/doc/boa_engine/builtins/weak_set/struct.WeakSet.html @@ -42,7 +42,7 @@
  • ECMAScript reference
  • MDN documentation
  • -

    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::weak_set as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for WeakSet

    source§

    const NAME: JsString = StaticJsStrings::WEAK_SET

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for WeakSet

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakSet

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakSet

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for WeakSet

    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    impl Trace for WeakSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source§

    const STANDARD_CONSTRUCTOR: fn(_: &StandardConstructors) -> &StandardConstructor = {context::intrinsics::StandardConstructors::weak_set as for<'a> fn(&'a context::intrinsics::StandardConstructors) -> &'a context::intrinsics::StandardConstructor}

    The corresponding standard constructor of this constructor.
    source§

    impl BuiltInObject for WeakSet

    source§

    const NAME: JsString = StaticJsStrings::WEAK_SET

    Binding name of the builtin inside the global object. Read more
    source§

    const ATTRIBUTE: Attribute = _

    Property attribute flags of the built-in. Check Attribute for more information.
    source§

    impl Debug for WeakSet

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakSet

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakSet

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl IntrinsicObject for WeakSet

    source§

    fn get(intrinsics: &Intrinsics) -> JsObject

    Gets the intrinsic object.
    source§

    fn init(realm: &Realm)

    Initializes the intrinsic object. Read more
    source§

    impl Trace for WeakSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for WeakSet

    §

    impl Send for WeakSet

    §

    impl Sync for WeakSet

    §

    impl Unpin for WeakSet

    §

    impl UnwindSafe for WeakSet

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/builtins/weak_set/type.NativeWeakSet.html b/doc/boa_engine/builtins/weak_set/type.NativeWeakSet.html index 33b35b0fdde..64f7697ced3 100644 --- a/doc/boa_engine/builtins/weak_set/type.NativeWeakSet.html +++ b/doc/boa_engine/builtins/weak_set/type.NativeWeakSet.html @@ -1,8 +1,8 @@ -NativeWeakSet in boa_engine::builtins::weak_set - Rust
    type NativeWeakSet = WeakMap<VTableObject<dyn NativeObject>, ()>;

    Aliased Type§

    struct NativeWeakSet {
    -    pub(crate) inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, (), BuildHasherDefault<AHasher>>>>,
    -}

    Fields§

    §inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, (), BuildHasherDefault<AHasher>>>>

    Trait Implementations§

    §

    impl<K, V> Finalize for WeakMap<K, V>where +NativeWeakSet in boa_engine::builtins::weak_set - Rust
    type NativeWeakSet = WeakMap<VTableObject<dyn NativeObject>, ()>;

    Aliased Type§

    struct NativeWeakSet {
    +    pub(crate) inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, (), BuildHasherDefault<AHasher>>>>,
    +}

    Fields§

    §inner: Gc<GcRefCell<RawWeakMap<VTableObject<dyn NativeObject>, (), BuildHasherDefault<AHasher>>>>

    Trait Implementations§

    source§

    impl<K, V> Finalize for WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    §

    fn finalize(&self)

    Cleanup logic for a type.
    §

    impl<K, V> Trace for WeakMap<K, V>where + V: Trace + 'static,

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<K, V> Trace for WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    §

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    §

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    §

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all -contained subobjects.
    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    \ No newline at end of file + V: Trace + 'static,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +contained subobjects.
    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    \ No newline at end of file diff --git a/doc/boa_engine/bytecompiler/class/enum.StaticElement.html b/doc/boa_engine/bytecompiler/class/enum.StaticElement.html index 620b6718878..6e17301952b 100644 --- a/doc/boa_engine/bytecompiler/class/enum.StaticElement.html +++ b/doc/boa_engine/bytecompiler/class/enum.StaticElement.html @@ -1,7 +1,7 @@ StaticElement in boa_engine::bytecompiler::class - Rust
    enum StaticElement {
    -    StaticBlock(Gc<CodeBlock>),
    -    StaticField((Gc<CodeBlock>, Option<u32>)),
    -}

    Variants§

    §

    StaticBlock(Gc<CodeBlock>)

    §

    StaticField((Gc<CodeBlock>, Option<u32>))

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + StaticBlock(Gc<CodeBlock>), + StaticField((Gc<CodeBlock>, Option<u32>)), +}

    Variants§

    §

    StaticBlock(Gc<CodeBlock>)

    §

    StaticField((Gc<CodeBlock>, Option<u32>))

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/bytecompiler/enum.Access.html b/doc/boa_engine/bytecompiler/enum.Access.html index 39df5cd7297..201d2267472 100644 --- a/doc/boa_engine/bytecompiler/enum.Access.html +++ b/doc/boa_engine/bytecompiler/enum.Access.html @@ -1,14 +1,14 @@ Access in boa_engine::bytecompiler - Rust
    enum Access<'a> {
         Variable {
    -        name: Identifier,
    +        name: Identifier,
         },
         Property {
    -        access: &'a PropertyAccess,
    +        access: &'a PropertyAccess,
         },
         This,
    -}

    Variants§

    §

    Variable

    Fields

    §name: Identifier
    §

    Property

    Fields

    §access: &'a PropertyAccess
    §

    This

    Implementations§

    source§

    impl Access<'_>

    source

    const fn from_assign_target( - target: &AssignTarget -) -> Result<Access<'_>, &Pattern>

    source

    const fn from_expression(expr: &Expression) -> Option<Access<'_>>

    source

    const fn from_update_target(target: &UpdateTarget) -> Access<'_>

    Trait Implementations§

    source§

    impl<'a> Clone for Access<'a>

    source§

    fn clone(&self) -> Access<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Access<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Copy for Access<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Access<'a>

    §

    impl<'a> Send for Access<'a>

    §

    impl<'a> Sync for Access<'a>

    §

    impl<'a> Unpin for Access<'a>

    §

    impl<'a> UnwindSafe for Access<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +}

    Variants§

    §

    Variable

    Fields

    §

    Property

    Fields

    §access: &'a PropertyAccess
    §

    This

    Implementations§

    source§

    impl Access<'_>

    source

    const fn from_assign_target( + target: &AssignTarget +) -> Result<Access<'_>, &Pattern>

    source

    const fn from_expression(expr: &Expression) -> Option<Access<'_>>

    source

    const fn from_update_target(target: &UpdateTarget) -> Access<'_>

    Trait Implementations§

    source§

    impl<'a> Clone for Access<'a>

    source§

    fn clone(&self) -> Access<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Access<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Copy for Access<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Access<'a>

    §

    impl<'a> Send for Access<'a>

    §

    impl<'a> Sync for Access<'a>

    §

    impl<'a> Unpin for Access<'a>

    §

    impl<'a> UnwindSafe for Access<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/bytecompiler/enum.Callable.html b/doc/boa_engine/bytecompiler/enum.Callable.html index 5f9597ecf26..19ba85275ae 100644 --- a/doc/boa_engine/bytecompiler/enum.Callable.html +++ b/doc/boa_engine/bytecompiler/enum.Callable.html @@ -1,8 +1,8 @@ Callable in boa_engine::bytecompiler - Rust
    enum Callable<'a> {
    -    Call(&'a Call),
    -    New(&'a New),
    +    Call(&'a Call),
    +    New(&'a New),
     }
    Expand description

    Represents a callable expression, like f() or new Cl()

    -

    Variants§

    §

    Call(&'a Call)

    §

    New(&'a New)

    Trait Implementations§

    source§

    impl<'a> Clone for Callable<'a>

    source§

    fn clone(&self) -> Callable<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Callable<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Copy for Callable<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Callable<'a>

    §

    impl<'a> Send for Callable<'a>

    §

    impl<'a> Sync for Callable<'a>

    §

    impl<'a> Unpin for Callable<'a>

    §

    impl<'a> UnwindSafe for Callable<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    Variants§

    §

    Call(&'a Call)

    §

    New(&'a New)

    Trait Implementations§

    source§

    impl<'a> Clone for Callable<'a>

    source§

    fn clone(&self) -> Callable<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for Callable<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> Copy for Callable<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for Callable<'a>

    §

    impl<'a> Send for Callable<'a>

    §

    impl<'a> Sync for Callable<'a>

    §

    impl<'a> Unpin for Callable<'a>

    §

    impl<'a> UnwindSafe for Callable<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/bytecompiler/function/struct.FunctionCompiler.html b/doc/boa_engine/bytecompiler/function/struct.FunctionCompiler.html index e00fc1a5835..c1d40556243 100644 --- a/doc/boa_engine/bytecompiler/function/struct.FunctionCompiler.html +++ b/doc/boa_engine/bytecompiler/function/struct.FunctionCompiler.html @@ -21,12 +21,12 @@ ) -> Self

    Indicate if the function has a binding identifier.

    source

    pub(crate) fn compile( self, - parameters: &FormalParameterList, - body: &FunctionBody, + parameters: &FormalParameterList, + body: &FunctionBody, variable_environment: Rc<CompileTimeEnvironment>, lexical_environment: Rc<CompileTimeEnvironment>, context: &mut Context -) -> Gc<CodeBlock>

    Compile a function statement list and it’s parameters into bytecode.

    +) -> Gc<CodeBlock>

    Compile a function statement list and it’s parameters into bytecode.

    Trait Implementations§

    source§

    impl Clone for FunctionCompiler

    source§

    fn clone(&self) -> FunctionCompiler

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FunctionCompiler

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/bytecompiler/index.html b/doc/boa_engine/bytecompiler/index.html index e6fcd347628..247c745195e 100644 --- a/doc/boa_engine/bytecompiler/index.html +++ b/doc/boa_engine/bytecompiler/index.html @@ -1,2 +1,2 @@ boa_engine::bytecompiler - Rust
    Expand description

    This module contains the bytecode compiler.

    -

    Modules

    Structs

    Enums

    • Access 🔒
    • Callable 🔒
      Represents a callable expression, like f() or new Cl()
    • Describes the type of a function.
    • Literal 🔒
    • NodeKind 🔒
      Describes how a node has been defined in the source code.
    • Operand 🔒
      An opcode operand.

    Traits

    \ No newline at end of file +

    Modules

    Structs

    Enums

    • Access 🔒
    • Callable 🔒
      Represents a callable expression, like f() or new Cl()
    • Describes the type of a function.
    • Literal 🔒
    • NodeKind 🔒
      Describes how a node has been defined in the source code.
    • Operand 🔒
      An opcode operand.

    Traits

    \ No newline at end of file diff --git a/doc/boa_engine/bytecompiler/struct.ByteCompiler.html b/doc/boa_engine/bytecompiler/struct.ByteCompiler.html index f1f781f6372..1fee8732a6a 100644 --- a/doc/boa_engine/bytecompiler/struct.ByteCompiler.html +++ b/doc/boa_engine/bytecompiler/struct.ByteCompiler.html @@ -2,7 +2,7 @@ pub(crate) function_name: JsString, pub(crate) length: u32, pub(crate) this_mode: ThisMode, - pub(crate) params: FormalParameterList, + pub(crate) params: FormalParameterList, pub(crate) bytecode: Vec<u8>, pub(crate) constants: ThinVec<Constant>, pub(crate) bindings: Vec<BindingLocator>, @@ -14,39 +14,39 @@ handlers: ThinVec<Handler>, pub(crate) ic: Vec<InlineCache>, literals_map: FxHashMap<Literal, u32>, - names_map: FxHashMap<Identifier, u32>, + names_map: FxHashMap<Identifier, u32>, bindings_map: FxHashMap<BindingLocator, u32>, jump_info: Vec<JumpControlInfo>, pub(crate) async_handler: Option<u32>, json_parse: bool, pub(crate) context: &'ctx mut Context, - annex_b_function_names: Vec<Identifier>, -

    }
    Expand description

    The ByteCompiler is used to compile ECMAScript AST from [boa_ast] to bytecode.

    + annex_b_function_names: Vec<Identifier>, +
    }
    Expand description

    The ByteCompiler is used to compile ECMAScript AST from boa_ast to bytecode.

    Fields§

    §function_name: JsString

    Name of this function.

    §length: u32

    The number of arguments expected.

    §this_mode: ThisMode

    [[ThisMode]]

    -
    §params: FormalParameterList

    Parameters passed to this function.

    +
    §params: FormalParameterList

    Parameters passed to this function.

    §bytecode: Vec<u8>

    Bytecode

    §constants: ThinVec<Constant>§bindings: Vec<BindingLocator>

    Locators for all bindings in the codeblock.

    §variable_environment: Rc<CompileTimeEnvironment>

    The current variable environment.

    §lexical_environment: Rc<CompileTimeEnvironment>

    The current lexical environment.

    -
    §current_open_environments_count: u32§current_stack_value_count: u32§code_block_flags: CodeBlockFlags§handlers: ThinVec<Handler>§ic: Vec<InlineCache>§literals_map: FxHashMap<Literal, u32>§names_map: FxHashMap<Identifier, u32>§bindings_map: FxHashMap<BindingLocator, u32>§jump_info: Vec<JumpControlInfo>§async_handler: Option<u32>

    Used to handle exception throws that escape the async function types.

    +
    §current_open_environments_count: u32§current_stack_value_count: u32§code_block_flags: CodeBlockFlags§handlers: ThinVec<Handler>§ic: Vec<InlineCache>§literals_map: FxHashMap<Literal, u32>§names_map: FxHashMap<Identifier, u32>§bindings_map: FxHashMap<BindingLocator, u32>§jump_info: Vec<JumpControlInfo>§async_handler: Option<u32>

    Used to handle exception throws that escape the async function types.

    Async functions and async generator functions, need to be closed and resolved.

    -
    §json_parse: bool§context: &'ctx mut Context§annex_b_function_names: Vec<Identifier>

    Implementations§

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_class(&mut self, class: &Class, expression: bool)

    This function compiles a class declaration or expression.

    +
    §json_parse: bool§context: &'ctx mut Context§annex_b_function_names: Vec<Identifier>

    Implementations§

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_class(&mut self, class: &Class, expression: bool)

    This function compiles a class declaration or expression.

    The compilation of a class declaration and expression is mostly equal. A class declaration binds the resulting class object to it’s identifier. A class expression leaves the resulting class object on the stack for following operations.

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_declaration_pattern_impl( &mut self, - pattern: &Pattern, + pattern: &Pattern, def: BindingOpcode )

    source

    fn compile_array_pattern_element( &mut self, - element: &ArrayPatternElement, + element: &ArrayPatternElement, def: BindingOpcode )

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn global_declaration_instantiation( &mut self, - script: &Script, + script: &Script, env: &Rc<CompileTimeEnvironment> ) -> JsResult<()>

    GlobalDeclarationInstantiation ( script, env )

    More information:

    @@ -58,14 +58,14 @@ block: &'a N, env: &Rc<CompileTimeEnvironment> )where - &'a N: Into<NodeRef<'a>>,

    BlockDeclarationInstantiation ( code, env )

    + &'a N: Into<NodeRef<'a>>,

    BlockDeclarationInstantiation ( code, env )

    More information:

    source

    pub(crate) fn eval_declaration_instantiation( &mut self, - body: &Script, + body: &Script, strict: bool, var_env: &Rc<CompileTimeEnvironment>, lex_env: &Rc<CompileTimeEnvironment> @@ -76,8 +76,8 @@

    source

    pub(crate) fn function_declaration_instantiation( &mut self, - body: &FunctionBody, - formals: &FormalParameterList, + body: &FunctionBody, + formals: &FormalParameterList, arrow: bool, strict: bool, generator: bool @@ -88,24 +88,24 @@

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn push_compile_environment(&mut self, function_scope: bool) -> u32

    Push either a new declarative or function environment on the compile time environment stack.

    source

    pub(crate) fn pop_compile_environment(&mut self)

    Pops the top compile time environment and returns its index in the compile time environments array.

    -
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_assign(&mut self, assign: &Assign, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_binary(&mut self, binary: &Binary, use_expr: bool)

    source

    pub(crate) fn compile_binary_in_private( +

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_assign(&mut self, assign: &Assign, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_binary(&mut self, binary: &Binary, use_expr: bool)

    source

    pub(crate) fn compile_binary_in_private( &mut self, - binary: &BinaryInPrivate, + binary: &BinaryInPrivate, use_expr: bool )

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_object_literal( &mut self, - object: &ObjectLiteral, + object: &ObjectLiteral, use_expr: bool )

    source

    fn compile_object_literal_computed_method( &mut self, - name: &Expression, + name: &Expression, function: FunctionSpec<'_>, kind: MethodKind -)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_unary(&mut self, unary: &Unary, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_update(&mut self, update: &Update, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    fn compile_literal(&mut self, lit: &AstLiteral, use_expr: bool)

    source

    fn compile_conditional(&mut self, op: &Conditional, use_expr: bool)

    source

    fn compile_template_literal( +)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_unary(&mut self, unary: &Unary, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_update(&mut self, update: &Update, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    fn compile_literal(&mut self, lit: &AstLiteral, use_expr: bool)

    source

    fn compile_conditional(&mut self, op: &Conditional, use_expr: bool)

    source

    fn compile_template_literal( &mut self, - template_literal: &TemplateLiteral, + template_literal: &TemplateLiteral, use_expr: bool -)

    source

    pub(crate) fn compile_expr_impl(&mut self, expr: &Expression, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn push_empty_loop_jump_control(&mut self, use_expr: bool)

    Pushes a generic JumpControlInfo onto ByteCompiler

    +)
    source

    pub(crate) fn compile_expr_impl(&mut self, expr: &Expression, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn push_empty_loop_jump_control(&mut self, use_expr: bool)

    Pushes a generic JumpControlInfo onto ByteCompiler

    Default JumpControlInfoKind is JumpControlInfoKind::Loop

    source

    pub(crate) fn current_jump_control_mut( &mut self @@ -166,58 +166,58 @@

    Panic
    • Will panic if popped JumpControlInfo is not for a try block.
    -
    source

    pub(crate) fn jump_info_open_environment_count(&self, index: usize) -> u32

    source§

    impl ByteCompiler<'_>

    source

    pub fn compile_module_item_list(&mut self, list: &ModuleItemList)

    Compiles a [ModuleItemList].

    -
    source

    pub fn compile_module_item(&mut self, item: &ModuleItem)

    Compiles a [ModuleItem].

    -
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_block(&mut self, block: &Block, use_expr: bool)

    Compile a [Block] boa_ast node

    -
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_break(&mut self, node: Break, _use_expr: bool)

    Compile a [Break] boa_ast node

    -
    source

    fn break_jump_record_actions(&self, node: Break) -> Vec<JumpRecordAction>

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_continue(&mut self, node: Continue, _use_expr: bool)

    source

    fn continue_jump_record_actions(&self, node: Continue) -> Vec<JumpRecordAction>

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_if(&mut self, node: &If, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_labelled(&mut self, labelled: &Labelled, use_expr: bool)

    Compile a [Labelled] boa_ast node

    +
    source

    pub(crate) fn jump_info_open_environment_count(&self, index: usize) -> u32

    source§

    impl ByteCompiler<'_>

    source

    pub fn compile_module_item_list(&mut self, list: &ModuleItemList)

    Compiles a ModuleItemList.

    +
    source

    pub fn compile_module_item(&mut self, item: &ModuleItem)

    Compiles a ModuleItem.

    +
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_block(&mut self, block: &Block, use_expr: bool)

    Compile a Block boa_ast node

    +
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_break(&mut self, node: Break, _use_expr: bool)

    Compile a Break boa_ast node

    +
    source

    fn break_jump_record_actions(&self, node: Break) -> Vec<JumpRecordAction>

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_continue(&mut self, node: Continue, _use_expr: bool)

    source

    fn continue_jump_record_actions(&self, node: Continue) -> Vec<JumpRecordAction>

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_if(&mut self, node: &If, use_expr: bool)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_labelled(&mut self, labelled: &Labelled, use_expr: bool)

    Compile a Labelled boa_ast node

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_for_loop( &mut self, - for_loop: &ForLoop, + for_loop: &ForLoop, label: Option<Sym>, use_expr: bool )

    source

    pub(crate) fn compile_for_in_loop( &mut self, - for_in_loop: &ForInLoop, + for_in_loop: &ForInLoop, label: Option<Sym>, use_expr: bool )

    source

    pub(crate) fn compile_for_of_loop( &mut self, - for_of_loop: &ForOfLoop, + for_of_loop: &ForOfLoop, label: Option<Sym>, use_expr: bool )

    source

    pub(crate) fn compile_while_loop( &mut self, - while_loop: &WhileLoop, + while_loop: &WhileLoop, label: Option<Sym>, use_expr: bool )

    source

    pub(crate) fn compile_do_while_loop( &mut self, - do_while_loop: &DoWhileLoop, + do_while_loop: &DoWhileLoop, label: Option<Sym>, use_expr: bool -)

    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_switch(&mut self, switch: &Switch, use_expr: bool)

    Compile a [Switch] boa_ast node

    -
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_try(&mut self, t: &Try, use_expr: bool)

    Compile try statement.

    +)
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_switch(&mut self, switch: &Switch, use_expr: bool)

    Compile a Switch boa_ast node

    +
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_try(&mut self, t: &Try, use_expr: bool)

    Compile try statement.

    source

    pub(crate) fn compile_catch_stmt( &mut self, - catch: &Catch, + catch: &Catch, _has_finally: bool, use_expr: bool )

    source

    pub(crate) fn compile_finally_stmt( &mut self, - finally: &Finally, + finally: &Finally, has_catch: bool -)

    source

    fn compile_catch_finally_block(&mut self, block: &Block, use_expr: bool)

    Compile a catch or finally block.

    +)
    source

    fn compile_catch_finally_block(&mut self, block: &Block, use_expr: bool)

    Compile a catch or finally block.

    If the block contains a break or continue as the first statement, the return value is set to undefined. See the ECMAScript reference for more information.

    -
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_with(&mut self, with: &With, use_expr: bool)

    Compile a [With] boa_ast node

    +
    source§

    impl ByteCompiler<'_>

    source

    pub(crate) fn compile_with(&mut self, with: &With, use_expr: bool)

    Compile a With boa_ast node

    source§

    impl ByteCompiler<'_>

    source

    pub fn compile_stmt( &mut self, - node: &Statement, + node: &Statement, use_expr: bool, root_statement: bool -)

    Compiles a [Statement] boa_ast node.

    +)

    Compiles a Statement boa_ast node.

    source

    pub(crate) fn return(&mut self, return_value_on_stack: bool)

    source

    fn return_jump_record_actions(&self) -> Vec<JumpRecordAction>

    source§

    impl ByteCompiler<'_>

    source

    pub(super) fn iterator_close(&mut self, async_: bool)

    Closes an iterator

    This is equivalent to the IteratorClose and AsyncIteratorClose operations.

    @@ -247,9 +247,9 @@
    Panic
    lexical_environment: Rc<CompileTimeEnvironment>, context: &'ctx mut Context ) -> ByteCompiler<'ctx>

    Creates a new ByteCompiler.

    -
    source

    pub(crate) const fn strict(&self) -> bool

    source

    pub(crate) const fn is_async(&self) -> bool

    source

    pub(crate) const fn is_generator(&self) -> bool

    source

    pub(crate) const fn is_async_generator(&self) -> bool

    source

    pub(crate) fn interner(&self) -> &Interner

    source

    fn get_or_insert_literal(&mut self, literal: Literal) -> u32

    source

    fn get_or_insert_name(&mut self, name: Identifier) -> u32

    source

    fn get_or_insert_string(&mut self, value: JsString) -> u32

    source

    fn get_or_insert_private_name(&mut self, name: PrivateName) -> u32

    source

    pub(crate) fn get_or_insert_binding(&mut self, binding: BindingLocator) -> u32

    source

    pub(crate) fn push_function_to_constants( +

    source

    pub(crate) const fn strict(&self) -> bool

    source

    pub(crate) const fn is_async(&self) -> bool

    source

    pub(crate) const fn is_generator(&self) -> bool

    source

    pub(crate) const fn is_async_generator(&self) -> bool

    source

    pub(crate) fn interner(&self) -> &Interner

    source

    fn get_or_insert_literal(&mut self, literal: Literal) -> u32

    source

    fn get_or_insert_name(&mut self, name: Identifier) -> u32

    source

    fn get_or_insert_string(&mut self, value: JsString) -> u32

    source

    fn get_or_insert_private_name(&mut self, name: PrivateName) -> u32

    source

    pub(crate) fn get_or_insert_binding(&mut self, binding: BindingLocator) -> u32

    source

    pub(crate) fn push_function_to_constants( &mut self, - function: Gc<CodeBlock> + function: Gc<CodeBlock> ) -> u32

    source

    fn emit_binding(&mut self, opcode: BindingOpcode, name: JsString)

    source

    fn next_opcode_location(&mut self) -> u32

    source

    pub(crate) fn emit(&mut self, opcode: Opcode, operands: &[Operand])

    source

    pub(crate) fn emit_with_varying_operand(&mut self, opcode: Opcode, operand: u32)

    Emits an opcode with one varying operand.

    Simpler version of ByteCompiler::emit().

    source

    pub(crate) fn emit_operand( @@ -265,15 +265,15 @@

    Panic
    opcode: Opcode ) -> (Label, Label)

    Emit an opcode with two dummy operands. Return the Labels of the two operands.

    -
    source

    pub(crate) fn patch_jump_with_target(&mut self, label: Label, target: u32)

    source

    fn patch_jump(&mut self, label: Label)

    source

    fn resolve_identifier_expect(&self, identifier: Identifier) -> JsString

    source

    fn access_get(&mut self, access: Access<'_>, use_expr: bool)

    source

    fn access_set_top_of_stack_expr_fn(compiler: &mut ByteCompiler<'_>, level: u8)

    source

    fn access_set<F, R>(&mut self, access: Access<'_>, use_expr: bool, expr_fn: F)where +

    source

    pub(crate) fn patch_jump_with_target(&mut self, label: Label, target: u32)

    source

    fn patch_jump(&mut self, label: Label)

    source

    fn resolve_identifier_expect(&self, identifier: Identifier) -> JsString

    source

    fn access_get(&mut self, access: Access<'_>, use_expr: bool)

    source

    fn access_set_top_of_stack_expr_fn(compiler: &mut ByteCompiler<'_>, level: u8)

    source

    fn access_set<F, R>(&mut self, access: Access<'_>, use_expr: bool, expr_fn: F)where F: FnOnce(&mut ByteCompiler<'_>, u8) -> R,

    source

    fn access_delete(&mut self, access: Access<'_>)

    source

    pub fn compile_statement_list( &mut self, - list: &StatementList, + list: &StatementList, use_expr: bool, block: bool -)

    Compile a [StatementList].

    -
    source

    pub fn compile_expr(&mut self, expr: &Expression, use_expr: bool)

    Compile an [Expression].

    -
    source

    fn compile_access_preserve_this(&mut self, access: &PropertyAccess)

    Compile a property access expression, prepending this to the property value in the stack.

    +)

    Compile a StatementList.

    +
    source

    pub fn compile_expr(&mut self, expr: &Expression, use_expr: bool)

    Compile an Expression.

    +
    source

    fn compile_access_preserve_this(&mut self, access: &PropertyAccess)

    Compile a property access expression, prepending this to the property value in the stack.

    This compiles the access in a way that the state of the stack after executing the property access becomes ...rest, this, value. where ...rest is the rest of the stack, this is the this value of the access, and value is the final result of the access.

    @@ -281,7 +281,7 @@
    Panic
    with calls (a.b()), since both of them must have a be the value of this for the function call b(), but a regular compilation of the access would lose the this value after accessing b.

    -
    source

    fn compile_optional_preserve_this(&mut self, optional: &Optional)

    Compile an optional chain expression, prepending this to the property value in the stack.

    +
    source

    fn compile_optional_preserve_this(&mut self, optional: &Optional)

    Compile an optional chain expression, prepending this to the property value in the stack.

    This compiles the access in a way that the state of the stack after executing the optional chain becomes ...rest, this, value. where ...rest is the rest of the stack, this is the this value of the chain, and value is the result of the chain.

    @@ -290,7 +290,7 @@
    Panic
    would only return the result of the chain without preserving the this value. In other words, this would be set to undefined for that call, which is incorrect since a should be the this value of the call.

    -
    source

    fn compile_optional_item_kind(&mut self, kind: &OptionalOperationKind)

    Compile a single operation in an optional chain.

    +
    source

    fn compile_optional_item_kind(&mut self, kind: &OptionalOperationKind)

    Compile a single operation in an optional chain.

    On successful compilation, the state of the stack on execution will become ...rest, this, value, where this is the target of the property access (undefined on calls), and value is the result of executing the action. @@ -307,15 +307,15 @@

    Requirements
  • This assumes that the state of the stack before compiling is ...rest, this, value, since the operation compiled by this function could be a call.
  • -
    source

    fn compile_var_decl(&mut self, decl: &VarDeclaration)

    Compile a [VarDeclaration].

    -
    source

    fn compile_lexical_decl(&mut self, decl: &LexicalDeclaration)

    Compile a [LexicalDeclaration].

    +
    source

    fn compile_var_decl(&mut self, decl: &VarDeclaration)

    Compile a VarDeclaration.

    +
    source

    fn compile_lexical_decl(&mut self, decl: &LexicalDeclaration)

    Compile a LexicalDeclaration.

    source

    fn compile_stmt_list_item( &mut self, - item: &StatementListItem, + item: &StatementListItem, use_expr: bool, block: bool -)

    Compile a [StatementListItem].

    -
    source

    pub fn compile_decl(&mut self, decl: &Declaration, block: bool)

    Compile a [Declaration].

    +)

    Compile a StatementListItem.

    +
    source

    pub fn compile_decl(&mut self, decl: &Declaration, block: bool)

    Compile a Declaration.

    source

    pub(crate) fn function(&mut self, function: FunctionSpec<'_>) -> u32

    Compiles a function AST Node into bytecode, and returns its index into the functions array.

    source

    pub(crate) fn function_with_binding( @@ -328,7 +328,7 @@

    Requirements
    source

    pub(crate) fn object_method(&mut self, function: FunctionSpec<'_>)

    Compile an object method AST Node into bytecode.

    source

    fn method(&mut self, function: FunctionSpec<'_>)

    Compile a class method AST Node into bytecode.

    source

    fn call(&mut self, callable: Callable<'_>, use_expr: bool)

    source

    pub fn finish(self) -> CodeBlock

    Finish compiling code with the ByteCompiler and return the generated CodeBlock.

    -
    source

    fn compile_declaration_pattern(&mut self, pattern: &Pattern, def: BindingOpcode)

    source

    fn class(&mut self, class: &Class, expression: bool)

    Trait Implementations§

    source§

    impl<'ctx> Debug for ByteCompiler<'ctx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'ctx> !RefUnwindSafe for ByteCompiler<'ctx>

    §

    impl<'ctx> !Send for ByteCompiler<'ctx>

    §

    impl<'ctx> !Sync for ByteCompiler<'ctx>

    §

    impl<'ctx> Unpin for ByteCompiler<'ctx>

    §

    impl<'ctx> !UnwindSafe for ByteCompiler<'ctx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +

    source

    fn compile_declaration_pattern(&mut self, pattern: &Pattern, def: BindingOpcode)

    source

    fn class(&mut self, class: &Class, expression: bool)

    Trait Implementations§

    source§

    impl<'ctx> Debug for ByteCompiler<'ctx>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'ctx> !RefUnwindSafe for ByteCompiler<'ctx>

    §

    impl<'ctx> !Send for ByteCompiler<'ctx>

    §

    impl<'ctx> !Sync for ByteCompiler<'ctx>

    §

    impl<'ctx> Unpin for ByteCompiler<'ctx>

    §

    impl<'ctx> !UnwindSafe for ByteCompiler<'ctx>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/bytecompiler/struct.FunctionSpec.html b/doc/boa_engine/bytecompiler/struct.FunctionSpec.html index 76a0b492981..46fa673ae19 100644 --- a/doc/boa_engine/bytecompiler/struct.FunctionSpec.html +++ b/doc/boa_engine/bytecompiler/struct.FunctionSpec.html @@ -1,11 +1,11 @@ FunctionSpec in boa_engine::bytecompiler - Rust
    pub(crate) struct FunctionSpec<'a> {
         pub(crate) kind: FunctionKind,
    -    pub(crate) name: Option<Identifier>,
    -    parameters: &'a FormalParameterList,
    -    body: &'a FunctionBody,
    +    pub(crate) name: Option<Identifier>,
    +    parameters: &'a FormalParameterList,
    +    body: &'a FunctionBody,
         has_binding_identifier: bool,
     }
    Expand description

    Describes the complete specification of a function node.

    -

    Fields§

    §kind: FunctionKind§name: Option<Identifier>§parameters: &'a FormalParameterList§body: &'a FunctionBody§has_binding_identifier: bool

    Trait Implementations§

    source§

    impl<'a> Clone for FunctionSpec<'a>

    source§

    fn clone(&self) -> FunctionSpec<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for FunctionSpec<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a ArrowFunction> for FunctionSpec<'a>

    source§

    fn from(function: &'a ArrowFunction) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncArrowFunction> for FunctionSpec<'a>

    source§

    fn from(function: &'a AsyncArrowFunction) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncFunction> for FunctionSpec<'a>

    source§

    fn from(function: &'a AsyncFunction) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncGenerator> for FunctionSpec<'a>

    source§

    fn from(function: &'a AsyncGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Function> for FunctionSpec<'a>

    source§

    fn from(function: &'a Function) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Generator> for FunctionSpec<'a>

    source§

    fn from(function: &'a Generator) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> PartialEq<FunctionSpec<'a>> for FunctionSpec<'a>

    source§

    fn eq(&self, other: &FunctionSpec<'a>) -> bool

    This method tests for self and other values to be equal, and is used +

    Fields§

    §kind: FunctionKind§name: Option<Identifier>§parameters: &'a FormalParameterList§body: &'a FunctionBody§has_binding_identifier: bool

    Trait Implementations§

    source§

    impl<'a> Clone for FunctionSpec<'a>

    source§

    fn clone(&self) -> FunctionSpec<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for FunctionSpec<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'a> From<&'a ArrowFunction> for FunctionSpec<'a>

    source§

    fn from(function: &'a ArrowFunction) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncArrowFunction> for FunctionSpec<'a>

    source§

    fn from(function: &'a AsyncArrowFunction) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncFunction> for FunctionSpec<'a>

    source§

    fn from(function: &'a AsyncFunction) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a AsyncGenerator> for FunctionSpec<'a>

    source§

    fn from(function: &'a AsyncGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Function> for FunctionSpec<'a>

    source§

    fn from(function: &'a Function) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> From<&'a Generator> for FunctionSpec<'a>

    source§

    fn from(function: &'a Generator) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> PartialEq<FunctionSpec<'a>> for FunctionSpec<'a>

    source§

    fn eq(&self, other: &FunctionSpec<'a>) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl<'a> Copy for FunctionSpec<'a>

    source§

    impl<'a> StructuralPartialEq for FunctionSpec<'a>

    Auto Trait Implementations§

    §

    impl<'a> RefUnwindSafe for FunctionSpec<'a>

    §

    impl<'a> Send for FunctionSpec<'a>

    §

    impl<'a> Sync for FunctionSpec<'a>

    §

    impl<'a> Unpin for FunctionSpec<'a>

    §

    impl<'a> UnwindSafe for FunctionSpec<'a>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/bytecompiler/trait.ToJsString.html b/doc/boa_engine/bytecompiler/trait.ToJsString.html index 9e66dd55cfd..db5f106b793 100644 --- a/doc/boa_engine/bytecompiler/trait.ToJsString.html +++ b/doc/boa_engine/bytecompiler/trait.ToJsString.html @@ -1,4 +1,4 @@ ToJsString in boa_engine::bytecompiler - Rust
    pub(crate) trait ToJsString {
         // Required method
         fn to_js_string(&self, interner: &Interner) -> JsString;
    -}

    Required Methods§

    source

    fn to_js_string(&self, interner: &Interner) -> JsString

    Implementations on Foreign Types§

    source§

    impl ToJsString for Identifier

    source§

    fn to_js_string(&self, interner: &Interner) -> JsString

    source§

    impl ToJsString for Sym

    source§

    fn to_js_string(&self, interner: &Interner) -> JsString

    Implementors§

    \ No newline at end of file +}

    Required Methods§

    source

    fn to_js_string(&self, interner: &Interner) -> JsString

    Implementations on Foreign Types§

    source§

    impl ToJsString for Identifier

    source§

    fn to_js_string(&self, interner: &Interner) -> JsString

    source§

    impl ToJsString for Sym

    source§

    fn to_js_string(&self, interner: &Interner) -> JsString

    Implementors§

    \ No newline at end of file diff --git a/doc/boa_engine/context/intrinsics/struct.IntrinsicObjects.html b/doc/boa_engine/context/intrinsics/struct.IntrinsicObjects.html index 554152d97e4..a8e58edd361 100644 --- a/doc/boa_engine/context/intrinsics/struct.IntrinsicObjects.html +++ b/doc/boa_engine/context/intrinsics/struct.IntrinsicObjects.html @@ -66,7 +66,7 @@

    source

    pub fn segments_prototype(&self) -> JsObject

    Gets the %SegmentsPrototype% intrinsic object.

    source

    pub fn temporal(&self) -> JsObject

    Gets the %Temporal% intrinsic object.

    source

    pub fn now(&self) -> JsObject

    Gets the %Temporal.Now% intrinsic object.

    -

    Trait Implementations§

    source§

    impl Debug for IntrinsicObjects

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for IntrinsicObjects

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for IntrinsicObjects

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IntrinsicObjects

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IntrinsicObjects

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for IntrinsicObjects

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for IntrinsicObjects

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for IntrinsicObjects

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IntrinsicObjects

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IntrinsicObjects

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for IntrinsicObjects

    §

    impl !Send for IntrinsicObjects

    §

    impl !Sync for IntrinsicObjects

    §

    impl Unpin for IntrinsicObjects

    §

    impl !UnwindSafe for IntrinsicObjects

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/context/intrinsics/struct.Intrinsics.html b/doc/boa_engine/context/intrinsics/struct.Intrinsics.html index d9690081c2e..e98039955ec 100644 --- a/doc/boa_engine/context/intrinsics/struct.Intrinsics.html +++ b/doc/boa_engine/context/intrinsics/struct.Intrinsics.html @@ -10,7 +10,7 @@

    §templates: ObjectTemplates

    Cached object templates.

    Implementations§

    source§

    impl Intrinsics

    source

    pub(crate) fn new(root_shape: &RootShape) -> Self

    source

    pub const fn objects(&self) -> &IntrinsicObjects

    Return the cached intrinsic objects.

    source

    pub const fn constructors(&self) -> &StandardConstructors

    Return the cached standard constructors.

    -
    source

    pub(crate) const fn templates(&self) -> &ObjectTemplates

    Trait Implementations§

    source§

    impl Debug for Intrinsics

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Intrinsics

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Intrinsics

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Intrinsics

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source

    pub(crate) const fn templates(&self) -> &ObjectTemplates

    Trait Implementations§

    source§

    impl Debug for Intrinsics

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Intrinsics

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Intrinsics

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Intrinsics

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Intrinsics

    §

    impl !Send for Intrinsics

    §

    impl !Sync for Intrinsics

    §

    impl Unpin for Intrinsics

    §

    impl !UnwindSafe for Intrinsics

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/context/intrinsics/struct.ObjectTemplates.html b/doc/boa_engine/context/intrinsics/struct.ObjectTemplates.html index 8e5a3b988ce..aaa3506dcdb 100644 --- a/doc/boa_engine/context/intrinsics/struct.ObjectTemplates.html +++ b/doc/boa_engine/context/intrinsics/struct.ObjectTemplates.html @@ -167,7 +167,7 @@
  • "resolve": (WRITABLE, ENUMERABLE, CONFIGURABLE)
  • "reject": (WRITABLE, ENUMERABLE, CONFIGURABLE)
  • -

    Trait Implementations§

    source§

    impl Debug for ObjectTemplates

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ObjectTemplates

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ObjectTemplates

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ObjectTemplates

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for ObjectTemplates

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ObjectTemplates

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ObjectTemplates

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ObjectTemplates

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for ObjectTemplates

    §

    impl !Send for ObjectTemplates

    §

    impl !Sync for ObjectTemplates

    §

    impl Unpin for ObjectTemplates

    §

    impl !UnwindSafe for ObjectTemplates

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/context/intrinsics/struct.StandardConstructor.html b/doc/boa_engine/context/intrinsics/struct.StandardConstructor.html index df45a5285bd..ee050626e7d 100644 --- a/doc/boa_engine/context/intrinsics/struct.StandardConstructor.html +++ b/doc/boa_engine/context/intrinsics/struct.StandardConstructor.html @@ -8,7 +8,7 @@

    This is the same as Object.prototype, Array.prototype, etc.

    source

    pub fn constructor(&self) -> JsObject

    Return the constructor object.

    This is the same as Object, Array, etc.

    -

    Trait Implementations§

    source§

    impl Clone for StandardConstructor

    source§

    fn clone(&self) -> StandardConstructor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StandardConstructor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for StandardConstructor

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for StandardConstructor

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for StandardConstructor

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for StandardConstructor

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for StandardConstructor

    source§

    fn clone(&self) -> StandardConstructor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for StandardConstructor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for StandardConstructor

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for StandardConstructor

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for StandardConstructor

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for StandardConstructor

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for StandardConstructor

    §

    impl !Send for StandardConstructor

    §

    impl !Sync for StandardConstructor

    §

    impl Unpin for StandardConstructor

    §

    impl !UnwindSafe for StandardConstructor

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/context/intrinsics/struct.StandardConstructors.html b/doc/boa_engine/context/intrinsics/struct.StandardConstructors.html index b4437e333fd..10762978c7e 100644 --- a/doc/boa_engine/context/intrinsics/struct.StandardConstructors.html +++ b/doc/boa_engine/context/intrinsics/struct.StandardConstructors.html @@ -354,7 +354,7 @@ -

    Trait Implementations§

    source§

    impl Debug for StandardConstructors

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for StandardConstructors

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for StandardConstructors

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for StandardConstructors

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for StandardConstructors

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for StandardConstructors

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for StandardConstructors

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for StandardConstructors

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for StandardConstructors

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for StandardConstructors

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for StandardConstructors

    §

    impl !Send for StandardConstructors

    §

    impl !Sync for StandardConstructors

    §

    impl Unpin for StandardConstructors

    §

    impl !UnwindSafe for StandardConstructors

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/context/struct.Context.html b/doc/boa_engine/context/struct.Context.html index 4419a58cc76..1cddd658c85 100644 --- a/doc/boa_engine/context/struct.Context.html +++ b/doc/boa_engine/context/struct.Context.html @@ -70,8 +70,8 @@
    Examples
    on the context or JobQueue::run_jobs on the provided queue to run them.

    source

    pub fn optimize_statement_list( &mut self, - statement_list: &mut StatementList -) -> OptimizerStatistics

    Applies optimizations to the [StatementList] inplace.

    + statement_list: &mut StatementList +) -> OptimizerStatistics

    Applies optimizations to the StatementList inplace.

    source

    pub fn register_global_property<K, V>( &mut self, key: K, diff --git a/doc/boa_engine/context/struct.ContextCleanupGuard.html b/doc/boa_engine/context/struct.ContextCleanupGuard.html index f71199426d5..8790f3a837f 100644 --- a/doc/boa_engine/context/struct.ContextCleanupGuard.html +++ b/doc/boa_engine/context/struct.ContextCleanupGuard.html @@ -19,8 +19,8 @@

    Examples
    on the context or JobQueue::run_jobs on the provided queue to run them.

    source

    pub fn optimize_statement_list( &mut self, - statement_list: &mut StatementList -) -> OptimizerStatistics

    Applies optimizations to the [StatementList] inplace.

    + statement_list: &mut StatementList +) -> OptimizerStatistics

    Applies optimizations to the StatementList inplace.

    source

    pub fn register_global_property<K, V>( &mut self, key: K, diff --git a/doc/boa_engine/environments/compile/struct.CompileTimeEnvironment.html b/doc/boa_engine/environments/compile/struct.CompileTimeEnvironment.html index 06f6e67126d..d24559a2e92 100644 --- a/doc/boa_engine/environments/compile/struct.CompileTimeEnvironment.html +++ b/doc/boa_engine/environments/compile/struct.CompileTimeEnvironment.html @@ -38,7 +38,7 @@ name: JsString ) -> Result<BindingLocator, BindingLocatorError>

    Return the binding locator for a set operation on an existing var binding.

    source

    pub(crate) fn outer(&self) -> Option<Rc<Self>>

    Gets the outer environment of this environment.

    -

    Trait Implementations§

    source§

    impl Debug for CompileTimeEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for CompileTimeEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CompileTimeEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for CompileTimeEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for CompileTimeEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CompileTimeEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for CompileTimeEnvironment

    §

    impl !Send for CompileTimeEnvironment

    §

    impl !Sync for CompileTimeEnvironment

    §

    impl Unpin for CompileTimeEnvironment

    §

    impl !UnwindSafe for CompileTimeEnvironment

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/enum.DeclarativeEnvironmentKind.html b/doc/boa_engine/environments/runtime/declarative/enum.DeclarativeEnvironmentKind.html index 8dbcd348b04..b5842727c33 100644 --- a/doc/boa_engine/environments/runtime/declarative/enum.DeclarativeEnvironmentKind.html +++ b/doc/boa_engine/environments/runtime/declarative/enum.DeclarativeEnvironmentKind.html @@ -32,7 +32,7 @@
    Panics

    source

    pub(crate) fn poisoned(&self) -> bool

    Returns true if this environment is poisoned.

    source

    pub(crate) fn with(&self) -> bool

    Returns true if this environment is inside a with environment.

    source

    pub(crate) fn poison(&self)

    Poisons this environment for future binding searches.

    -

    Trait Implementations§

    source§

    impl Debug for DeclarativeEnvironmentKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DeclarativeEnvironmentKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DeclarativeEnvironmentKind

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DeclarativeEnvironmentKind

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for DeclarativeEnvironmentKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DeclarativeEnvironmentKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DeclarativeEnvironmentKind

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DeclarativeEnvironmentKind

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for DeclarativeEnvironmentKind

    §

    impl !Send for DeclarativeEnvironmentKind

    §

    impl !Sync for DeclarativeEnvironmentKind

    §

    impl Unpin for DeclarativeEnvironmentKind

    §

    impl !UnwindSafe for DeclarativeEnvironmentKind

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/function/enum.ThisBindingStatus.html b/doc/boa_engine/environments/runtime/declarative/function/enum.ThisBindingStatus.html index 0d744df8dc6..e663e0055b2 100644 --- a/doc/boa_engine/environments/runtime/declarative/function/enum.ThisBindingStatus.html +++ b/doc/boa_engine/environments/runtime/declarative/function/enum.ThisBindingStatus.html @@ -6,7 +6,7 @@

    Variants§

    §

    Lexical

    Function doesn’t have a this binding. (arrow functions and async arrow functions)

    §

    Uninitialized

    Function has a this binding, but is uninitialized. (derived constructors)

    §

    Initialized(JsValue)

    Funciton has an initialized this binding. (base constructors and most callable objects)

    -

    Trait Implementations§

    source§

    impl Clone for ThisBindingStatus

    source§

    fn clone(&self) -> ThisBindingStatus

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ThisBindingStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ThisBindingStatus

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ThisBindingStatus

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for ThisBindingStatus

    source§

    fn clone(&self) -> ThisBindingStatus

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ThisBindingStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ThisBindingStatus

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ThisBindingStatus

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionEnvironment.html b/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionEnvironment.html index 2a20cbbf34d..f31681d2e4c 100644 --- a/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionEnvironment.html +++ b/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionEnvironment.html @@ -44,7 +44,7 @@
    Panics
    -

    Trait Implementations§

    source§

    impl Debug for FunctionEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for FunctionEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for FunctionEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for FunctionEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for FunctionEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for FunctionEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for FunctionEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for FunctionEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for FunctionEnvironment

    §

    impl !Send for FunctionEnvironment

    §

    impl !Sync for FunctionEnvironment

    §

    impl Unpin for FunctionEnvironment

    §

    impl !UnwindSafe for FunctionEnvironment

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionSlots.html b/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionSlots.html index 57b8a14e8d5..cedf1793694 100644 --- a/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionSlots.html +++ b/doc/boa_engine/environments/runtime/declarative/function/struct.FunctionSlots.html @@ -1,9 +1,9 @@ FunctionSlots in boa_engine::environments::runtime::declarative::function - Rust
    pub(crate) struct FunctionSlots {
    -    this: GcRefCell<ThisBindingStatus>,
    +    this: GcRefCell<ThisBindingStatus>,
         function_object: JsObject,
         new_target: Option<JsObject>,
     }
    Expand description

    Holds the internal slots of a function environment.

    -

    Fields§

    §this: GcRefCell<ThisBindingStatus>

    The [[ThisValue]] and [[ThisBindingStatus]] internal slots.

    +

    Fields§

    §this: GcRefCell<ThisBindingStatus>

    The [[ThisValue]] and [[ThisBindingStatus]] internal slots.

    §function_object: JsObject

    The [[FunctionObject]] internal slot.

    §new_target: Option<JsObject>

    The [[NewTarget]] internal slot.

    Implementations§

    source§

    impl FunctionSlots

    source

    pub(crate) fn new( @@ -13,7 +13,7 @@ ) -> Self

    Creates a new FunctionSluts.

    source

    pub(crate) const fn function_object(&self) -> &JsObject

    Returns the value of the [[FunctionObject]] internal slot.

    source

    pub(crate) const fn new_target(&self) -> Option<&JsObject>

    Returns the value of the [[NewTarget]] internal slot.

    -

    Trait Implementations§

    source§

    impl Clone for FunctionSlots

    source§

    fn clone(&self) -> FunctionSlots

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FunctionSlots

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for FunctionSlots

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for FunctionSlots

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for FunctionSlots

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for FunctionSlots

    source§

    fn clone(&self) -> FunctionSlots

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FunctionSlots

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for FunctionSlots

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for FunctionSlots

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for FunctionSlots

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for FunctionSlots

    §

    impl !Send for FunctionSlots

    §

    impl !Sync for FunctionSlots

    §

    impl Unpin for FunctionSlots

    §

    impl !UnwindSafe for FunctionSlots

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/global/struct.GlobalEnvironment.html b/doc/boa_engine/environments/runtime/declarative/global/struct.GlobalEnvironment.html index 3748bf58159..0de86368956 100644 --- a/doc/boa_engine/environments/runtime/declarative/global/struct.GlobalEnvironment.html +++ b/doc/boa_engine/environments/runtime/declarative/global/struct.GlobalEnvironment.html @@ -15,7 +15,7 @@
    Panics
    -

    Trait Implementations§

    source§

    impl Debug for GlobalEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for GlobalEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for GlobalEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for GlobalEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for GlobalEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for GlobalEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for GlobalEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for GlobalEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for GlobalEnvironment

    §

    impl !Send for GlobalEnvironment

    §

    impl !Sync for GlobalEnvironment

    §

    impl Unpin for GlobalEnvironment

    §

    impl !UnwindSafe for GlobalEnvironment

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/lexical/struct.LexicalEnvironment.html b/doc/boa_engine/environments/runtime/declarative/lexical/struct.LexicalEnvironment.html index 3f825296239..4726fee0d34 100644 --- a/doc/boa_engine/environments/runtime/declarative/lexical/struct.LexicalEnvironment.html +++ b/doc/boa_engine/environments/runtime/declarative/lexical/struct.LexicalEnvironment.html @@ -8,7 +8,7 @@
    Panics

    source

    pub(crate) fn set(&self, index: u32, value: JsValue)

    Sets the binding value from the environment by index.

    Panics

    Panics if the binding value is out of range.

    -

    Trait Implementations§

    source§

    impl Debug for LexicalEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for LexicalEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for LexicalEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for LexicalEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for LexicalEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for LexicalEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for LexicalEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for LexicalEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for LexicalEnvironment

    §

    impl !Send for LexicalEnvironment

    §

    impl !Sync for LexicalEnvironment

    §

    impl Unpin for LexicalEnvironment

    §

    impl !UnwindSafe for LexicalEnvironment

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/module/enum.BindingType.html b/doc/boa_engine/environments/runtime/declarative/module/enum.BindingType.html index 3bd82d1e527..ce10e2b4d07 100644 --- a/doc/boa_engine/environments/runtime/declarative/module/enum.BindingType.html +++ b/doc/boa_engine/environments/runtime/declarative/module/enum.BindingType.html @@ -2,7 +2,7 @@ Direct(Option<JsValue>), Indirect(IndirectBinding), }
    Expand description

    The type of binding a ModuleEnvironment can contain.

    -

    Variants§

    Trait Implementations§

    source§

    impl Clone for BindingType

    source§

    fn clone(&self) -> BindingType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for BindingType

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for BindingType

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for BindingType

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Variants§

    Trait Implementations§

    source§

    impl Clone for BindingType

    source§

    fn clone(&self) -> BindingType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for BindingType

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for BindingType

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for BindingType

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/module/struct.IndirectBinding.html b/doc/boa_engine/environments/runtime/declarative/module/struct.IndirectBinding.html index a10a35fb53d..24e5cae9974 100644 --- a/doc/boa_engine/environments/runtime/declarative/module/struct.IndirectBinding.html +++ b/doc/boa_engine/environments/runtime/declarative/module/struct.IndirectBinding.html @@ -2,7 +2,7 @@ module: Module, accessor: RefCell<BindingAccessor>, }
    Expand description

    An indirect reference to a binding inside an environment.

    -

    Fields§

    §module: Module§accessor: RefCell<BindingAccessor>

    Trait Implementations§

    source§

    impl Clone for IndirectBinding

    source§

    fn clone(&self) -> IndirectBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IndirectBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IndirectBinding

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IndirectBinding

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IndirectBinding

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Fields§

    §module: Module§accessor: RefCell<BindingAccessor>

    Trait Implementations§

    source§

    impl Clone for IndirectBinding

    source§

    fn clone(&self) -> IndirectBinding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IndirectBinding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IndirectBinding

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IndirectBinding

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IndirectBinding

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/module/struct.ModuleEnvironment.html b/doc/boa_engine/environments/runtime/declarative/module/struct.ModuleEnvironment.html index 3d8811d8f34..58bbb47047d 100644 --- a/doc/boa_engine/environments/runtime/declarative/module/struct.ModuleEnvironment.html +++ b/doc/boa_engine/environments/runtime/declarative/module/struct.ModuleEnvironment.html @@ -1,9 +1,9 @@ ModuleEnvironment in boa_engine::environments::runtime::declarative::module - Rust
    pub(crate) struct ModuleEnvironment {
    -    bindings: GcRefCell<Vec<BindingType>>,
    +    bindings: GcRefCell<Vec<BindingType>>,
     }
    Expand description

    A Module Environment Record.

    Module environments allow referencing bindings inside other environments, in addition to the usual declarative environment functionality.

    -

    Fields§

    §bindings: GcRefCell<Vec<BindingType>>

    Implementations§

    source§

    impl ModuleEnvironment

    source

    pub(crate) fn new(bindings: u32) -> Self

    Creates a new LexicalEnvironment.

    +

    Fields§

    §bindings: GcRefCell<Vec<BindingType>>

    Implementations§

    source§

    impl ModuleEnvironment

    source

    pub(crate) fn new(bindings: u32) -> Self

    Creates a new LexicalEnvironment.

    source

    pub(crate) fn get(&self, index: u32) -> Option<JsValue>

    Get the binding value from the environment by it’s index.

    Panics

    Panics if the binding value is out of range or not initialized.

    @@ -18,7 +18,7 @@
    Panics
    )

    Creates an indirect binding reference to another environment binding.

    Panics

    Panics if the binding value is out of range.

    -

    Trait Implementations§

    source§

    impl Debug for ModuleEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for ModuleEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/struct.DeclarativeEnvironment.html b/doc/boa_engine/environments/runtime/declarative/struct.DeclarativeEnvironment.html index 0d84ba7583c..18fb21403dc 100644 --- a/doc/boa_engine/environments/runtime/declarative/struct.DeclarativeEnvironment.html +++ b/doc/boa_engine/environments/runtime/declarative/struct.DeclarativeEnvironment.html @@ -46,7 +46,7 @@
    Panics

    source

    pub(crate) fn with(&self) -> bool

    Returns true if this environment is inside a with environment.

    source

    pub(crate) fn poison(&self)

    Poisons this environment for future binding searchs.

    source

    pub(crate) fn extend_from_compile(&self)

    Extends the environment with the bindings from the compile time environment.

    -

    Trait Implementations§

    source§

    impl Debug for DeclarativeEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DeclarativeEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DeclarativeEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DeclarativeEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for DeclarativeEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for DeclarativeEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DeclarativeEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DeclarativeEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/declarative/struct.PoisonableEnvironment.html b/doc/boa_engine/environments/runtime/declarative/struct.PoisonableEnvironment.html index 2b3de647675..c59036da34f 100644 --- a/doc/boa_engine/environments/runtime/declarative/struct.PoisonableEnvironment.html +++ b/doc/boa_engine/environments/runtime/declarative/struct.PoisonableEnvironment.html @@ -1,9 +1,9 @@ PoisonableEnvironment in boa_engine::environments::runtime::declarative - Rust
    pub(crate) struct PoisonableEnvironment {
    -    bindings: GcRefCell<Vec<Option<JsValue>>>,
    +    bindings: GcRefCell<Vec<Option<JsValue>>>,
         poisoned: Cell<bool>,
         with: Cell<bool>,
    -}

    Fields§

    §bindings: GcRefCell<Vec<Option<JsValue>>>§poisoned: Cell<bool>§with: Cell<bool>

    Implementations§

    source§

    impl PoisonableEnvironment

    source

    pub(crate) fn new(bindings_count: u32, poisoned: bool, with: bool) -> Self

    Creates a new PoisonableEnvironment.

    -
    source

    pub(crate) const fn bindings(&self) -> &GcRefCell<Vec<Option<JsValue>>>

    Gets the bindings of this poisonable environment.

    +}

    Fields§

    §bindings: GcRefCell<Vec<Option<JsValue>>>§poisoned: Cell<bool>§with: Cell<bool>

    Implementations§

    source§

    impl PoisonableEnvironment

    source

    pub(crate) fn new(bindings_count: u32, poisoned: bool, with: bool) -> Self

    Creates a new PoisonableEnvironment.

    +
    source

    pub(crate) const fn bindings(&self) -> &GcRefCell<Vec<Option<JsValue>>>

    Gets the bindings of this poisonable environment.

    source

    fn get(&self, index: u32) -> Option<JsValue>

    Gets the binding value from the environment by it’s index.

    Panics

    Panics if the binding value is out of range.

    @@ -13,7 +13,7 @@
    Panics
    source

    fn poisoned(&self) -> bool

    Returns true if this environment is poisoned.

    source

    fn with(&self) -> bool

    Returns true if this environment is inside a with environment.

    source

    fn poison(&self)

    Poisons this environment for future binding searches.

    -

    Trait Implementations§

    source§

    impl Debug for PoisonableEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for PoisonableEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PoisonableEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PoisonableEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for PoisonableEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for PoisonableEnvironment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PoisonableEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PoisonableEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/enum.Environment.html b/doc/boa_engine/environments/runtime/enum.Environment.html index ea2795f8b2c..b5b5bfc64b8 100644 --- a/doc/boa_engine/environments/runtime/enum.Environment.html +++ b/doc/boa_engine/environments/runtime/enum.Environment.html @@ -1,10 +1,10 @@ Environment in boa_engine::environments::runtime - Rust
    pub(crate) enum Environment {
    -    Declarative(Gc<DeclarativeEnvironment>),
    +    Declarative(Gc<DeclarativeEnvironment>),
         Object(JsObject),
     }
    Expand description

    A runtime environment.

    -

    Variants§

    §

    Declarative(Gc<DeclarativeEnvironment>)

    §

    Object(JsObject)

    Implementations§

    source§

    impl Environment

    source

    pub(crate) const fn as_declarative(&self) -> Option<&Gc<DeclarativeEnvironment>>

    Returns the declarative environment if it is one.

    -
    source

    pub(crate) fn declarative_expect(&self) -> &Gc<DeclarativeEnvironment>

    Returns the declarative environment and panic if it is not one.

    -

    Trait Implementations§

    source§

    impl Clone for Environment

    source§

    fn clone(&self) -> Environment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Environment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Environment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Environment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Environment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Variants§

    Implementations§

    source§

    impl Environment

    source

    pub(crate) const fn as_declarative(&self) -> Option<&Gc<DeclarativeEnvironment>>

    Returns the declarative environment if it is one.

    +
    source

    pub(crate) fn declarative_expect(&self) -> &Gc<DeclarativeEnvironment>

    Returns the declarative environment and panic if it is not one.

    +

    Trait Implementations§

    source§

    impl Clone for Environment

    source§

    fn clone(&self) -> Environment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Environment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Environment

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Environment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Environment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/private/struct.PrivateEnvironment.html b/doc/boa_engine/environments/runtime/private/struct.PrivateEnvironment.html index 3d608f5a75f..ec316ecfe2f 100644 --- a/doc/boa_engine/environments/runtime/private/struct.PrivateEnvironment.html +++ b/doc/boa_engine/environments/runtime/private/struct.PrivateEnvironment.html @@ -7,7 +7,7 @@

    Implementations§

    source§

    impl PrivateEnvironment

    source

    pub(crate) fn new(id: usize, descriptions: Vec<JsString>) -> Self

    Creates a new PrivateEnvironment.

    source

    pub(crate) const fn id(&self) -> usize

    Gets the id of this private environment.

    source

    pub(crate) fn descriptions(&self) -> &[JsString]

    Gets the descriptions of this private environment.

    -

    Trait Implementations§

    source§

    impl Clone for PrivateEnvironment

    source§

    fn clone(&self) -> PrivateEnvironment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PrivateEnvironment

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PrivateEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for PrivateEnvironment

    source§

    fn clone(&self) -> PrivateEnvironment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateEnvironment

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PrivateEnvironment

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PrivateEnvironment

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/environments/runtime/struct.BindingLocator.html b/doc/boa_engine/environments/runtime/struct.BindingLocator.html index 84eab4f6507..e34aeef0662 100644 --- a/doc/boa_engine/environments/runtime/struct.BindingLocator.html +++ b/doc/boa_engine/environments/runtime/struct.BindingLocator.html @@ -15,7 +15,7 @@

    source

    pub(crate) const fn is_global(&self) -> bool

    Returns if the binding is located on the global object.

    source

    pub(crate) const fn environment_index(&self) -> u32

    Returns the environment index of the binding.

    source

    pub(crate) const fn binding_index(&self) -> u32

    Returns the binding index of the binding.

    -

    Trait Implementations§

    source§

    impl Clone for BindingLocator

    source§

    fn clone(&self) -> BindingLocator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingLocator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for BindingLocator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for BindingLocator

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl Clone for BindingLocator

    source§

    fn clone(&self) -> BindingLocator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingLocator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for BindingLocator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for BindingLocator

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<BindingLocator> for BindingLocator

    source§

    fn eq(&self, other: &BindingLocator) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/environments/runtime/struct.EnvironmentStack.html b/doc/boa_engine/environments/runtime/struct.EnvironmentStack.html index fa7d15aad6d..86c82d0dd9a 100644 --- a/doc/boa_engine/environments/runtime/struct.EnvironmentStack.html +++ b/doc/boa_engine/environments/runtime/struct.EnvironmentStack.html @@ -1,13 +1,13 @@ EnvironmentStack in boa_engine::environments::runtime - Rust
    pub(crate) struct EnvironmentStack {
         stack: Vec<Environment>,
    -    private_stack: Vec<Gc<PrivateEnvironment>>,
    +    private_stack: Vec<Gc<PrivateEnvironment>>,
     }
    Expand description

    The environment stack holds all environments at runtime.

    Environments themselves are garbage collected, because they must be preserved for function calls.

    -

    Fields§

    §stack: Vec<Environment>§private_stack: Vec<Gc<PrivateEnvironment>>

    Implementations§

    source§

    impl EnvironmentStack

    source

    pub(crate) fn new(global: Gc<DeclarativeEnvironment>) -> Self

    Create a new environment stack.

    -
    source

    pub(crate) fn replace_global(&mut self, global: Gc<DeclarativeEnvironment>)

    Replaces the current global with a new global environment.

    -
    source

    pub(crate) fn global(&self) -> Gc<DeclarativeEnvironment>

    Gets the current global environment.

    -
    source

    pub(crate) fn outer_function_environment(&self) -> Gc<DeclarativeEnvironment>

    Gets the next outer function environment.

    +

    Fields§

    §stack: Vec<Environment>§private_stack: Vec<Gc<PrivateEnvironment>>

    Implementations§

    source§

    impl EnvironmentStack

    source

    pub(crate) fn new(global: Gc<DeclarativeEnvironment>) -> Self

    Create a new environment stack.

    +
    source

    pub(crate) fn replace_global(&mut self, global: Gc<DeclarativeEnvironment>)

    Replaces the current global with a new global environment.

    +
    source

    pub(crate) fn global(&self) -> Gc<DeclarativeEnvironment>

    Gets the current global environment.

    +
    source

    pub(crate) fn outer_function_environment(&self) -> Gc<DeclarativeEnvironment>

    Gets the next outer function environment.

    source

    pub(crate) fn pop_to_global(&mut self) -> Vec<Environment>

    Pop all current environments except the global environment.

    source

    pub(crate) fn len(&self) -> usize

    Get the number of current environments.

    source

    pub(crate) fn truncate(&mut self, len: usize)

    Truncate current environments to the given number.

    @@ -71,7 +71,7 @@
    Panics
    )

    Set the value of a binding if it is uninitialized.

    Panics

    Panics if the environment or binding index are out of range.

    -
    source

    pub(crate) fn push_private(&mut self, environment: Gc<PrivateEnvironment>)

    Push a private environment to the private environment stack.

    +
    source

    pub(crate) fn push_private(&mut self, environment: Gc<PrivateEnvironment>)

    Push a private environment to the private environment stack.

    source

    pub(crate) fn pop_private(&mut self)

    Pop a private environment from the private environment stack.

    source

    pub(crate) fn resolve_private_identifier( &self, @@ -82,7 +82,7 @@

    Panics
  • ECMAScript specification
  • source

    pub(crate) fn private_name_descriptions(&self) -> Vec<&JsString>

    Return all private name descriptions in all private environments.

    -

    Trait Implementations§

    source§

    impl Clone for EnvironmentStack

    source§

    fn clone(&self) -> EnvironmentStack

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for EnvironmentStack

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for EnvironmentStack

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for EnvironmentStack

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for EnvironmentStack

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for EnvironmentStack

    source§

    fn clone(&self) -> EnvironmentStack

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for EnvironmentStack

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for EnvironmentStack

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for EnvironmentStack

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for EnvironmentStack

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for EnvironmentStack

    §

    impl !Send for EnvironmentStack

    §

    impl !Sync for EnvironmentStack

    §

    impl Unpin for EnvironmentStack

    §

    impl !UnwindSafe for EnvironmentStack

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/error/enum.ErasedRepr.html b/doc/boa_engine/error/enum.ErasedRepr.html index cb47b64c73f..f1892f532ad 100644 --- a/doc/boa_engine/error/enum.ErasedRepr.html +++ b/doc/boa_engine/error/enum.ErasedRepr.html @@ -1,7 +1,7 @@ ErasedRepr in boa_engine::error - Rust
    enum ErasedRepr {
         Native(JsErasedNativeError),
         Opaque(Box<str>),
    -}

    Variants§

    Trait Implementations§

    source§

    impl Clone for ErasedRepr

    source§

    fn clone(&self) -> ErasedRepr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ErasedRepr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ErasedRepr

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ErasedRepr

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ErasedRepr> for ErasedRepr

    source§

    fn eq(&self, other: &ErasedRepr) -> bool

    This method tests for self and other values to be equal, and is used +}

    Variants§

    Trait Implementations§

    source§

    impl Clone for ErasedRepr

    source§

    fn clone(&self) -> ErasedRepr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ErasedRepr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ErasedRepr

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ErasedRepr

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ErasedRepr> for ErasedRepr

    source§

    fn eq(&self, other: &ErasedRepr) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for ErasedRepr

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for ErasedRepr

    source§

    impl StructuralEq for ErasedRepr

    source§

    impl StructuralPartialEq for ErasedRepr

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/error/enum.JsErasedNativeErrorKind.html b/doc/boa_engine/error/enum.JsErasedNativeErrorKind.html index 27a98aebf2b..b3a989df18e 100644 --- a/doc/boa_engine/error/enum.JsErasedNativeErrorKind.html +++ b/doc/boa_engine/error/enum.JsErasedNativeErrorKind.html @@ -59,7 +59,7 @@
  • MDN documentation
  • §

    RuntimeLimit

    Error thrown when a runtime limit is exceeded. It’s not a valid JS error variant.

    -

    Trait Implementations§

    source§

    impl Clone for JsErasedNativeErrorKind

    source§

    fn clone(&self) -> JsErasedNativeErrorKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsErasedNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsErasedNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsErasedNativeErrorKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsErasedNativeErrorKind

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<JsErasedNativeErrorKind> for JsErasedNativeErrorKind

    source§

    fn eq(&self, other: &JsErasedNativeErrorKind) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsErasedNativeErrorKind

    source§

    fn clone(&self) -> JsErasedNativeErrorKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsErasedNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsErasedNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsErasedNativeErrorKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsErasedNativeErrorKind

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<JsErasedNativeErrorKind> for JsErasedNativeErrorKind

    source§

    fn eq(&self, other: &JsErasedNativeErrorKind) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsErasedNativeErrorKind

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for JsErasedNativeErrorKind

    source§

    impl StructuralEq for JsErasedNativeErrorKind

    source§

    impl StructuralPartialEq for JsErasedNativeErrorKind

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/error/enum.JsNativeErrorKind.html b/doc/boa_engine/error/enum.JsNativeErrorKind.html index a416c7e8575..4f579f988fc 100644 --- a/doc/boa_engine/error/enum.JsNativeErrorKind.html +++ b/doc/boa_engine/error/enum.JsNativeErrorKind.html @@ -68,7 +68,7 @@ error variant.

    §

    RuntimeLimit

    Error thrown when a runtime limit is exceeded. It’s not a valid JS error variant.

    Implementations§

    source§

    impl JsNativeErrorKind

    source

    pub(crate) fn is_catchable(&self) -> bool

    Is the JsNativeErrorKind catchable in JavaScript.

    -

    Trait Implementations§

    source§

    impl Clone for JsNativeErrorKind

    source§

    fn clone(&self) -> JsNativeErrorKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for JsNativeErrorKind

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ErrorObject> for JsNativeErrorKind

    source§

    fn eq(&self, other: &ErrorObject) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsNativeErrorKind

    source§

    fn clone(&self) -> JsNativeErrorKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeErrorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for JsNativeErrorKind

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<ErrorObject> for JsNativeErrorKind

    source§

    fn eq(&self, other: &ErrorObject) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialEq<JsNativeErrorKind> for JsNativeErrorKind

    source§

    fn eq(&self, other: &JsNativeErrorKind) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/error/enum.Repr.html b/doc/boa_engine/error/enum.Repr.html index bccc3a1e38f..7d1ebd4d181 100644 --- a/doc/boa_engine/error/enum.Repr.html +++ b/doc/boa_engine/error/enum.Repr.html @@ -9,7 +9,7 @@

    This should never be used outside of this module. If that’s not the case, you should add methods to either JsError or JsNativeError to represent that special use case.

    -

    Variants§

    §

    Native(JsNativeError)

    §

    Opaque(JsValue)

    Trait Implementations§

    source§

    impl Clone for Repr

    source§

    fn clone(&self) -> Repr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Repr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Repr

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<Repr> for Repr

    source§

    fn eq(&self, other: &Repr) -> bool

    This method tests for self and other values to be equal, and is used +

    Variants§

    §

    Native(JsNativeError)

    §

    Opaque(JsValue)

    Trait Implementations§

    source§

    impl Clone for Repr

    source§

    fn clone(&self) -> Repr

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Repr

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for Repr

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<Repr> for Repr

    source§

    fn eq(&self, other: &Repr) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for Repr

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for Repr

    source§

    impl StructuralEq for Repr

    source§

    impl StructuralPartialEq for Repr

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Repr

    §

    impl !Send for Repr

    §

    impl !Sync for Repr

    §

    impl Unpin for Repr

    §

    impl !UnwindSafe for Repr

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/error/struct.JsErasedError.html b/doc/boa_engine/error/struct.JsErasedError.html index 81bc9d887c3..4863d86e548 100644 --- a/doc/boa_engine/error/struct.JsErasedError.html +++ b/doc/boa_engine/error/struct.JsErasedError.html @@ -11,7 +11,7 @@ or None otherwise.

    source

    pub const fn as_native(&self) -> Option<&JsErasedNativeError>

    Gets the inner JsErasedNativeError if the error is a native error, or None otherwise.

    -

    Trait Implementations§

    source§

    impl Clone for JsErasedError

    source§

    fn clone(&self) -> JsErasedError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsErasedError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsErasedError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsErasedError

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Error for JsErasedError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsErasedError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<JsErasedError> for JsErasedError

    source§

    fn eq(&self, other: &JsErasedError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsErasedError

    source§

    fn clone(&self) -> JsErasedError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsErasedError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsErasedError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsErasedError

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Error for JsErasedError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsErasedError

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<JsErasedError> for JsErasedError

    source§

    fn eq(&self, other: &JsErasedError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsErasedError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for JsErasedError

    source§

    impl StructuralEq for JsErasedError

    source§

    impl StructuralPartialEq for JsErasedError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/error/struct.JsErasedNativeError.html b/doc/boa_engine/error/struct.JsErasedNativeError.html index bea375188bb..b21cebd10e7 100644 --- a/doc/boa_engine/error/struct.JsErasedNativeError.html +++ b/doc/boa_engine/error/struct.JsErasedNativeError.html @@ -4,7 +4,7 @@ cause: Option<Box<JsErasedError>>, }
    Expand description

    Erased version of JsNativeError.

    Fields§

    §kind: JsErasedNativeErrorKind

    The kind of native error (e.g. TypeError, SyntaxError, etc.)

    -
    §message: Box<str>§cause: Option<Box<JsErasedError>>

    Trait Implementations§

    source§

    impl Clone for JsErasedNativeError

    source§

    fn clone(&self) -> JsErasedNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsErasedNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsErasedNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsErasedNativeError

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Error for JsErasedNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsErasedNativeError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<JsErasedNativeError> for JsErasedNativeError

    source§

    fn eq(&self, other: &JsErasedNativeError) -> bool

    This method tests for self and other values to be equal, and is used +
    §message: Box<str>§cause: Option<Box<JsErasedError>>

    Trait Implementations§

    source§

    impl Clone for JsErasedNativeError

    source§

    fn clone(&self) -> JsErasedNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsErasedNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsErasedNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsErasedNativeError

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Error for JsErasedNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsErasedNativeError

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<JsErasedNativeError> for JsErasedNativeError

    source§

    fn eq(&self, other: &JsErasedNativeError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsErasedNativeError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for JsErasedNativeError

    source§

    impl StructuralEq for JsErasedNativeError

    source§

    impl StructuralPartialEq for JsErasedNativeError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/error/struct.JsError.html b/doc/boa_engine/error/struct.JsError.html index 88be554fe8f..e4129fa5949 100644 --- a/doc/boa_engine/error/struct.JsError.html +++ b/doc/boa_engine/error/struct.JsError.html @@ -128,7 +128,7 @@
    Examples

    This is a no-op if the error is not native or if the realm field of the error is already set.

    source

    pub(crate) fn is_catchable(&self) -> bool

    Is the JsError catchable in JavaScript.

    -

    Trait Implementations§

    source§

    impl Clone for JsError

    source§

    fn clone(&self) -> JsError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TemporalError> for JsError

    source§

    fn from(value: TemporalError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsError> for JsError

    source§

    fn eq(&self, other: &JsError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsError

    source§

    fn clone(&self) -> JsError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsError

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TemporalError> for JsError

    source§

    fn from(value: TemporalError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsError> for JsError

    source§

    fn eq(&self, other: &JsError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for JsError

    source§

    impl StructuralEq for JsError

    source§

    impl StructuralPartialEq for JsError

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsError

    §

    impl !Send for JsError

    §

    impl !Sync for JsError

    §

    impl Unpin for JsError

    §

    impl !UnwindSafe for JsError

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/error/struct.JsNativeError.html b/doc/boa_engine/error/struct.JsNativeError.html index 925b2f5a4ae..3a258679531 100644 --- a/doc/boa_engine/error/struct.JsNativeError.html +++ b/doc/boa_engine/error/struct.JsNativeError.html @@ -129,7 +129,7 @@
    Panics

    If converting a JsNativeErrorKind::RuntimeLimit to an opaque object.

    source

    pub(crate) fn with_realm(self, realm: Realm) -> Self

    Sets the realm of this error.

    source

    pub(crate) fn is_catchable(&self) -> bool

    Is the JsNativeError catchable in JavaScript.

    -

    Trait Implementations§

    source§

    impl Clone for JsNativeError

    source§

    fn clone(&self) -> JsNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsNativeError

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsNativeError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TemporalError> for JsNativeError

    source§

    fn from(value: TemporalError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsNativeError> for JsNativeError

    source§

    fn eq(&self, other: &JsNativeError) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for JsNativeError

    source§

    fn clone(&self) -> JsNativeError

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsNativeError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for JsNativeError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl Finalize for JsNativeError

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Error> for JsNativeError

    source§

    fn from(err: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsNativeError> for JsError

    source§

    fn from(error: JsNativeError) -> Self

    Converts to this type from the input type.
    source§

    impl From<TemporalError> for JsNativeError

    source§

    fn from(value: TemporalError) -> Self

    Converts to this type from the input type.
    source§

    impl PartialEq<JsNativeError> for JsNativeError

    source§

    fn eq(&self, other: &JsNativeError) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for JsNativeError

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for JsNativeError

    source§

    impl StructuralEq for JsNativeError

    source§

    impl StructuralPartialEq for JsNativeError

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/host_defined/struct.HostDefined.html b/doc/boa_engine/host_defined/struct.HostDefined.html index 9479d17c0b2..926bab10528 100644 --- a/doc/boa_engine/host_defined/struct.HostDefined.html +++ b/doc/boa_engine/host_defined/struct.HostDefined.html @@ -14,7 +14,7 @@ ) -> Option<T::NativeTupleMutRef<'_>>where T: NativeTuple<SIZE>,

    Get type a tuple of types from HostDefined, if they exist.

    source

    pub fn clear(&mut self)

    Clears all the objects.

    -

    Trait Implementations§

    source§

    impl Default for HostDefined

    source§

    fn default() -> HostDefined

    Returns the “default value” for a type. Read more
    source§

    impl Drop for HostDefined

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for HostDefined

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for HostDefined

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Default for HostDefined

    source§

    fn default() -> HostDefined

    Returns the “default value” for a type. Read more
    source§

    impl Drop for HostDefined

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for HostDefined

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for HostDefined

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/job/struct.JobCallback.html b/doc/boa_engine/job/struct.JobCallback.html index fbc6a93fa6a..5fbf2da3904 100644 --- a/doc/boa_engine/job/struct.JobCallback.html +++ b/doc/boa_engine/job/struct.JobCallback.html @@ -6,7 +6,7 @@

    source

    pub const fn callback(&self) -> &JsFunction

    Gets the inner callback of the job.

    source

    pub fn host_defined(&self) -> &dyn NativeObject

    Gets a reference to the host defined additional field as an NativeObject trait object.

    source

    pub fn host_defined_mut(&mut self) -> &mut dyn NativeObject

    Gets a mutable reference to the host defined additional field as an NativeObject trait object.

    -

    Trait Implementations§

    source§

    impl Debug for JobCallback

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JobCallback

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JobCallback

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for JobCallback

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for JobCallback

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JobCallback

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JobCallback

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for JobCallback

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JobCallback

    §

    impl !Send for JobCallback

    §

    impl !Sync for JobCallback

    §

    impl Unpin for JobCallback

    §

    impl !UnwindSafe for JobCallback

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/enum.ModuleKind.html b/doc/boa_engine/module/enum.ModuleKind.html index 0f780289314..08e09334cb1 100644 --- a/doc/boa_engine/module/enum.ModuleKind.html +++ b/doc/boa_engine/module/enum.ModuleKind.html @@ -4,7 +4,7 @@ }
    Expand description

    The kind of a Module.

    Variants§

    Trait Implementations§

    source§

    impl Debug for ModuleKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleKind

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleKind

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for ModuleKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleKind

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleKind

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/loader/struct.SimpleModuleLoader.html b/doc/boa_engine/module/loader/struct.SimpleModuleLoader.html index f3a6724828d..fe76436a999 100644 --- a/doc/boa_engine/module/loader/struct.SimpleModuleLoader.html +++ b/doc/boa_engine/module/loader/struct.SimpleModuleLoader.html @@ -1,12 +1,12 @@ SimpleModuleLoader in boa_engine::module::loader - Rust
    pub struct SimpleModuleLoader {
         root: PathBuf,
    -    module_map: GcRefCell<FxHashMap<PathBuf, Module>>,
    +    module_map: GcRefCell<FxHashMap<PathBuf, Module>>,
     }
    Expand description

    A simple module loader that loads modules relative to a root path.

    Note

    This loader only works by using the type methods SimpleModuleLoader::insert and SimpleModuleLoader::get. The utility methods on ModuleLoader don’t work at the moment, but we’ll unify both APIs in the future.

    -

    Fields§

    §root: PathBuf§module_map: GcRefCell<FxHashMap<PathBuf, Module>>

    Implementations§

    source§

    impl SimpleModuleLoader

    source

    pub fn new<P: AsRef<Path>>(root: P) -> JsResult<Self>

    Creates a new SimpleModuleLoader from a root module path.

    +

    Fields§

    §root: PathBuf§module_map: GcRefCell<FxHashMap<PathBuf, Module>>

    Implementations§

    source§

    impl SimpleModuleLoader

    source

    pub fn new<P: AsRef<Path>>(root: P) -> JsResult<Self>

    Creates a new SimpleModuleLoader from a root module path.

    source

    pub fn insert(&self, path: PathBuf, module: Module)

    Inserts a new module onto the module map.

    source

    pub fn get(&self, path: &Path) -> Option<Module>

    Gets a module from its original path.

    Trait Implementations§

    source§

    impl Debug for SimpleModuleLoader

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl ModuleLoader for SimpleModuleLoader

    source§

    fn load_imported_module( diff --git a/doc/boa_engine/module/namespace/struct.ModuleNamespace.html b/doc/boa_engine/module/namespace/struct.ModuleNamespace.html index 6ab5672f7c0..ef94ceecf86 100644 --- a/doc/boa_engine/module/namespace/struct.ModuleNamespace.html +++ b/doc/boa_engine/module/namespace/struct.ModuleNamespace.html @@ -12,7 +12,7 @@ &self ) -> &IndexSet<JsString, BuildHasherDefault<FxHasher>>

    Gets the export names of the Module Namespace object.

    source

    pub(crate) const fn module(&self) -> &Module

    Gest the module associated with this Module Namespace object.

    -

    Trait Implementations§

    source§

    impl Debug for ModuleNamespace

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleNamespace

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleNamespace

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleNamespace

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for ModuleNamespace

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleNamespace

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleNamespace

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleNamespace

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for ModuleNamespace

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/source/enum.Status.html b/doc/boa_engine/module/source/enum.Status.html index 219b771dd13..5a39701a0d9 100644 --- a/doc/boa_engine/module/source/enum.Status.html +++ b/doc/boa_engine/module/source/enum.Status.html @@ -44,7 +44,7 @@

    source

    fn transition<F>(&mut self, f: F)where F: FnOnce(Self) -> Self,

    Transition from one state to another, taking the current state by value to move data between states.

    -

    Trait Implementations§

    source§

    impl Debug for Status

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Status

    source§

    fn default() -> Status

    Returns the “default value” for a type. Read more
    source§

    impl Finalize for Status

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Status

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for Status

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Status

    source§

    fn default() -> Status

    Returns the “default value” for a type. Read more
    source§

    impl Finalize for Status

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Status

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Status

    §

    impl !Send for Status

    §

    impl !Sync for Status

    §

    impl Unpin for Status

    §

    impl !UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/source/struct.DfsInfo.html b/doc/boa_engine/module/source/struct.DfsInfo.html index 62f4c593cb9..b7879294515 100644 --- a/doc/boa_engine/module/source/struct.DfsInfo.html +++ b/doc/boa_engine/module/source/struct.DfsInfo.html @@ -3,7 +3,7 @@ dfs_ancestor_index: usize, }
    Expand description

    Information for the [Depth-first search] algorithm used in the Module::link and Module::evaluate methods.

    -

    Fields§

    §dfs_index: usize§dfs_ancestor_index: usize

    Trait Implementations§

    source§

    impl Clone for DfsInfo

    source§

    fn clone(&self) -> DfsInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DfsInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for DfsInfo

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DfsInfo

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Fields§

    §dfs_index: usize§dfs_ancestor_index: usize

    Trait Implementations§

    source§

    impl Clone for DfsInfo

    source§

    fn clone(&self) -> DfsInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DfsInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for DfsInfo

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DfsInfo

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Copy for DfsInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/source/struct.Inner.html b/doc/boa_engine/module/source/struct.Inner.html index 6759ffc39b5..92510fddb63 100644 --- a/doc/boa_engine/module/source/struct.Inner.html +++ b/doc/boa_engine/module/source/struct.Inner.html @@ -1,11 +1,11 @@ Inner in boa_engine::module::source - Rust

    Struct boa_engine::module::source::Inner

    source ·
    struct Inner {
    -    parent: WeakGc<ModuleRepr>,
    -    status: GcRefCell<Status>,
    -    loaded_modules: GcRefCell<FxHashMap<JsString, Module>>,
    -    async_parent_modules: GcRefCell<Vec<SourceTextModule>>,
    -    import_meta: GcRefCell<Option<JsObject>>,
    +    parent: WeakGc<ModuleRepr>,
    +    status: GcRefCell<Status>,
    +    loaded_modules: GcRefCell<FxHashMap<JsString, Module>>,
    +    async_parent_modules: GcRefCell<Vec<SourceTextModule>>,
    +    import_meta: GcRefCell<Option<JsObject>>,
         code: ModuleCode,
    -}

    Fields§

    §parent: WeakGc<ModuleRepr>§status: GcRefCell<Status>§loaded_modules: GcRefCell<FxHashMap<JsString, Module>>§async_parent_modules: GcRefCell<Vec<SourceTextModule>>§import_meta: GcRefCell<Option<JsObject>>§code: ModuleCode

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +}

    Fields§

    §parent: WeakGc<ModuleRepr>§status: GcRefCell<Status>§loaded_modules: GcRefCell<FxHashMap<JsString, Module>>§async_parent_modules: GcRefCell<Vec<SourceTextModule>>§import_meta: GcRefCell<Option<JsObject>>§code: ModuleCode

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/source/struct.ModuleCode.html b/doc/boa_engine/module/source/struct.ModuleCode.html index 5adb13d6f7d..669cf70de92 100644 --- a/doc/boa_engine/module/source/struct.ModuleCode.html +++ b/doc/boa_engine/module/source/struct.ModuleCode.html @@ -1,12 +1,12 @@ ModuleCode in boa_engine::module::source - Rust
    struct ModuleCode {
         has_tla: bool,
         requested_modules: IndexSet<JsString, BuildHasherDefault<FxHasher>>,
    -    source: Module,
    -    import_entries: Vec<ImportEntry>,
    -    local_export_entries: Vec<LocalExportEntry>,
    -    indirect_export_entries: Vec<IndirectExportEntry>,
    +    source: Module,
    +    import_entries: Vec<ImportEntry>,
    +    local_export_entries: Vec<LocalExportEntry>,
    +    indirect_export_entries: Vec<IndirectExportEntry>,
         star_export_entries: Vec<JsString>,
    -}

    Fields§

    §has_tla: bool§requested_modules: IndexSet<JsString, BuildHasherDefault<FxHasher>>§source: Module§import_entries: Vec<ImportEntry>§local_export_entries: Vec<LocalExportEntry>§indirect_export_entries: Vec<IndirectExportEntry>§star_export_entries: Vec<JsString>

    Trait Implementations§

    source§

    impl Debug for ModuleCode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +}

    Fields§

    §has_tla: bool§requested_modules: IndexSet<JsString, BuildHasherDefault<FxHasher>>§source: Module§import_entries: Vec<ImportEntry>§local_export_entries: Vec<LocalExportEntry>§indirect_export_entries: Vec<IndirectExportEntry>§star_export_entries: Vec<JsString>

    Trait Implementations§

    source§

    impl Debug for ModuleCode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/module/source/struct.SourceTextContext.html b/doc/boa_engine/module/source/struct.SourceTextContext.html index b7af2330e90..67aa99e9ad0 100644 --- a/doc/boa_engine/module/source/struct.SourceTextContext.html +++ b/doc/boa_engine/module/source/struct.SourceTextContext.html @@ -1,11 +1,11 @@ SourceTextContext in boa_engine::module::source - Rust
    struct SourceTextContext {
    -    codeblock: Gc<CodeBlock>,
    +    codeblock: Gc<CodeBlock>,
         environments: EnvironmentStack,
         realm: Realm,
     }
    Expand description

    The execution context of a SourceTextModule.

    Stores the required context data that needs to be in place before executing the inner code of the module.

    -

    Fields§

    §codeblock: Gc<CodeBlock>§environments: EnvironmentStack§realm: Realm

    Trait Implementations§

    source§

    impl Clone for SourceTextContext

    source§

    fn clone(&self) -> SourceTextContext

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SourceTextContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for SourceTextContext

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SourceTextContext

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Fields§

    §codeblock: Gc<CodeBlock>§environments: EnvironmentStack§realm: Realm

    Trait Implementations§

    source§

    impl Clone for SourceTextContext

    source§

    fn clone(&self) -> SourceTextContext

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SourceTextContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for SourceTextContext

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SourceTextContext

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/source/struct.SourceTextModule.html b/doc/boa_engine/module/source/struct.SourceTextModule.html index 254acc29076..83da69b7d12 100644 --- a/doc/boa_engine/module/source/struct.SourceTextModule.html +++ b/doc/boa_engine/module/source/struct.SourceTextModule.html @@ -1,10 +1,10 @@ SourceTextModule in boa_engine::module::source - Rust
    pub(crate) struct SourceTextModule {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    ECMAScript’s Source Text Module Records.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SourceTextModule

    source

    fn parent(&self) -> Module

    Gets the parent module of this source module.

    +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SourceTextModule

    source

    fn parent(&self) -> Module

    Gets the parent module of this source module.

    source

    pub(super) fn new( - code: Module, - parent: WeakGc<ModuleRepr>, + code: Module, + parent: WeakGc<ModuleRepr>, interner: &Interner ) -> Self

    Creates a new SourceTextModule from a parsed ModuleSource.

    Contains part of the abstract operation ParseModule.

    @@ -47,9 +47,9 @@ capability: Option<PromiseCapability>, context: &mut Context ) -> JsResult<()>

    Abstract operation ExecuteModule ( [ capability ] ).

    -
    source

    pub(crate) fn loaded_modules(&self) -> &GcRefCell<FxHashMap<JsString, Module>>

    Gets the loaded modules of this module.

    -
    source

    pub(crate) fn import_meta(&self) -> &GcRefCell<Option<JsObject>>

    Gets the import meta object of this module.

    -

    Trait Implementations§

    source§

    impl Clone for SourceTextModule

    source§

    fn clone(&self) -> SourceTextModule

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SourceTextModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SourceTextModule

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SourceTextModule

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for SourceTextModule

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    source

    pub(crate) fn loaded_modules(&self) -> &GcRefCell<FxHashMap<JsString, Module>>

    Gets the loaded modules of this module.

    +
    source

    pub(crate) fn import_meta(&self) -> &GcRefCell<Option<JsObject>>

    Gets the import meta object of this module.

    +

    Trait Implementations§

    source§

    impl Clone for SourceTextModule

    source§

    fn clone(&self) -> SourceTextModule

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SourceTextModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SourceTextModule

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SourceTextModule

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for SourceTextModule

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<SourceTextModule> for SourceTextModule

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/module/struct.Module.html b/doc/boa_engine/module/struct.Module.html index feffef7a9aa..27dcafd5d3e 100644 --- a/doc/boa_engine/module/struct.Module.html +++ b/doc/boa_engine/module/struct.Module.html @@ -1,7 +1,7 @@ Module in boa_engine::module - Rust

    Struct boa_engine::module::Module

    source ·
    pub struct Module {
    -    inner: Gc<ModuleRepr>,
    +    inner: Gc<ModuleRepr>,
     }
    Expand description

    ECMAScript’s Abstract module record.

    -

    Fields§

    §inner: Gc<ModuleRepr>

    Implementations§

    source§

    impl Module

    source

    pub fn parse<R: Read>( +

    Fields§

    §inner: Gc<ModuleRepr>

    Implementations§

    source§

    impl Module

    source

    pub fn parse<R: Read>( src: Source<'_, R>, realm: Option<Realm>, context: &mut Context @@ -18,7 +18,7 @@

    source

    pub fn realm(&self) -> &Realm

    Gets the realm of this Module.

    source

    pub fn host_defined(&self) -> &HostDefined

    Returns the ECMAScript specification defined \[\[HostDefined\]\] field of the Module.

    source

    pub(crate) fn kind(&self) -> &ModuleKind

    Gets the kind of this Module.

    -
    source

    pub(crate) fn environment(&self) -> Option<Gc<DeclarativeEnvironment>>

    Gets the environment of this Module.

    +
    source

    pub(crate) fn environment(&self) -> Option<Gc<DeclarativeEnvironment>>

    Gets the environment of this Module.

    source

    pub fn load(&self, context: &mut Context) -> JsPromise

    Abstract method LoadRequestedModules ( [ hostDefined ] ).

    Prepares the module for linking by loading all its module dependencies. Returns a JsPromise that will resolve when the loading process either completes or fails.

    @@ -91,7 +91,7 @@
    Examples
    );
    source

    pub fn namespace(&self, context: &mut Context) -> JsObject

    Abstract operation GetModuleNamespace ( module ).

    Gets the Module Namespace Object that represents this module’s exports.

    -

    Trait Implementations§

    source§

    impl Clone for Module

    source§

    fn clone(&self) -> Module

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Module

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Module

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Module

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Module

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl Clone for Module

    source§

    fn clone(&self) -> Module

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Module

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Module

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Module

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Module

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<Module> for Module

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/module/struct.ModuleNamespace.html b/doc/boa_engine/module/struct.ModuleNamespace.html index 535d0e9d3ca..77739375689 100644 --- a/doc/boa_engine/module/struct.ModuleNamespace.html +++ b/doc/boa_engine/module/struct.ModuleNamespace.html @@ -12,7 +12,7 @@ &self ) -> &IndexSet<JsString, BuildHasherDefault<FxHasher>>

    Gets the export names of the Module Namespace object.

    source

    pub(crate) const fn module(&self) -> &Module

    Gest the module associated with this Module Namespace object.

    -

    Trait Implementations§

    source§

    impl Debug for ModuleNamespace

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleNamespace

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleNamespace

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleNamespace

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for ModuleNamespace

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ModuleNamespace

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleNamespace

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleNamespace

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for ModuleNamespace

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/struct.ModuleRepr.html b/doc/boa_engine/module/struct.ModuleRepr.html index a7a4fe1c5d2..74b045827e2 100644 --- a/doc/boa_engine/module/struct.ModuleRepr.html +++ b/doc/boa_engine/module/struct.ModuleRepr.html @@ -1,10 +1,10 @@ ModuleRepr in boa_engine::module - Rust
    struct ModuleRepr {
         realm: Realm,
    -    environment: GcRefCell<Option<Gc<DeclarativeEnvironment>>>,
    -    namespace: GcRefCell<Option<JsObject>>,
    +    environment: GcRefCell<Option<Gc<DeclarativeEnvironment>>>,
    +    namespace: GcRefCell<Option<JsObject>>,
         kind: ModuleKind,
         host_defined: HostDefined,
    -}

    Fields§

    §realm: Realm§environment: GcRefCell<Option<Gc<DeclarativeEnvironment>>>§namespace: GcRefCell<Option<JsObject>>§kind: ModuleKind§host_defined: HostDefined

    Trait Implementations§

    source§

    impl Drop for ModuleRepr

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleRepr

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleRepr

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +}

    Fields§

    §realm: Realm§environment: GcRefCell<Option<Gc<DeclarativeEnvironment>>>§namespace: GcRefCell<Option<JsObject>>§kind: ModuleKind§host_defined: HostDefined

    Trait Implementations§

    source§

    impl Drop for ModuleRepr

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ModuleRepr

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ModuleRepr

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/struct.SimpleModuleLoader.html b/doc/boa_engine/module/struct.SimpleModuleLoader.html index 041e61bc9a7..694ca96ab86 100644 --- a/doc/boa_engine/module/struct.SimpleModuleLoader.html +++ b/doc/boa_engine/module/struct.SimpleModuleLoader.html @@ -1,12 +1,12 @@ SimpleModuleLoader in boa_engine::module - Rust
    pub struct SimpleModuleLoader {
         root: PathBuf,
    -    module_map: GcRefCell<FxHashMap<PathBuf, Module>>,
    +    module_map: GcRefCell<FxHashMap<PathBuf, Module>>,
     }
    Expand description

    A simple module loader that loads modules relative to a root path.

    Note

    This loader only works by using the type methods SimpleModuleLoader::insert and SimpleModuleLoader::get. The utility methods on ModuleLoader don’t work at the moment, but we’ll unify both APIs in the future.

    -

    Fields§

    §root: PathBuf§module_map: GcRefCell<FxHashMap<PathBuf, Module>>

    Implementations§

    source§

    impl SimpleModuleLoader

    source

    pub fn new<P: AsRef<Path>>(root: P) -> JsResult<Self>

    Creates a new SimpleModuleLoader from a root module path.

    +

    Fields§

    §root: PathBuf§module_map: GcRefCell<FxHashMap<PathBuf, Module>>

    Implementations§

    source§

    impl SimpleModuleLoader

    source

    pub fn new<P: AsRef<Path>>(root: P) -> JsResult<Self>

    Creates a new SimpleModuleLoader from a root module path.

    source

    pub fn insert(&self, path: PathBuf, module: Module)

    Inserts a new module onto the module map.

    source

    pub fn get(&self, path: &Path) -> Option<Module>

    Gets a module from its original path.

    Trait Implementations§

    source§

    impl Debug for SimpleModuleLoader

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl ModuleLoader for SimpleModuleLoader

    source§

    fn load_imported_module( diff --git a/doc/boa_engine/module/struct.SyntheticModule.html b/doc/boa_engine/module/struct.SyntheticModule.html index fffa19aee8f..1627e1747a2 100644 --- a/doc/boa_engine/module/struct.SyntheticModule.html +++ b/doc/boa_engine/module/struct.SyntheticModule.html @@ -1,11 +1,11 @@ SyntheticModule in boa_engine::module - Rust
    pub struct SyntheticModule {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    ECMAScript’s Synthetic Module Records.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SyntheticModule

    source

    fn parent(&self) -> Module

    Gets the parent module of this source module.

    +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SyntheticModule

    source

    fn parent(&self) -> Module

    Gets the parent module of this source module.

    source

    pub(super) fn new( names: FxHashSet<JsString>, eval_steps: SyntheticModuleInitializer, - parent: WeakGc<ModuleRepr> + parent: WeakGc<ModuleRepr> ) -> Self

    Creates a new synthetic module.

    source

    pub(super) fn load(context: &mut Context) -> JsPromise

    Concrete method LoadRequestedModules ( ).

    source

    pub(super) fn get_exported_names(&self) -> FxHashSet<JsString>

    Concrete method GetExportedNames ( [ exportStarSet ] ).

    @@ -24,7 +24,7 @@
    Note

    The default export corresponds to the name "default", but note that it needs to be passed to the list of exported names in Module::synthetic beforehand.

    -

    Trait Implementations§

    source§

    impl Clone for SyntheticModule

    source§

    fn clone(&self) -> SyntheticModule

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModule

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModule

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModule

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for SyntheticModule

    source§

    fn clone(&self) -> SyntheticModule

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModule

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModule

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModule

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/struct.SyntheticModuleInitializer.html b/doc/boa_engine/module/struct.SyntheticModuleInitializer.html index ea30d58e25e..f3cfd51ffec 100644 --- a/doc/boa_engine/module/struct.SyntheticModuleInitializer.html +++ b/doc/boa_engine/module/struct.SyntheticModuleInitializer.html @@ -1,5 +1,5 @@ SyntheticModuleInitializer in boa_engine::module - Rust
    pub struct SyntheticModuleInitializer {
    -    inner: Gc<dyn TraceableCallback>,
    +    inner: Gc<dyn TraceableCallback>,
     }
    Expand description

    The initializing steps of a SyntheticModule.

    Caveats

    By limitations of the Rust language, the garbage collector currently cannot inspect closures @@ -7,7 +7,7 @@

    Caveats

    to use. All other closures can also be stored in a NativeFunction, albeit by using an unsafe API, but note that passing closures implicitly capturing traceable types could cause Undefined Behaviour.

    -

    Fields§

    §inner: Gc<dyn TraceableCallback>

    Implementations§

    source§

    impl SyntheticModuleInitializer

    source

    pub fn from_copy_closure<F>(closure: F) -> Selfwhere +

    Fields§

    §inner: Gc<dyn TraceableCallback>

    Implementations§

    source§

    impl SyntheticModuleInitializer

    source

    pub fn from_copy_closure<F>(closure: F) -> Selfwhere F: Fn(&SyntheticModule, &mut Context) -> JsResult<()> + Copy + 'static,

    Creates a SyntheticModuleInitializer from a Copy closure.

    source

    pub fn from_copy_closure_with_captures<F, T>(closure: F, captures: T) -> Selfwhere F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()> + Copy + 'static, @@ -32,7 +32,7 @@
    Safety
    module: &SyntheticModule, context: &mut Context ) -> JsResult<()>

    Calls this SyntheticModuleInitializer, forwarding the arguments to the corresponding function.

    -

    Trait Implementations§

    source§

    impl Clone for SyntheticModuleInitializer

    source§

    fn clone(&self) -> SyntheticModuleInitializer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModuleInitializer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModuleInitializer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModuleInitializer

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModuleInitializer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for SyntheticModuleInitializer

    source§

    fn clone(&self) -> SyntheticModuleInitializer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModuleInitializer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModuleInitializer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModuleInitializer

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModuleInitializer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/synthetic/struct.Callback.html b/doc/boa_engine/module/synthetic/struct.Callback.html index 5e84ed2d2f0..a52cb98bd15 100644 --- a/doc/boa_engine/module/synthetic/struct.Callback.html +++ b/doc/boa_engine/module/synthetic/struct.Callback.html @@ -7,7 +7,7 @@ F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>, T: Trace,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<F, T> Finalize for Callback<F, T>where F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>, - T: Trace,

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<F, T> Trace for Callback<F, T>where + T: Trace,

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<F, T> Trace for Callback<F, T>where F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>, T: Trace + Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl<F, T> TraceableCallback for Callback<F, T>where diff --git a/doc/boa_engine/module/synthetic/struct.Inner.html b/doc/boa_engine/module/synthetic/struct.Inner.html index 4c15783831e..55fcc5c9b3e 100644 --- a/doc/boa_engine/module/synthetic/struct.Inner.html +++ b/doc/boa_engine/module/synthetic/struct.Inner.html @@ -1,9 +1,9 @@ Inner in boa_engine::module::synthetic - Rust
    struct Inner {
    -    parent: WeakGc<ModuleRepr>,
    +    parent: WeakGc<ModuleRepr>,
         export_names: FxHashSet<JsString>,
    -    eval_context: GcRefCell<Option<(EnvironmentStack, Gc<CodeBlock>)>>,
    +    eval_context: GcRefCell<Option<(EnvironmentStack, Gc<CodeBlock>)>>,
         eval_steps: SyntheticModuleInitializer,
    -}

    Fields§

    §parent: WeakGc<ModuleRepr>§export_names: FxHashSet<JsString>§eval_context: GcRefCell<Option<(EnvironmentStack, Gc<CodeBlock>)>>§eval_steps: SyntheticModuleInitializer

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +}

    Fields§

    §parent: WeakGc<ModuleRepr>§export_names: FxHashSet<JsString>§eval_context: GcRefCell<Option<(EnvironmentStack, Gc<CodeBlock>)>>§eval_steps: SyntheticModuleInitializer

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/synthetic/struct.SyntheticModule.html b/doc/boa_engine/module/synthetic/struct.SyntheticModule.html index dec5205466e..d4626fc277f 100644 --- a/doc/boa_engine/module/synthetic/struct.SyntheticModule.html +++ b/doc/boa_engine/module/synthetic/struct.SyntheticModule.html @@ -1,11 +1,11 @@ SyntheticModule in boa_engine::module::synthetic - Rust
    pub struct SyntheticModule {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    ECMAScript’s Synthetic Module Records.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SyntheticModule

    source

    fn parent(&self) -> Module

    Gets the parent module of this source module.

    +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SyntheticModule

    source

    fn parent(&self) -> Module

    Gets the parent module of this source module.

    source

    pub(super) fn new( names: FxHashSet<JsString>, eval_steps: SyntheticModuleInitializer, - parent: WeakGc<ModuleRepr> + parent: WeakGc<ModuleRepr> ) -> Self

    Creates a new synthetic module.

    source

    pub(super) fn load(context: &mut Context) -> JsPromise

    Concrete method LoadRequestedModules ( ).

    source

    pub(super) fn get_exported_names(&self) -> FxHashSet<JsString>

    Concrete method GetExportedNames ( [ exportStarSet ] ).

    @@ -24,7 +24,7 @@
    Note

    The default export corresponds to the name "default", but note that it needs to be passed to the list of exported names in Module::synthetic beforehand.

    -

    Trait Implementations§

    source§

    impl Clone for SyntheticModule

    source§

    fn clone(&self) -> SyntheticModule

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModule

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModule

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModule

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for SyntheticModule

    source§

    fn clone(&self) -> SyntheticModule

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModule

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModule

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModule

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/module/synthetic/struct.SyntheticModuleInitializer.html b/doc/boa_engine/module/synthetic/struct.SyntheticModuleInitializer.html index bf66c3974f0..68c83501354 100644 --- a/doc/boa_engine/module/synthetic/struct.SyntheticModuleInitializer.html +++ b/doc/boa_engine/module/synthetic/struct.SyntheticModuleInitializer.html @@ -1,5 +1,5 @@ SyntheticModuleInitializer in boa_engine::module::synthetic - Rust
    pub struct SyntheticModuleInitializer {
    -    inner: Gc<dyn TraceableCallback>,
    +    inner: Gc<dyn TraceableCallback>,
     }
    Expand description

    The initializing steps of a SyntheticModule.

    Caveats

    By limitations of the Rust language, the garbage collector currently cannot inspect closures @@ -7,7 +7,7 @@

    Caveats

    to use. All other closures can also be stored in a NativeFunction, albeit by using an unsafe API, but note that passing closures implicitly capturing traceable types could cause Undefined Behaviour.

    -

    Fields§

    §inner: Gc<dyn TraceableCallback>

    Implementations§

    source§

    impl SyntheticModuleInitializer

    source

    pub fn from_copy_closure<F>(closure: F) -> Selfwhere +

    Fields§

    §inner: Gc<dyn TraceableCallback>

    Implementations§

    source§

    impl SyntheticModuleInitializer

    source

    pub fn from_copy_closure<F>(closure: F) -> Selfwhere F: Fn(&SyntheticModule, &mut Context) -> JsResult<()> + Copy + 'static,

    Creates a SyntheticModuleInitializer from a Copy closure.

    source

    pub fn from_copy_closure_with_captures<F, T>(closure: F, captures: T) -> Selfwhere F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()> + Copy + 'static, @@ -32,7 +32,7 @@
    Safety
    module: &SyntheticModule, context: &mut Context ) -> JsResult<()>

    Calls this SyntheticModuleInitializer, forwarding the arguments to the corresponding function.

    -

    Trait Implementations§

    source§

    impl Clone for SyntheticModuleInitializer

    source§

    fn clone(&self) -> SyntheticModuleInitializer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModuleInitializer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModuleInitializer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModuleInitializer

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModuleInitializer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for SyntheticModuleInitializer

    source§

    fn clone(&self) -> SyntheticModuleInitializer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SyntheticModuleInitializer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SyntheticModuleInitializer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SyntheticModuleInitializer

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for SyntheticModuleInitializer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/native_function/enum.Inner.html b/doc/boa_engine/native_function/enum.Inner.html index 13e239f26b3..c1bb6ec7fca 100644 --- a/doc/boa_engine/native_function/enum.Inner.html +++ b/doc/boa_engine/native_function/enum.Inner.html @@ -1,7 +1,7 @@ Inner in boa_engine::native_function - Rust
    enum Inner {
         PointerFn(NativeFunctionPointer),
    -    Closure(Gc<dyn TraceableClosure>),
    -}

    Variants§

    §

    PointerFn(NativeFunctionPointer)

    §

    Closure(Gc<dyn TraceableClosure>)

    Trait Implementations§

    source§

    impl Clone for Inner

    source§

    fn clone(&self) -> Inner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + Closure(Gc<dyn TraceableClosure>), +}

    Variants§

    Trait Implementations§

    source§

    impl Clone for Inner

    source§

    fn clone(&self) -> Inner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/native_function/struct.Closure.html b/doc/boa_engine/native_function/struct.Closure.html index d052f2acf7e..81faf056869 100644 --- a/doc/boa_engine/native_function/struct.Closure.html +++ b/doc/boa_engine/native_function/struct.Closure.html @@ -7,7 +7,7 @@ F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>, T: Trace,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<F, T> Finalize for Closure<F, T>where F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>, - T: Trace,

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<F, T> Trace for Closure<F, T>where + T: Trace,

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<F, T> Trace for Closure<F, T>where F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>, T: Trace + Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl<F, T> TraceableClosure for Closure<F, T>where diff --git a/doc/boa_engine/native_function/struct.NativeFunction.html b/doc/boa_engine/native_function/struct.NativeFunction.html index 99c9db6ab11..6e186d7f15e 100644 --- a/doc/boa_engine/native_function/struct.NativeFunction.html +++ b/doc/boa_engine/native_function/struct.NativeFunction.html @@ -96,7 +96,7 @@
    Safety
    ) -> JsResult<JsValue>

    Calls this NativeFunction, forwarding the arguments to the corresponding function.

    source

    pub fn to_js_function(self, realm: &Realm) -> JsFunction

    Converts this NativeFunction into a JsFunction without setting its name or length.

    Useful to create functions that will only be used once, such as callbacks.

    -

    Trait Implementations§

    source§

    impl Clone for NativeFunction

    source§

    fn clone(&self) -> NativeFunction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NativeFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for NativeFunction

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for NativeFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for NativeFunction

    source§

    fn clone(&self) -> NativeFunction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NativeFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for NativeFunction

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for NativeFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/native_function/struct.NativeFunctionObject.html b/doc/boa_engine/native_function/struct.NativeFunctionObject.html index 7138b63e053..552ffc5f912 100644 --- a/doc/boa_engine/native_function/struct.NativeFunctionObject.html +++ b/doc/boa_engine/native_function/struct.NativeFunctionObject.html @@ -6,7 +6,7 @@

    Fields§

    §f: NativeFunction

    The rust function.

    §constructor: Option<ConstructorKind>

    The kind of the function constructor if it is a constructor.

    §realm: Option<Realm>

    The Realm in which the function is defined, or None if the realm is uninitialized.

    -

    Trait Implementations§

    source§

    impl Clone for NativeFunctionObject

    source§

    fn clone(&self) -> NativeFunctionObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NativeFunctionObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for NativeFunctionObject

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for NativeFunctionObject

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for NativeFunctionObject

    source§

    fn clone(&self) -> NativeFunctionObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NativeFunctionObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for NativeFunctionObject

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for NativeFunctionObject

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for NativeFunctionObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/native_function/type.NativeFunctionPointer.html b/doc/boa_engine/native_function/type.NativeFunctionPointer.html index 235c5826a1b..7b193f7c0a1 100644 --- a/doc/boa_engine/native_function/type.NativeFunctionPointer.html +++ b/doc/boa_engine/native_function/type.NativeFunctionPointer.html @@ -11,5 +11,5 @@

    Arguments

    The last argument is the engine Context.

    -

    Trait Implementations§

    §

    impl<Ret, A, B, C> Finalize for fn(_: A, _: B, _: C) -> Ret

    §

    fn finalize(&self)

    Cleanup logic for a type.
    §

    impl<Ret, A, B, C> Trace for fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    §

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    §

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl<Ret, A, B, C> Finalize for fn(_: A, _: B, _: C) -> Ret

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<Ret, A, B, C> Trace for fn(_: A, _: B, _: C) -> Ret

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl<Ret, A, B, C> JsData for fn(_: A, _: B, _: C) -> Ret

    \ 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 5bc6a84bf23..db05515864a 100644 --- a/doc/boa_engine/object/builtins/jsarray/struct.JsArray.html +++ b/doc/boa_engine/object/builtins/jsarray/struct.JsArray.html @@ -348,7 +348,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsArray

    source§

    fn clone(&self) -> JsArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsValue

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsArray

    source§

    fn clone(&self) -> JsArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsValue

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsArray

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsArray

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsArray

    §

    impl !Send for JsArray

    §

    impl !Sync for JsArray

    §

    impl Unpin for JsArray

    §

    impl !UnwindSafe for JsArray

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html b/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html index e33a598dfe7..da960b6f859 100644 --- a/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html +++ b/doc/boa_engine/object/builtins/jsarraybuffer/struct.JsArrayBuffer.html @@ -282,7 +282,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsArrayBuffer

    source§

    fn clone(&self) -> JsArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArrayBuffer

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsValue

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsArrayBuffer

    source§

    fn clone(&self) -> JsArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArrayBuffer

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsValue

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsArrayBuffer

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsArrayBuffer

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html b/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html index 2f42b62865f..bc1952e688a 100644 --- a/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html +++ b/doc/boa_engine/object/builtins/jsdataview/struct.JsDataView.html @@ -379,7 +379,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsDataView

    source§

    fn clone(&self) -> JsDataView

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDataView

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDataView

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDataView

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDataView

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsValue

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDataView

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsDataView

    source§

    fn clone(&self) -> JsDataView

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDataView

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDataView

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDataView

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDataView

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsValue

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDataView

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsDataView

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsDataView

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsdate/struct.JsDate.html b/doc/boa_engine/object/builtins/jsdate/struct.JsDate.html index 619515deeaf..6b98050260b 100644 --- a/doc/boa_engine/object/builtins/jsdate/struct.JsDate.html +++ b/doc/boa_engine/object/builtins/jsdate/struct.JsDate.html @@ -493,7 +493,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsDate

    source§

    fn clone(&self) -> JsDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDate

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDate

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDate

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsValue

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsDate

    source§

    fn clone(&self) -> JsDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDate

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDate

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDate

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsValue

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsDate

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsDate

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsDate

    §

    impl !Send for JsDate

    §

    impl !Sync for JsDate

    §

    impl Unpin for JsDate

    §

    impl !UnwindSafe for JsDate

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsfunction/struct.JsFunction.html b/doc/boa_engine/object/builtins/jsfunction/struct.JsFunction.html index 285a22cd876..cf59861c76d 100644 --- a/doc/boa_engine/object/builtins/jsfunction/struct.JsFunction.html +++ b/doc/boa_engine/object/builtins/jsfunction/struct.JsFunction.html @@ -235,7 +235,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsFunction

    source§

    fn clone(&self) -> JsFunction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFunction

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFunction

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsValue

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsFunction

    source§

    fn clone(&self) -> JsFunction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFunction

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFunction

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsValue

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsFunction

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsFunction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsgenerator/struct.JsGenerator.html b/doc/boa_engine/object/builtins/jsgenerator/struct.JsGenerator.html index 7ff00689b41..31bc425b7de 100644 --- a/doc/boa_engine/object/builtins/jsgenerator/struct.JsGenerator.html +++ b/doc/boa_engine/object/builtins/jsgenerator/struct.JsGenerator.html @@ -241,7 +241,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsGenerator

    source§

    fn clone(&self) -> JsGenerator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsGenerator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsGenerator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsGenerator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsGenerator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsValue

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsGenerator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsGenerator

    source§

    fn clone(&self) -> JsGenerator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsGenerator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsGenerator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsGenerator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsGenerator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsValue

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsGenerator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsGenerator

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsGenerator

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsmap/struct.JsMap.html b/doc/boa_engine/object/builtins/jsmap/struct.JsMap.html index 65b986391c7..6673b83fad6 100644 --- a/doc/boa_engine/object/builtins/jsmap/struct.JsMap.html +++ b/doc/boa_engine/object/builtins/jsmap/struct.JsMap.html @@ -385,7 +385,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsMap

    source§

    fn clone(&self) -> JsMap

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMap

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMap

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsValue

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsMap

    source§

    fn clone(&self) -> JsMap

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMap

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMap

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsValue

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsMap

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsMap

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsMap

    §

    impl !Send for JsMap

    §

    impl !Sync for JsMap

    §

    impl Unpin for JsMap

    §

    impl !UnwindSafe for JsMap

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsmap_iterator/struct.JsMapIterator.html b/doc/boa_engine/object/builtins/jsmap_iterator/struct.JsMapIterator.html index 2ce39e2e60e..61a184fc047 100644 --- a/doc/boa_engine/object/builtins/jsmap_iterator/struct.JsMapIterator.html +++ b/doc/boa_engine/object/builtins/jsmap_iterator/struct.JsMapIterator.html @@ -232,7 +232,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsMapIterator

    source§

    fn clone(&self) -> JsMapIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMapIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMapIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMapIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMapIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsValue

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMapIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsMapIterator

    source§

    fn clone(&self) -> JsMapIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMapIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMapIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMapIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMapIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsValue

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMapIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsMapIterator

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsMapIterator

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jspromise/struct.Inner.html b/doc/boa_engine/object/builtins/jspromise/struct.Inner.html index ea7e59b5b2c..4ace0b2fc35 100644 --- a/doc/boa_engine/object/builtins/jspromise/struct.Inner.html +++ b/doc/boa_engine/object/builtins/jspromise/struct.Inner.html @@ -1,7 +1,7 @@ Inner in boa_engine::object::builtins::jspromise - Rust
    struct Inner {
         result: Option<JsResult<JsValue>>,
         task: Option<Waker>,
    -}

    Fields§

    §result: Option<JsResult<JsValue>>§task: Option<Waker>

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +}

    Fields§

    §result: Option<JsResult<JsValue>>§task: Option<Waker>

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jspromise/struct.JsFuture.html b/doc/boa_engine/object/builtins/jspromise/struct.JsFuture.html index b1acc141cad..33ddac0b397 100644 --- a/doc/boa_engine/object/builtins/jspromise/struct.JsFuture.html +++ b/doc/boa_engine/object/builtins/jspromise/struct.JsFuture.html @@ -1,10 +1,10 @@ JsFuture in boa_engine::object::builtins::jspromise - Rust
    pub struct JsFuture {
    -    inner: Gc<GcRefCell<Inner>>,
    +    inner: Gc<GcRefCell<Inner>>,
     }
    Expand description

    A Rust’s Future that becomes ready when a JsPromise fulfills.

    This type allows awaiting JsPromises inside Rust’s async contexts, which makes interfacing between promises and futures a bit easier.

    The only way to construct an instance of JsFuture is by calling JsPromise::into_js_future.

    -

    Fields§

    §inner: Gc<GcRefCell<Inner>>

    Trait Implementations§

    source§

    impl Debug for JsFuture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Future for JsFuture

    §

    type Output = Result<JsValue, JsError>

    The type of value produced on completion.
    source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempt to resolve the future to a final value, registering +

    Fields§

    §inner: Gc<GcRefCell<Inner>>

    Trait Implementations§

    source§

    impl Debug for JsFuture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Future for JsFuture

    §

    type Output = Result<JsValue, JsError>

    The type of value produced on completion.
    source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jspromise/struct.JsPromise.html b/doc/boa_engine/object/builtins/jspromise/struct.JsPromise.html index 5bded02493c..633dbf81638 100644 --- a/doc/boa_engine/object/builtins/jspromise/struct.JsPromise.html +++ b/doc/boa_engine/object/builtins/jspromise/struct.JsPromise.html @@ -750,7 +750,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsPromise

    source§

    fn clone(&self) -> JsPromise

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsPromise

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsPromise

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsPromise

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsPromise

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsValue

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsPromise

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsPromise

    source§

    fn clone(&self) -> JsPromise

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsPromise

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsPromise

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsPromise

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsPromise

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsValue

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsPromise

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsPromise

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsPromise

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsproxy/struct.JsProxy.html b/doc/boa_engine/object/builtins/jsproxy/struct.JsProxy.html index f14a36c4847..c128281de5a 100644 --- a/doc/boa_engine/object/builtins/jsproxy/struct.JsProxy.html +++ b/doc/boa_engine/object/builtins/jsproxy/struct.JsProxy.html @@ -238,7 +238,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsProxy

    source§

    fn clone(&self) -> JsProxy

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsProxy

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsProxy

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsValue

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsProxy

    source§

    fn clone(&self) -> JsProxy

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsProxy

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsProxy

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsValue

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsProxy

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsProxy

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsProxy

    §

    impl !Send for JsProxy

    §

    impl !Sync for JsProxy

    §

    impl Unpin for JsProxy

    §

    impl !UnwindSafe for JsProxy

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsproxy/struct.JsRevocableProxy.html b/doc/boa_engine/object/builtins/jsproxy/struct.JsRevocableProxy.html index 560cd394f9c..eab788108c0 100644 --- a/doc/boa_engine/object/builtins/jsproxy/struct.JsRevocableProxy.html +++ b/doc/boa_engine/object/builtins/jsproxy/struct.JsRevocableProxy.html @@ -239,7 +239,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Debug for JsRevocableProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRevocableProxy

    §

    type Target = JsProxy

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRevocableProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRevocableProxy

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for JsRevocableProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for JsRevocableProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRevocableProxy

    §

    type Target = JsProxy

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRevocableProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRevocableProxy

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for JsRevocableProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsregexp/struct.JsRegExp.html b/doc/boa_engine/object/builtins/jsregexp/struct.JsRegExp.html index 2149a3e7e17..8f33e8e6c94 100644 --- a/doc/boa_engine/object/builtins/jsregexp/struct.JsRegExp.html +++ b/doc/boa_engine/object/builtins/jsregexp/struct.JsRegExp.html @@ -292,7 +292,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsRegExp

    source§

    fn clone(&self) -> JsRegExp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsRegExp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRegExp

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRegExp

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRegExp

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsValue

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsRegExp

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsRegExp

    source§

    fn clone(&self) -> JsRegExp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsRegExp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRegExp

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRegExp

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRegExp

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsValue

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsRegExp

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsRegExp

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsRegExp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsset/struct.JsSet.html b/doc/boa_engine/object/builtins/jsset/struct.JsSet.html index 38845bb60d5..a89778b2a2a 100644 --- a/doc/boa_engine/object/builtins/jsset/struct.JsSet.html +++ b/doc/boa_engine/object/builtins/jsset/struct.JsSet.html @@ -277,7 +277,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsSet

    source§

    fn clone(&self) -> JsSet

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSet

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSet

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSet

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSet

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsValue

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsSet

    source§

    fn clone(&self) -> JsSet

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSet

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSet

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSet

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSet

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsValue

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsSet

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsSet

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsSet

    §

    impl !Send for JsSet

    §

    impl !Sync for JsSet

    §

    impl Unpin for JsSet

    §

    impl !UnwindSafe for JsSet

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jsset_iterator/struct.JsSetIterator.html b/doc/boa_engine/object/builtins/jsset_iterator/struct.JsSetIterator.html index 46cdcad08e5..03c64129a25 100644 --- a/doc/boa_engine/object/builtins/jsset_iterator/struct.JsSetIterator.html +++ b/doc/boa_engine/object/builtins/jsset_iterator/struct.JsSetIterator.html @@ -233,7 +233,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsSetIterator

    source§

    fn clone(&self) -> JsSetIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSetIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSetIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSetIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSetIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsValue

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSetIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsSetIterator

    source§

    fn clone(&self) -> JsSetIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSetIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSetIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSetIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSetIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsValue

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSetIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsSetIterator

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsSetIterator

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jssharedarraybuffer/struct.JsSharedArrayBuffer.html b/doc/boa_engine/object/builtins/jssharedarraybuffer/struct.JsSharedArrayBuffer.html index 4c9a053e78f..7bae47a4a27 100644 --- a/doc/boa_engine/object/builtins/jssharedarraybuffer/struct.JsSharedArrayBuffer.html +++ b/doc/boa_engine/object/builtins/jssharedarraybuffer/struct.JsSharedArrayBuffer.html @@ -238,7 +238,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsSharedArrayBuffer

    source§

    fn clone(&self) -> JsSharedArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSharedArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSharedArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSharedArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSharedArrayBuffer

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsValue

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSharedArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsSharedArrayBuffer

    source§

    fn clone(&self) -> JsSharedArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSharedArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSharedArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSharedArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSharedArrayBuffer

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsValue

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSharedArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsSharedArrayBuffer

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsSharedArrayBuffer

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat32Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat32Array.html index 6cd50ae3aee..dc14cb0a931 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat32Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat32Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsFloat32Array

    source§

    fn clone(&self) -> JsFloat32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat32Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsValue

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsFloat32Array

    source§

    fn clone(&self) -> JsFloat32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat32Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsValue

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsFloat32Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat64Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat64Array.html index f5f1819a68e..29bf1c2f432 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat64Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsFloat64Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsFloat64Array

    source§

    fn clone(&self) -> JsFloat64Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat64Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat64Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat64Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat64Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsValue

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat64Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsFloat64Array

    source§

    fn clone(&self) -> JsFloat64Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat64Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat64Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat64Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat64Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsValue

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat64Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsFloat64Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt16Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt16Array.html index 1ffdfa59b5a..35ed583d775 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt16Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt16Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsInt16Array

    source§

    fn clone(&self) -> JsInt16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt16Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsValue

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsInt16Array

    source§

    fn clone(&self) -> JsInt16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt16Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsValue

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsInt16Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt32Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt32Array.html index 7ed47171b98..76ad690d2ce 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt32Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt32Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsInt32Array

    source§

    fn clone(&self) -> JsInt32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt32Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsValue

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsInt32Array

    source§

    fn clone(&self) -> JsInt32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt32Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsValue

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsInt32Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt8Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt8Array.html index 236527062a4..56c6dff5349 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt8Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsInt8Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsInt8Array

    source§

    fn clone(&self) -> JsInt8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt8Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsValue

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsInt8Array

    source§

    fn clone(&self) -> JsInt8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt8Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsValue

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsInt8Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsTypedArray.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsTypedArray.html index 8a0b187e9d1..d7faf582446 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsTypedArray.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsTypedArray.html @@ -335,7 +335,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsTypedArray

    source§

    fn clone(&self) -> JsTypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsTypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsTypedArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsTypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsTypedArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsValue

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsTypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsTypedArray

    source§

    fn clone(&self) -> JsTypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsTypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsTypedArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsTypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsTypedArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsValue

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsTypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsTypedArray

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsTypedArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint16Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint16Array.html index 8ed0e6cb0c5..10a2fcb1eb6 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint16Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint16Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsUint16Array

    source§

    fn clone(&self) -> JsUint16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint16Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsValue

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsUint16Array

    source§

    fn clone(&self) -> JsUint16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint16Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsValue

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsUint16Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint32Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint32Array.html index 3f85df9bf34..a9f101b6209 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint32Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint32Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsUint32Array

    source§

    fn clone(&self) -> JsUint32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint32Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsValue

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsUint32Array

    source§

    fn clone(&self) -> JsUint32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint32Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsValue

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsUint32Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint8Array.html b/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint8Array.html index 9bdba7a513d..425005a87b6 100644 --- a/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint8Array.html +++ b/doc/boa_engine/object/builtins/jstypedarray/struct.JsUint8Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsUint8Array

    source§

    fn clone(&self) -> JsUint8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint8Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsValue

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsUint8Array

    source§

    fn clone(&self) -> JsUint8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint8Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsValue

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsUint8Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsArray.html b/doc/boa_engine/object/builtins/struct.JsArray.html index 69058666ae3..e542987d6be 100644 --- a/doc/boa_engine/object/builtins/struct.JsArray.html +++ b/doc/boa_engine/object/builtins/struct.JsArray.html @@ -348,7 +348,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsArray

    source§

    fn clone(&self) -> JsArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsValue

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsArray

    source§

    fn clone(&self) -> JsArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsValue

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsArray

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsArray

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsArray

    §

    impl !Send for JsArray

    §

    impl !Sync for JsArray

    §

    impl Unpin for JsArray

    §

    impl !UnwindSafe for JsArray

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsArrayBuffer.html b/doc/boa_engine/object/builtins/struct.JsArrayBuffer.html index 6967f9c5290..9f4093b6e71 100644 --- a/doc/boa_engine/object/builtins/struct.JsArrayBuffer.html +++ b/doc/boa_engine/object/builtins/struct.JsArrayBuffer.html @@ -282,7 +282,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsArrayBuffer

    source§

    fn clone(&self) -> JsArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArrayBuffer

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsValue

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsArrayBuffer

    source§

    fn clone(&self) -> JsArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsArrayBuffer

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsValue

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsArrayBuffer

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsArrayBuffer

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsDataView.html b/doc/boa_engine/object/builtins/struct.JsDataView.html index bdd7d481d36..d9adbef5f97 100644 --- a/doc/boa_engine/object/builtins/struct.JsDataView.html +++ b/doc/boa_engine/object/builtins/struct.JsDataView.html @@ -379,7 +379,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsDataView

    source§

    fn clone(&self) -> JsDataView

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDataView

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDataView

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDataView

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDataView

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsValue

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDataView

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsDataView

    source§

    fn clone(&self) -> JsDataView

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDataView

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDataView

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDataView

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDataView

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsValue

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDataView

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsDataView

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsDataView

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsDate.html b/doc/boa_engine/object/builtins/struct.JsDate.html index 0e86d86f9ea..012997cd6d3 100644 --- a/doc/boa_engine/object/builtins/struct.JsDate.html +++ b/doc/boa_engine/object/builtins/struct.JsDate.html @@ -493,7 +493,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsDate

    source§

    fn clone(&self) -> JsDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDate

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDate

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDate

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsValue

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsDate

    source§

    fn clone(&self) -> JsDate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsDate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsDate

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsDate

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsDate

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsValue

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsDate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsDate

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsDate

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsDate

    §

    impl !Send for JsDate

    §

    impl !Sync for JsDate

    §

    impl Unpin for JsDate

    §

    impl !UnwindSafe for JsDate

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsFloat32Array.html b/doc/boa_engine/object/builtins/struct.JsFloat32Array.html index ed8196a2061..d155970c6be 100644 --- a/doc/boa_engine/object/builtins/struct.JsFloat32Array.html +++ b/doc/boa_engine/object/builtins/struct.JsFloat32Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsFloat32Array

    source§

    fn clone(&self) -> JsFloat32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat32Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsValue

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsFloat32Array

    source§

    fn clone(&self) -> JsFloat32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat32Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsValue

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsFloat32Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsFloat64Array.html b/doc/boa_engine/object/builtins/struct.JsFloat64Array.html index 00a7120af8b..af10c83e260 100644 --- a/doc/boa_engine/object/builtins/struct.JsFloat64Array.html +++ b/doc/boa_engine/object/builtins/struct.JsFloat64Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsFloat64Array

    source§

    fn clone(&self) -> JsFloat64Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat64Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat64Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat64Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat64Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsValue

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat64Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsFloat64Array

    source§

    fn clone(&self) -> JsFloat64Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFloat64Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFloat64Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFloat64Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFloat64Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsValue

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFloat64Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsFloat64Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsFunction.html b/doc/boa_engine/object/builtins/struct.JsFunction.html index 9757cf584d9..78dc4be5273 100644 --- a/doc/boa_engine/object/builtins/struct.JsFunction.html +++ b/doc/boa_engine/object/builtins/struct.JsFunction.html @@ -235,7 +235,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsFunction

    source§

    fn clone(&self) -> JsFunction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFunction

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFunction

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsValue

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsFunction

    source§

    fn clone(&self) -> JsFunction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsFunction

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsFunction

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsFunction

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsFunction

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsValue

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsFunction

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsFunction

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsFunction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsFuture.html b/doc/boa_engine/object/builtins/struct.JsFuture.html index fd2bda63040..3d5f3853608 100644 --- a/doc/boa_engine/object/builtins/struct.JsFuture.html +++ b/doc/boa_engine/object/builtins/struct.JsFuture.html @@ -1,10 +1,10 @@ JsFuture in boa_engine::object::builtins - Rust
    pub struct JsFuture {
    -    inner: Gc<GcRefCell<Inner>>,
    +    inner: Gc<GcRefCell<Inner>>,
     }
    Expand description

    A Rust’s Future that becomes ready when a JsPromise fulfills.

    This type allows awaiting JsPromises inside Rust’s async contexts, which makes interfacing between promises and futures a bit easier.

    The only way to construct an instance of JsFuture is by calling JsPromise::into_js_future.

    -

    Fields§

    §inner: Gc<GcRefCell<Inner>>

    Trait Implementations§

    source§

    impl Debug for JsFuture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Future for JsFuture

    §

    type Output = Result<JsValue, JsError>

    The type of value produced on completion.
    source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempt to resolve the future to a final value, registering +

    Fields§

    §inner: Gc<GcRefCell<Inner>>

    Trait Implementations§

    source§

    impl Debug for JsFuture

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Future for JsFuture

    §

    type Output = Result<JsValue, JsError>

    The type of value produced on completion.
    source§

    fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

    Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsGenerator.html b/doc/boa_engine/object/builtins/struct.JsGenerator.html index 22d1ebcc568..ec423b8ed16 100644 --- a/doc/boa_engine/object/builtins/struct.JsGenerator.html +++ b/doc/boa_engine/object/builtins/struct.JsGenerator.html @@ -241,7 +241,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsGenerator

    source§

    fn clone(&self) -> JsGenerator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsGenerator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsGenerator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsGenerator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsGenerator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsValue

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsGenerator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsGenerator

    source§

    fn clone(&self) -> JsGenerator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsGenerator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsGenerator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsGenerator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsGenerator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsValue

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsGenerator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsGenerator

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsGenerator

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsInt16Array.html b/doc/boa_engine/object/builtins/struct.JsInt16Array.html index 6efe797b611..dc2f83b3b65 100644 --- a/doc/boa_engine/object/builtins/struct.JsInt16Array.html +++ b/doc/boa_engine/object/builtins/struct.JsInt16Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsInt16Array

    source§

    fn clone(&self) -> JsInt16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt16Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsValue

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsInt16Array

    source§

    fn clone(&self) -> JsInt16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt16Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsValue

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsInt16Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsInt32Array.html b/doc/boa_engine/object/builtins/struct.JsInt32Array.html index dbbceafac9a..57faf1ae018 100644 --- a/doc/boa_engine/object/builtins/struct.JsInt32Array.html +++ b/doc/boa_engine/object/builtins/struct.JsInt32Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsInt32Array

    source§

    fn clone(&self) -> JsInt32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt32Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsValue

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsInt32Array

    source§

    fn clone(&self) -> JsInt32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt32Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsValue

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsInt32Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsInt8Array.html b/doc/boa_engine/object/builtins/struct.JsInt8Array.html index 3deca155486..43480d238a7 100644 --- a/doc/boa_engine/object/builtins/struct.JsInt8Array.html +++ b/doc/boa_engine/object/builtins/struct.JsInt8Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsInt8Array

    source§

    fn clone(&self) -> JsInt8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt8Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsValue

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsInt8Array

    source§

    fn clone(&self) -> JsInt8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsInt8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsInt8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsInt8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsInt8Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsValue

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsInt8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsInt8Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsMap.html b/doc/boa_engine/object/builtins/struct.JsMap.html index c1310721587..a079c61a853 100644 --- a/doc/boa_engine/object/builtins/struct.JsMap.html +++ b/doc/boa_engine/object/builtins/struct.JsMap.html @@ -385,7 +385,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsMap

    source§

    fn clone(&self) -> JsMap

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMap

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMap

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsValue

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsMap

    source§

    fn clone(&self) -> JsMap

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMap

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMap

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsValue

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsMap

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsMap

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsMap

    §

    impl !Send for JsMap

    §

    impl !Sync for JsMap

    §

    impl Unpin for JsMap

    §

    impl !UnwindSafe for JsMap

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsMapIterator.html b/doc/boa_engine/object/builtins/struct.JsMapIterator.html index d544d641b3e..5e52dafa94e 100644 --- a/doc/boa_engine/object/builtins/struct.JsMapIterator.html +++ b/doc/boa_engine/object/builtins/struct.JsMapIterator.html @@ -232,7 +232,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsMapIterator

    source§

    fn clone(&self) -> JsMapIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMapIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMapIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMapIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMapIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsValue

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMapIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsMapIterator

    source§

    fn clone(&self) -> JsMapIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsMapIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsMapIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsMapIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsMapIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsValue

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsMapIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsMapIterator

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsMapIterator

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsPromise.html b/doc/boa_engine/object/builtins/struct.JsPromise.html index 471e5b9e59c..f380f67c770 100644 --- a/doc/boa_engine/object/builtins/struct.JsPromise.html +++ b/doc/boa_engine/object/builtins/struct.JsPromise.html @@ -750,7 +750,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsPromise

    source§

    fn clone(&self) -> JsPromise

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsPromise

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsPromise

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsPromise

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsPromise

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsValue

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsPromise

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsPromise

    source§

    fn clone(&self) -> JsPromise

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsPromise

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsPromise

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsPromise

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsPromise

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsValue

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsPromise

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsPromise

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsPromise

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsProxy.html b/doc/boa_engine/object/builtins/struct.JsProxy.html index 2cf2310fc5c..89f18587f5d 100644 --- a/doc/boa_engine/object/builtins/struct.JsProxy.html +++ b/doc/boa_engine/object/builtins/struct.JsProxy.html @@ -238,7 +238,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsProxy

    source§

    fn clone(&self) -> JsProxy

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsProxy

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsProxy

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsValue

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsProxy

    source§

    fn clone(&self) -> JsProxy

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsProxy

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsProxy

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsValue

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsProxy

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsProxy

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsProxy

    §

    impl !Send for JsProxy

    §

    impl !Sync for JsProxy

    §

    impl Unpin for JsProxy

    §

    impl !UnwindSafe for JsProxy

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsRegExp.html b/doc/boa_engine/object/builtins/struct.JsRegExp.html index d72524c1b1b..ff86de531eb 100644 --- a/doc/boa_engine/object/builtins/struct.JsRegExp.html +++ b/doc/boa_engine/object/builtins/struct.JsRegExp.html @@ -292,7 +292,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsRegExp

    source§

    fn clone(&self) -> JsRegExp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsRegExp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRegExp

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRegExp

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRegExp

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsValue

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsRegExp

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsRegExp

    source§

    fn clone(&self) -> JsRegExp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsRegExp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRegExp

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRegExp

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRegExp

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsValue

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsRegExp

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsRegExp

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsRegExp

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsRevocableProxy.html b/doc/boa_engine/object/builtins/struct.JsRevocableProxy.html index 0d98d7a4818..7e782629e95 100644 --- a/doc/boa_engine/object/builtins/struct.JsRevocableProxy.html +++ b/doc/boa_engine/object/builtins/struct.JsRevocableProxy.html @@ -239,7 +239,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Debug for JsRevocableProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRevocableProxy

    §

    type Target = JsProxy

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRevocableProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRevocableProxy

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for JsRevocableProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for JsRevocableProxy

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsRevocableProxy

    §

    type Target = JsProxy

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsRevocableProxy

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsRevocableProxy

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for JsRevocableProxy

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsSet.html b/doc/boa_engine/object/builtins/struct.JsSet.html index 5c348d772e3..3ae9196dda8 100644 --- a/doc/boa_engine/object/builtins/struct.JsSet.html +++ b/doc/boa_engine/object/builtins/struct.JsSet.html @@ -277,7 +277,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsSet

    source§

    fn clone(&self) -> JsSet

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSet

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSet

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSet

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSet

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsValue

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsSet

    source§

    fn clone(&self) -> JsSet

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSet

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSet

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSet

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSet

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsValue

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSet

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsSet

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsSet

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for JsSet

    §

    impl !Send for JsSet

    §

    impl !Sync for JsSet

    §

    impl Unpin for JsSet

    §

    impl !UnwindSafe for JsSet

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsSetIterator.html b/doc/boa_engine/object/builtins/struct.JsSetIterator.html index a487cc926b4..12554b053b7 100644 --- a/doc/boa_engine/object/builtins/struct.JsSetIterator.html +++ b/doc/boa_engine/object/builtins/struct.JsSetIterator.html @@ -233,7 +233,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsSetIterator

    source§

    fn clone(&self) -> JsSetIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSetIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSetIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSetIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSetIterator

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsValue

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSetIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsSetIterator

    source§

    fn clone(&self) -> JsSetIterator

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSetIterator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSetIterator

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSetIterator

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSetIterator

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsValue

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSetIterator

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsSetIterator

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsSetIterator

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsSharedArrayBuffer.html b/doc/boa_engine/object/builtins/struct.JsSharedArrayBuffer.html index 978f2e9bef2..d95ab18b87a 100644 --- a/doc/boa_engine/object/builtins/struct.JsSharedArrayBuffer.html +++ b/doc/boa_engine/object/builtins/struct.JsSharedArrayBuffer.html @@ -238,7 +238,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsSharedArrayBuffer

    source§

    fn clone(&self) -> JsSharedArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSharedArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSharedArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSharedArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSharedArrayBuffer

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsValue

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSharedArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsSharedArrayBuffer

    source§

    fn clone(&self) -> JsSharedArrayBuffer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSharedArrayBuffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsSharedArrayBuffer

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsSharedArrayBuffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSharedArrayBuffer

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsValue

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsSharedArrayBuffer

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsSharedArrayBuffer

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsSharedArrayBuffer

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsTypedArray.html b/doc/boa_engine/object/builtins/struct.JsTypedArray.html index d36a2aff22e..69d87351f64 100644 --- a/doc/boa_engine/object/builtins/struct.JsTypedArray.html +++ b/doc/boa_engine/object/builtins/struct.JsTypedArray.html @@ -335,7 +335,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsTypedArray

    source§

    fn clone(&self) -> JsTypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsTypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsTypedArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsTypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsTypedArray

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsValue

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsTypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsTypedArray

    source§

    fn clone(&self) -> JsTypedArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsTypedArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsTypedArray

    §

    type Target = JsObject

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsTypedArray

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsTypedArray

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsValue

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsTypedArray

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsTypedArray

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsObjectType for JsTypedArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsUint16Array.html b/doc/boa_engine/object/builtins/struct.JsUint16Array.html index 4d3cb8a43ae..a4fb29fc4ed 100644 --- a/doc/boa_engine/object/builtins/struct.JsUint16Array.html +++ b/doc/boa_engine/object/builtins/struct.JsUint16Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsUint16Array

    source§

    fn clone(&self) -> JsUint16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint16Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsValue

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsUint16Array

    source§

    fn clone(&self) -> JsUint16Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint16Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint16Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint16Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint16Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsValue

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint16Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsUint16Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsUint32Array.html b/doc/boa_engine/object/builtins/struct.JsUint32Array.html index f0fc9cf1025..8f0df228a3d 100644 --- a/doc/boa_engine/object/builtins/struct.JsUint32Array.html +++ b/doc/boa_engine/object/builtins/struct.JsUint32Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsUint32Array

    source§

    fn clone(&self) -> JsUint32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint32Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsValue

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsUint32Array

    source§

    fn clone(&self) -> JsUint32Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint32Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint32Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint32Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint32Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsValue

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint32Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsUint32Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/builtins/struct.JsUint8Array.html b/doc/boa_engine/object/builtins/struct.JsUint8Array.html index 758baa9d179..106ea7177a7 100644 --- a/doc/boa_engine/object/builtins/struct.JsUint8Array.html +++ b/doc/boa_engine/object/builtins/struct.JsUint8Array.html @@ -337,7 +337,7 @@
    Panics
    -

    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl Clone for JsUint8Array

    source§

    fn clone(&self) -> JsUint8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint8Array

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsValue

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for JsUint8Array

    source§

    fn clone(&self) -> JsUint8Array

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsUint8Array

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for JsUint8Array

    §

    type Target = JsTypedArray

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsUint8Array

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsUint8Array

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsValue

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for JsUint8Array

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for JsUint8Array

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/datatypes/trait.JsData.html b/doc/boa_engine/object/datatypes/trait.JsData.html index 2efc900f133..55514bb2ef8 100644 --- a/doc/boa_engine/object/datatypes/trait.JsData.html +++ b/doc/boa_engine/object/datatypes/trait.JsData.html @@ -13,4 +13,4 @@

    Example

    JsObject::from_proto_and_data(None, CustomStruct { counter: 5 }); assert_eq!(object.downcast_ref::<CustomStruct>().unwrap().counter, 5);

    -

    Implementations on Foreign Types§

    source§

    impl<A, B, C, D, E, F> JsData for (A, B, C, D, E, F)

    source§

    impl JsData for AtomicBool

    source§

    impl JsData for usize

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<T: ?Sized> JsData for Rc<T>

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> JsData for (A, B, C, D, E, F, G, H, I, J, K, L)

    source§

    impl JsData for bool

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> JsData for (A, B, C, D, E, F, G, H, I, J, K)

    source§

    impl JsData for NonZeroU32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl JsData for NonZeroIsize

    source§

    impl<T: Eq + Hash, S: BuildHasher> JsData for HashSet<T, S>

    source§

    impl<Ret, A, B> JsData for fn(_: A, _: B) -> Ret

    source§

    impl JsData for f64

    source§

    impl JsData for NonZeroI128

    source§

    impl<A, B, C, D, E, F, G, H> JsData for (A, B, C, D, E, F, G, H)

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T, E> JsData for Result<T, E>

    source§

    impl<Ret, A, B, C, D, E, F> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for Gc<T>

    source§

    impl JsData for u64

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D, E, F, G> JsData for (A, B, C, D, E, F, G)

    source§

    impl<K, V> JsData for BTreeMap<K, V>

    source§

    impl JsData for u128

    source§

    impl<Ret> JsData for unsafe fn() -> Ret

    source§

    impl JsData for isize

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl JsData for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D> JsData for (A, B, C, D)

    source§

    impl<T> JsData for BTreeSet<T>

    source§

    impl JsData for AtomicU8

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl JsData for char

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u8

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for AtomicIsize

    source§

    impl<Ret> JsData for unsafe extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C> JsData for fn(_: A, _: B, _: C) -> Ret

    source§

    impl JsData for f32

    source§

    impl<T: Trace + ?Sized, V: Trace> JsData for Ephemeron<T, V>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T> JsData for Option<T>

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl JsData for AtomicUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for i32

    source§

    impl<T> JsData for ThinVec<T>

    source§

    impl JsData for AtomicI32

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl JsData for i64

    source§

    impl<A, B> JsData for (A, B)

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl JsData for NonZeroU128

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<Ret, A> JsData for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for WeakGc<T>

    source§

    impl<T> JsData for VecDeque<T>

    source§

    impl JsData for i128

    source§

    impl<Ret, A> JsData for unsafe fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for NonZeroUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<T: Eq + Hash> JsData for LinkedList<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for Path

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T> JsData for PhantomData<T>

    source§

    impl JsData for ()

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<T: ?Sized> JsData for Box<T>

    source§

    impl<T: Ord> JsData for BinaryHeap<T>

    source§

    impl JsData for AtomicI64

    source§

    impl JsData for AtomicU32

    source§

    impl JsData for NonZeroI32

    source§

    impl<T, const N: usize> JsData for [T; N]

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for String

    source§

    impl<A, B, C, D, E, F, G, H, I, J> JsData for (A, B, C, D, E, F, G, H, I, J)

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret> JsData for extern "C" fn() -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> JsData for (A, B, C, D, E, F, G, H, I)

    source§

    impl JsData for AtomicI8

    source§

    impl<T: ToOwned + ?Sized> JsData for Cow<'static, T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B> JsData for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl JsData for NonZeroU8

    source§

    impl<T> JsData for Cell<Option<T>>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<A, B, C> JsData for (A, B, C)

    source§

    impl<Ret, A, B, C, D, E> JsData for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<T> JsData for Vec<T>

    source§

    impl JsData for NonZeroI8

    source§

    impl JsData for PathBuf

    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    source§

    impl JsData for u16

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl JsData for AtomicU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl JsData for AtomicU16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl JsData for TypeId

    source§

    impl<A> JsData for (A,)

    source§

    impl JsData for AtomicI16

    source§

    impl<Ret> JsData for fn() -> Ret

    source§

    impl JsData for NonZeroI16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl JsData for NonZeroU16

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for GcRefCell<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> JsData for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E> JsData for (A, B, C, D, E)

    source§

    impl JsData for i8

    source§

    impl JsData for NonZeroI64

    source§

    impl JsData for Locale

    source§

    impl JsData for NonZeroU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u32

    Implementors§

    source§

    impl JsData for ErrorObject

    source§

    impl JsData for JsBigInt

    source§

    impl JsData for ArrayIterator

    source§

    impl JsData for Array

    source§

    impl JsData for SharedArrayBuffer

    source§

    impl JsData for ArrayBuffer

    source§

    impl JsData for AsyncGenerator

    source§

    impl JsData for DataView

    source§

    impl JsData for Date

    source§

    impl JsData for MappedArguments

    source§

    impl JsData for UnmappedArguments

    source§

    impl JsData for BoundFunction

    source§

    impl JsData for OrdinaryFunction

    source§

    impl JsData for Generator

    source§

    impl JsData for Collator

    source§

    impl JsData for DateTimeFormat

    source§

    impl JsData for ListFormat

    source§

    impl JsData for PluralRules

    source§

    impl JsData for SegmentIterator

    source§

    impl JsData for Segments

    source§

    impl JsData for Segmenter

    source§

    impl JsData for AsyncFromSyncIterator

    source§

    impl JsData for MapIterator

    source§

    impl JsData for ForInIterator

    source§

    impl JsData for OrdinaryObject

    source§

    impl JsData for Promise

    source§

    impl JsData for Proxy

    source§

    impl JsData for RegExpStringIterator

    source§

    impl JsData for RegExp

    source§

    impl JsData for OrderedSet

    source§

    impl JsData for SetIterator

    source§

    impl JsData for StringIterator

    source§

    impl JsData for Calendar

    source§

    impl JsData for Duration

    source§

    impl JsData for Instant

    source§

    impl JsData for PlainDate

    source§

    impl JsData for PlainDateTime

    source§

    impl JsData for PlainMonthDay

    source§

    impl JsData for PlainYearMonth

    source§

    impl JsData for TimeZone

    source§

    impl JsData for ZonedDateTime

    source§

    impl JsData for TypedArray

    source§

    impl JsData for ModuleNamespace

    source§

    impl JsData for NativeFunctionObject

    source§

    impl JsData for JsString

    source§

    impl JsData for JsSymbol

    source§

    impl<V> JsData for OrderedMap<V>

    \ No newline at end of file +

    Implementations on Foreign Types§

    source§

    impl<A, B, C, D, E, F> JsData for (A, B, C, D, E, F)

    source§

    impl JsData for AtomicBool

    source§

    impl JsData for usize

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<T: ?Sized> JsData for Rc<T>

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> JsData for (A, B, C, D, E, F, G, H, I, J, K, L)

    source§

    impl JsData for bool

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> JsData for (A, B, C, D, E, F, G, H, I, J, K)

    source§

    impl JsData for NonZeroU32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl JsData for NonZeroIsize

    source§

    impl<T: Eq + Hash, S: BuildHasher> JsData for HashSet<T, S>

    source§

    impl<Ret, A, B> JsData for fn(_: A, _: B) -> Ret

    source§

    impl JsData for f64

    source§

    impl JsData for NonZeroI128

    source§

    impl<A, B, C, D, E, F, G, H> JsData for (A, B, C, D, E, F, G, H)

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T, E> JsData for Result<T, E>

    source§

    impl<Ret, A, B, C, D, E, F> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for Gc<T>

    source§

    impl JsData for u64

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D, E, F, G> JsData for (A, B, C, D, E, F, G)

    source§

    impl<K, V> JsData for BTreeMap<K, V>

    source§

    impl JsData for u128

    source§

    impl<Ret> JsData for unsafe fn() -> Ret

    source§

    impl JsData for isize

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl JsData for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D> JsData for (A, B, C, D)

    source§

    impl<T> JsData for BTreeSet<T>

    source§

    impl JsData for AtomicU8

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl JsData for char

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u8

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for AtomicIsize

    source§

    impl<Ret> JsData for unsafe extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C> JsData for fn(_: A, _: B, _: C) -> Ret

    source§

    impl JsData for f32

    source§

    impl<T: Trace + ?Sized, V: Trace> JsData for Ephemeron<T, V>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T> JsData for Option<T>

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl JsData for AtomicUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for i32

    source§

    impl<T> JsData for ThinVec<T>

    source§

    impl JsData for AtomicI32

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl JsData for i64

    source§

    impl<A, B> JsData for (A, B)

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl JsData for NonZeroU128

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<Ret, A> JsData for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for WeakGc<T>

    source§

    impl<T> JsData for VecDeque<T>

    source§

    impl JsData for i128

    source§

    impl<Ret, A> JsData for unsafe fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for NonZeroUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<T: Eq + Hash> JsData for LinkedList<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for Path

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T> JsData for PhantomData<T>

    source§

    impl JsData for ()

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<T: ?Sized> JsData for Box<T>

    source§

    impl<T: Ord> JsData for BinaryHeap<T>

    source§

    impl JsData for AtomicI64

    source§

    impl JsData for AtomicU32

    source§

    impl JsData for NonZeroI32

    source§

    impl<T, const N: usize> JsData for [T; N]

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for String

    source§

    impl<A, B, C, D, E, F, G, H, I, J> JsData for (A, B, C, D, E, F, G, H, I, J)

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret> JsData for extern "C" fn() -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> JsData for (A, B, C, D, E, F, G, H, I)

    source§

    impl JsData for AtomicI8

    source§

    impl<T: ToOwned + ?Sized> JsData for Cow<'static, T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B> JsData for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl JsData for NonZeroU8

    source§

    impl<T> JsData for Cell<Option<T>>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<A, B, C> JsData for (A, B, C)

    source§

    impl<Ret, A, B, C, D, E> JsData for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<T> JsData for Vec<T>

    source§

    impl JsData for NonZeroI8

    source§

    impl JsData for PathBuf

    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    source§

    impl JsData for u16

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl JsData for AtomicU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl JsData for AtomicU16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl JsData for TypeId

    source§

    impl<A> JsData for (A,)

    source§

    impl JsData for AtomicI16

    source§

    impl<Ret> JsData for fn() -> Ret

    source§

    impl JsData for NonZeroI16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl JsData for NonZeroU16

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for GcRefCell<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> JsData for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E> JsData for (A, B, C, D, E)

    source§

    impl JsData for i8

    source§

    impl JsData for NonZeroI64

    source§

    impl JsData for Locale

    source§

    impl JsData for NonZeroU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u32

    Implementors§

    source§

    impl JsData for ErrorObject

    source§

    impl JsData for JsBigInt

    source§

    impl JsData for ArrayIterator

    source§

    impl JsData for Array

    source§

    impl JsData for SharedArrayBuffer

    source§

    impl JsData for ArrayBuffer

    source§

    impl JsData for AsyncGenerator

    source§

    impl JsData for DataView

    source§

    impl JsData for Date

    source§

    impl JsData for MappedArguments

    source§

    impl JsData for UnmappedArguments

    source§

    impl JsData for BoundFunction

    source§

    impl JsData for OrdinaryFunction

    source§

    impl JsData for Generator

    source§

    impl JsData for Collator

    source§

    impl JsData for DateTimeFormat

    source§

    impl JsData for ListFormat

    source§

    impl JsData for PluralRules

    source§

    impl JsData for SegmentIterator

    source§

    impl JsData for Segments

    source§

    impl JsData for Segmenter

    source§

    impl JsData for AsyncFromSyncIterator

    source§

    impl JsData for MapIterator

    source§

    impl JsData for ForInIterator

    source§

    impl JsData for OrdinaryObject

    source§

    impl JsData for Promise

    source§

    impl JsData for Proxy

    source§

    impl JsData for RegExpStringIterator

    source§

    impl JsData for RegExp

    source§

    impl JsData for OrderedSet

    source§

    impl JsData for SetIterator

    source§

    impl JsData for StringIterator

    source§

    impl JsData for Calendar

    source§

    impl JsData for Duration

    source§

    impl JsData for Instant

    source§

    impl JsData for PlainDate

    source§

    impl JsData for PlainDateTime

    source§

    impl JsData for PlainMonthDay

    source§

    impl JsData for PlainYearMonth

    source§

    impl JsData for TimeZone

    source§

    impl JsData for ZonedDateTime

    source§

    impl JsData for TypedArray

    source§

    impl JsData for ModuleNamespace

    source§

    impl JsData for NativeFunctionObject

    source§

    impl JsData for JsString

    source§

    impl JsData for JsSymbol

    source§

    impl<V> JsData for OrderedMap<V>

    \ No newline at end of file diff --git a/doc/boa_engine/object/enum.PrivateElement.html b/doc/boa_engine/object/enum.PrivateElement.html index 257a301de12..5f0a6ac316a 100644 --- a/doc/boa_engine/object/enum.PrivateElement.html +++ b/doc/boa_engine/object/enum.PrivateElement.html @@ -11,7 +11,7 @@

    §

    Accessor

    Fields

    §getter: Option<JsObject>

    A getter function.

    §setter: Option<JsObject>

    A setter function.

    A private element accessor.

    -

    Trait Implementations§

    source§

    impl Clone for PrivateElement

    source§

    fn clone(&self) -> PrivateElement

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateElement

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for PrivateElement

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PrivateElement

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PrivateElement

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for PrivateElement

    source§

    fn clone(&self) -> PrivateElement

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateElement

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for PrivateElement

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PrivateElement

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PrivateElement

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/internal_methods/struct.InternalMethodContext.html b/doc/boa_engine/object/internal_methods/struct.InternalMethodContext.html index d7ff3875a94..78aee5ba987 100644 --- a/doc/boa_engine/object/internal_methods/struct.InternalMethodContext.html +++ b/doc/boa_engine/object/internal_methods/struct.InternalMethodContext.html @@ -18,8 +18,8 @@
    Examples
    on the context or JobQueue::run_jobs on the provided queue to run them.

    source

    pub fn optimize_statement_list( &mut self, - statement_list: &mut StatementList -) -> OptimizerStatistics

    Applies optimizations to the [StatementList] inplace.

    + statement_list: &mut StatementList +) -> OptimizerStatistics

    Applies optimizations to the StatementList inplace.

    source

    pub fn register_global_property<K, V>( &mut self, key: K, diff --git a/doc/boa_engine/object/jsobject/fn.upcast.html b/doc/boa_engine/object/jsobject/fn.upcast.html index 65ff69242b2..1010280885b 100644 --- a/doc/boa_engine/object/jsobject/fn.upcast.html +++ b/doc/boa_engine/object/jsobject/fn.upcast.html @@ -1,4 +1,4 @@ upcast in boa_engine::object::jsobject - Rust

    Function boa_engine::object::jsobject::upcast

    source ·
    fn upcast<T: NativeObject>(
    -    ptr: Gc<VTableObject<T>>
    -) -> Gc<VTableObject<dyn NativeObject>>
    Expand description

    Upcasts the reference to an object from a specific type T to an erased type dyn NativeObject.

    + ptr: Gc<VTableObject<T>> +) -> Gc<VTableObject<dyn NativeObject>>
    Expand description

    Upcasts the reference to an object from a specific type T to an erased type dyn NativeObject.

    \ No newline at end of file diff --git a/doc/boa_engine/object/jsobject/struct.JsObject.html b/doc/boa_engine/object/jsobject/struct.JsObject.html index afa3add9ecf..d8a0d6bff74 100644 --- a/doc/boa_engine/object/jsobject/struct.JsObject.html +++ b/doc/boa_engine/object/jsobject/struct.JsObject.html @@ -1,8 +1,8 @@ JsObject in boa_engine::object::jsobject - Rust
    pub struct JsObject {
    -    inner: Gc<VTableObject<dyn NativeObject>>,
    +    inner: Gc<VTableObject<dyn NativeObject>>,
     }
    Expand description

    Garbage collected Object.

    -

    Fields§

    §inner: Gc<VTableObject<dyn NativeObject>>

    Implementations§

    source§

    impl JsObject

    source

    pub(crate) fn from_temporal_fields( - fields: &TemporalFields, +

    Fields§

    §inner: Gc<VTableObject<dyn NativeObject>>

    Implementations§

    source§

    impl JsObject

    source

    pub(crate) fn from_temporal_fields( + fields: &TemporalFields, context: &mut Context ) -> JsResult<Self>

    source§

    impl JsObject

    source

    pub(crate) fn __get_prototype_of__( &self, @@ -259,7 +259,7 @@

    Panics
    -
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) const fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) const fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source§

    impl JsObject

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl AsRef<GcRefCell<Object<dyn NativeObject>>> for JsObject

    source§

    fn as_ref(&self) -> &GcRefCell<ErasedObject>

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for JsObject

    source§

    fn clone(&self) -> JsObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsObject

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for JsObject

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsObject

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Gc<VTableObject<dyn NativeObject>>> for JsObject

    source§

    fn from(inner: Gc<VTableObject<dyn NativeObject>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsObject> for JsValue

    source§

    fn from(object: JsObject) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsObject

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl AsRef<GcRefCell<Object<dyn NativeObject>>> for JsObject

    source§

    fn as_ref(&self) -> &GcRefCell<ErasedObject>

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for JsObject

    source§

    fn clone(&self) -> JsObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsObject

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for JsObject

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsObject

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Gc<VTableObject<dyn NativeObject>>> for JsObject

    source§

    fn from(inner: Gc<VTableObject<dyn NativeObject>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsObject> for JsValue

    source§

    fn from(object: JsObject) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsObject

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<JsObject> for JsObject

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/object/jsobject/struct.VTableObject.html b/doc/boa_engine/object/jsobject/struct.VTableObject.html index 1a0e302ee20..c3a123b66bd 100644 --- a/doc/boa_engine/object/jsobject/struct.VTableObject.html +++ b/doc/boa_engine/object/jsobject/struct.VTableObject.html @@ -1,9 +1,9 @@ VTableObject in boa_engine::object::jsobject - Rust
    pub(crate) struct VTableObject<T: NativeObject + ?Sized> {
         vtable: &'static InternalObjectMethods,
    -    object: GcRefCell<Object<T>>,
    +    object: GcRefCell<Object<T>>,
     }
    Expand description

    An Object that has an additional vtable with its internal methods.

    -

    Fields§

    §vtable: &'static InternalObjectMethods§object: GcRefCell<Object<T>>

    Trait Implementations§

    source§

    impl<T: NativeObject + ?Sized> Drop for VTableObject<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: NativeObject + ?Sized> Finalize for VTableObject<T>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where - GcRefCell<Object<T>>: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Fields§

    §vtable: &'static InternalObjectMethods§object: GcRefCell<Object<T>>

    Trait Implementations§

    source§

    impl<T: NativeObject + ?Sized> Drop for VTableObject<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: NativeObject + ?Sized> Finalize for VTableObject<T>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where + GcRefCell<Object<T>>: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl<T> !RefUnwindSafe for VTableObject<T>

    §

    impl<T> !Send for VTableObject<T>

    §

    impl<T> !Sync for VTableObject<T>

    §

    impl<T: ?Sized> Unpin for VTableObject<T>where T: Unpin,

    §

    impl<T> !UnwindSafe for VTableObject<T>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/object/jsobject/type.ErasedObject.html b/doc/boa_engine/object/jsobject/type.ErasedObject.html index 94f1cf9c889..06d93f639d4 100644 --- a/doc/boa_engine/object/jsobject/type.ErasedObject.html +++ b/doc/boa_engine/object/jsobject/type.ErasedObject.html @@ -42,5 +42,5 @@

    source

    pub fn is_typed_int32_array(&self) -> bool

    Checks if it a Int32Array object.

    source

    pub fn is_typed_float32_array(&self) -> bool

    Checks if it a Float32Array object.

    source

    pub fn is_typed_float64_array(&self) -> bool

    Checks if it a Float64Array object.

    -

    Trait Implementations§

    source§

    impl<T: Debug + ?Sized> Debug for Object<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Default> Default for Object<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ?Sized> Finalize for Object<T>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl<T: Debug + ?Sized> Debug for Object<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Default> Default for Object<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ?Sized> Finalize for Object<T>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    \ No newline at end of file diff --git a/doc/boa_engine/object/jsobject/type.ErasedVTableObject.html b/doc/boa_engine/object/jsobject/type.ErasedVTableObject.html index e7c32ea0b8d..95744616a23 100644 --- a/doc/boa_engine/object/jsobject/type.ErasedVTableObject.html +++ b/doc/boa_engine/object/jsobject/type.ErasedVTableObject.html @@ -1,6 +1,6 @@ ErasedVTableObject in boa_engine::object::jsobject - Rust
    pub(crate) type ErasedVTableObject = VTableObject<dyn NativeObject>;

    Aliased Type§

    struct ErasedVTableObject {
         vtable: &'static InternalObjectMethods,
    -    object: GcRefCell<Object<dyn NativeObject>>,
    -}

    Fields§

    §vtable: &'static InternalObjectMethods§object: GcRefCell<Object<dyn NativeObject>>

    Trait Implementations§

    source§

    impl<T: NativeObject + ?Sized> Drop for VTableObject<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: NativeObject + ?Sized> Finalize for VTableObject<T>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where - GcRefCell<Object<T>>: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all + object: GcRefCell<Object<dyn NativeObject>>, +}

    Fields§

    §vtable: &'static InternalObjectMethods§object: GcRefCell<Object<dyn NativeObject>>

    Trait Implementations§

    source§

    impl<T: NativeObject + ?Sized> Drop for VTableObject<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: NativeObject + ?Sized> Finalize for VTableObject<T>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where + GcRefCell<Object<T>>: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    \ No newline at end of file diff --git a/doc/boa_engine/object/jsobject/type.Ref.html b/doc/boa_engine/object/jsobject/type.Ref.html index 4a21984c4cf..99d3c215e1a 100644 --- a/doc/boa_engine/object/jsobject/type.Ref.html +++ b/doc/boa_engine/object/jsobject/type.Ref.html @@ -1,6 +1,6 @@ -Ref in boa_engine::object::jsobject - Rust

    Type Alias boa_engine::object::jsobject::Ref

    source ·
    pub type Ref<'a, T> = GcRef<'a, T>;
    Expand description

    A wrapper type for an immutably borrowed type T.

    +Ref in boa_engine::object::jsobject - Rust

    Type Alias boa_engine::object::jsobject::Ref

    source ·
    pub type Ref<'a, T> = GcRef<'a, T>;
    Expand description

    A wrapper type for an immutably borrowed type T.

    Aliased Type§

    struct Ref<'a, T> {
    -    flags: &'a Cell<BorrowFlag>,
    +    flags: &'a Cell<BorrowFlag>,
         value: &'a T,
    -}

    Fields§

    §flags: &'a Cell<BorrowFlag>§value: &'a T

    Trait Implementations§

    §

    impl<T> Deref for GcRef<'_, T>where - T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file +}

    Fields§

    §flags: &'a Cell<BorrowFlag>§value: &'a T

    Trait Implementations§

    source§

    impl<T> Deref for GcRef<'_, T>where + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/doc/boa_engine/object/jsobject/type.RefMut.html b/doc/boa_engine/object/jsobject/type.RefMut.html index 12534e778ae..4a05e515b57 100644 --- a/doc/boa_engine/object/jsobject/type.RefMut.html +++ b/doc/boa_engine/object/jsobject/type.RefMut.html @@ -1,7 +1,7 @@ -RefMut in boa_engine::object::jsobject - Rust

    Type Alias boa_engine::object::jsobject::RefMut

    source ·
    pub type RefMut<'a, T, U> = GcRefMut<'a, T, U>;
    Expand description

    A wrapper type for a mutably borrowed type T.

    +RefMut in boa_engine::object::jsobject - Rust

    Type Alias boa_engine::object::jsobject::RefMut

    source ·
    pub type RefMut<'a, T, U> = GcRefMut<'a, T, U>;
    Expand description

    A wrapper type for a mutably borrowed type T.

    Aliased Type§

    struct RefMut<'a, T, U> {
    -    pub(crate) gc_cell: &'a GcRefCell<T>,
    +    pub(crate) gc_cell: &'a GcRefCell<T>,
         pub(crate) value: &'a mut U,
    -}

    Fields§

    §gc_cell: &'a GcRefCell<T>§value: &'a mut U

    Trait Implementations§

    §

    impl<T, U> Deref for GcRefMut<'_, T, U>where +}

    Fields§

    §gc_cell: &'a GcRefCell<T>§value: &'a mut U

    Trait Implementations§

    source§

    impl<T, U> Deref for GcRefMut<'_, T, U>where T: Trace + ?Sized, - U: ?Sized,

    §

    type Target = U

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &U

    Dereferences the value.

    \ No newline at end of file + U: ?Sized,

    §

    type Target = U

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &U

    Dereferences the value.
    \ No newline at end of file diff --git a/doc/boa_engine/object/property_map/enum.IndexedProperties.html b/doc/boa_engine/object/property_map/enum.IndexedProperties.html index f993cde239f..cfd1ffe5d83 100644 --- a/doc/boa_engine/object/property_map/enum.IndexedProperties.html +++ b/doc/boa_engine/object/property_map/enum.IndexedProperties.html @@ -24,7 +24,7 @@

    source

    fn insert(&mut self, key: u32, property: PropertyDescriptor) -> bool

    Inserts a property descriptor with the specified key.

    source

    fn remove(&mut self, key: u32) -> bool

    Removes a property descriptor with the specified key.

    source

    fn contains_key(&self, key: u32) -> bool

    Check if we contain the key to a property descriptor.

    -
    source

    fn iter(&self) -> IndexProperties<'_>

    source

    fn keys(&self) -> IndexPropertyKeys<'_>

    source

    fn values(&self) -> IndexPropertyValues<'_>

    Trait Implementations§

    source§

    impl Debug for IndexedProperties

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for IndexedProperties

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for IndexedProperties

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IndexedProperties

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IndexedProperties

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source

    fn iter(&self) -> IndexProperties<'_>

    source

    fn keys(&self) -> IndexPropertyKeys<'_>

    source

    fn values(&self) -> IndexPropertyValues<'_>

    Trait Implementations§

    source§

    impl Debug for IndexedProperties

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for IndexedProperties

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for IndexedProperties

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for IndexedProperties

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for IndexedProperties

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/property_map/struct.OrderedHashMap.html b/doc/boa_engine/object/property_map/struct.OrderedHashMap.html index 4e1783c265f..4084b0a33fe 100644 --- a/doc/boa_engine/object/property_map/struct.OrderedHashMap.html +++ b/doc/boa_engine/object/property_map/struct.OrderedHashMap.html @@ -1,5 +1,5 @@ OrderedHashMap in boa_engine::object::property_map - Rust
    struct OrderedHashMap<K: Trace>(IndexMap<K, PropertyDescriptor, BuildHasherDefault<FxHasher>>);
    Expand description

    Wrapper around indexmap::IndexMap for usage in PropertyMap.

    -

    Tuple Fields§

    §0: IndexMap<K, PropertyDescriptor, BuildHasherDefault<FxHasher>>

    Trait Implementations§

    source§

    impl<K: Debug + Trace> Debug for OrderedHashMap<K>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<K: Trace> Default for OrderedHashMap<K>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<K: Trace> Finalize for OrderedHashMap<K>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<K: Trace> Trace for OrderedHashMap<K>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Tuple Fields§

    §0: IndexMap<K, PropertyDescriptor, BuildHasherDefault<FxHasher>>

    Trait Implementations§

    source§

    impl<K: Debug + Trace> Debug for OrderedHashMap<K>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<K: Trace> Default for OrderedHashMap<K>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<K: Trace> Finalize for OrderedHashMap<K>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<K: Trace> Trace for OrderedHashMap<K>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl<K> !RefUnwindSafe for OrderedHashMap<K>

    §

    impl<K> !Send for OrderedHashMap<K>

    §

    impl<K> !Sync for OrderedHashMap<K>

    §

    impl<K> Unpin for OrderedHashMap<K>where K: Unpin,

    §

    impl<K> !UnwindSafe for OrderedHashMap<K>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/object/property_map/struct.PropertyMap.html b/doc/boa_engine/object/property_map/struct.PropertyMap.html index 7d5b4fb9168..e824d3dcad1 100644 --- a/doc/boa_engine/object/property_map/struct.PropertyMap.html +++ b/doc/boa_engine/object/property_map/struct.PropertyMap.html @@ -45,7 +45,7 @@

    source

    pub fn index_property_values(&self) -> IndexPropertyValues<'_>

    An iterator visiting all index values in arbitrary order. The iterator element type is &'a Property.

    This iterator does not recurse down the prototype chain.

    source

    pub fn contains_key(&self, key: &PropertyKey) -> bool

    Returns true if the given key is contained in the PropertyMap.

    -

    Trait Implementations§

    source§

    impl Debug for PropertyMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PropertyMap

    source§

    fn default() -> PropertyMap

    Returns the “default value” for a type. Read more
    source§

    impl Drop for PropertyMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PropertyMap

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PropertyMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for PropertyMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PropertyMap

    source§

    fn default() -> PropertyMap

    Returns the “default value” for a type. Read more
    source§

    impl Drop for PropertyMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PropertyMap

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PropertyMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/enum.Inner.html b/doc/boa_engine/object/shape/enum.Inner.html index 89d23bce6b6..24f20e5b8f1 100644 --- a/doc/boa_engine/object/shape/enum.Inner.html +++ b/doc/boa_engine/object/shape/enum.Inner.html @@ -2,7 +2,7 @@ Unique(UniqueShape), Shared(SharedShape), }
    Expand description

    The internal representation of Shape.

    -

    Variants§

    Trait Implementations§

    source§

    impl Clone for Inner

    source§

    fn clone(&self) -> Inner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Variants§

    Trait Implementations§

    source§

    impl Clone for Inner

    source§

    fn clone(&self) -> Inner

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/enum.WeakShape.html b/doc/boa_engine/object/shape/enum.WeakShape.html index d505e9267b0..b81e324ff0f 100644 --- a/doc/boa_engine/object/shape/enum.WeakShape.html +++ b/doc/boa_engine/object/shape/enum.WeakShape.html @@ -5,7 +5,7 @@ }
    Expand description

    Represents a weak reaference to an object’s Shape.

    Variants§

    Implementations§

    source§

    impl WeakShape

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the Shape.

    Returns 0 if the shape has been freed.

    -

    Trait Implementations§

    source§

    impl Clone for WeakShape

    source§

    fn clone(&self) -> WeakShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&Shape> for WeakShape

    source§

    fn from(value: &Shape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for WeakShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for WeakShape

    source§

    fn clone(&self) -> WeakShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&Shape> for WeakShape

    source§

    fn from(value: &Shape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for WeakShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/root_shape/struct.RootShape.html b/doc/boa_engine/object/shape/root_shape/struct.RootShape.html index f76c777db1c..b1f13cf3ccc 100644 --- a/doc/boa_engine/object/shape/root_shape/struct.RootShape.html +++ b/doc/boa_engine/object/shape/root_shape/struct.RootShape.html @@ -3,7 +3,7 @@ }
    Expand description

    This is a wrapper around SharedShape that ensures it’s root shape.

    Represent the root shape that SharedShape transitions start from.

    Fields§

    §shape: SharedShape

    Implementations§

    source§

    impl RootShape

    source

    pub const fn shape(&self) -> &SharedShape

    Gets the inner SharedShape.

    -

    Trait Implementations§

    source§

    impl Clone for RootShape

    source§

    fn clone(&self) -> RootShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RootShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for RootShape

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for RootShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for RootShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for RootShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for RootShape

    source§

    fn clone(&self) -> RootShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RootShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for RootShape

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for RootShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for RootShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for RootShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.ForwardTransition.html b/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.ForwardTransition.html index 439e7cc9f4f..7428152f54b 100644 --- a/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.ForwardTransition.html +++ b/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.ForwardTransition.html @@ -1,28 +1,28 @@ ForwardTransition in boa_engine::object::shape::shared_shape::forward_transition - Rust
    pub(super) struct ForwardTransition {
    -    inner: GcRefCell<Inner>,
    +    inner: GcRefCell<Inner>,
     }
    Expand description

    Holds a forward reference to a previously created transition.

    The reference is weak, therefore it can be garbage collected, if it’s not in use.

    -

    Fields§

    §inner: GcRefCell<Inner>

    Implementations§

    source§

    impl ForwardTransition

    source

    pub(super) fn insert_property( +

    Fields§

    §inner: GcRefCell<Inner>

    Implementations§

    source§

    impl ForwardTransition

    source

    pub(super) fn insert_property( &self, key: TransitionKey, - value: &Gc<SharedShapeInner> + value: &Gc<SharedShapeInner> )

    Insert a property transition.

    source

    pub(super) fn insert_prototype( &self, key: JsPrototype, - value: &Gc<SharedShapeInner> + value: &Gc<SharedShapeInner> )

    Insert a prototype transition.

    source

    pub(super) fn get_property( &self, key: &TransitionKey -) -> Option<WeakGc<SharedShapeInner>>

    Get a property transition, return None otherwise.

    +) -> Option<WeakGc<SharedShapeInner>>

    Get a property transition, return None otherwise.

    source

    pub(super) fn get_prototype( &self, key: &JsPrototype -) -> Option<WeakGc<SharedShapeInner>>

    Get a prototype transition, return None otherwise.

    -
    source

    pub(super) fn prune_property_transitions(&self)

    Prunes the [WeakGc]s that have been garbage collected.

    -
    source

    pub(super) fn prune_prototype_transitions(&self)

    Prunes the [WeakGc]s that have been garbage collected.

    -

    Trait Implementations§

    source§

    impl Debug for ForwardTransition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ForwardTransition

    source§

    fn default() -> ForwardTransition

    Returns the “default value” for a type. Read more
    source§

    impl Drop for ForwardTransition

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ForwardTransition

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ForwardTransition

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> Option<WeakGc<SharedShapeInner>>

    Get a prototype transition, return None otherwise.

    +
    source

    pub(super) fn prune_property_transitions(&self)

    Prunes the WeakGcs that have been garbage collected.

    +
    source

    pub(super) fn prune_prototype_transitions(&self)

    Prunes the WeakGcs that have been garbage collected.

    +

    Trait Implementations§

    source§

    impl Debug for ForwardTransition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ForwardTransition

    source§

    fn default() -> ForwardTransition

    Returns the “default value” for a type. Read more
    source§

    impl Drop for ForwardTransition

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ForwardTransition

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ForwardTransition

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.Inner.html b/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.Inner.html index 1ed8cad3cc0..235d4b4b654 100644 --- a/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.Inner.html +++ b/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.Inner.html @@ -2,7 +2,7 @@ properties: Option<Box<TransitionMap<TransitionKey>>>, prototypes: Option<Box<TransitionMap<JsPrototype>>>, }
    Expand description

    The internal representation of ForwardTransition.

    -

    Fields§

    §properties: Option<Box<TransitionMap<TransitionKey>>>§prototypes: Option<Box<TransitionMap<JsPrototype>>>

    Trait Implementations§

    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Inner

    source§

    fn default() -> Inner

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Fields§

    §properties: Option<Box<TransitionMap<TransitionKey>>>§prototypes: Option<Box<TransitionMap<JsPrototype>>>

    Trait Implementations§

    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Inner

    source§

    fn default() -> Inner

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.TransitionMap.html b/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.TransitionMap.html index efdfa6d2bb3..29105183319 100644 --- a/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.TransitionMap.html +++ b/doc/boa_engine/object/shape/shared_shape/forward_transition/struct.TransitionMap.html @@ -1,10 +1,10 @@ TransitionMap in boa_engine::object::shape::shared_shape::forward_transition - Rust
    struct TransitionMap<T: Debug + Trace + Finalize> {
    -    map: FxHashMap<T, WeakGc<Inner>>,
    +    map: FxHashMap<T, WeakGc<Inner>>,
         insertion_count_since_prune: u8,
     }
    Expand description

    Maps transition key type to a SharedShapeInner transition.

    -

    Fields§

    §map: FxHashMap<T, WeakGc<Inner>>§insertion_count_since_prune: u8

    This counts the number of insertions after a prune operation.

    -

    Implementations§

    Trait Implementations§

    source§

    impl<T: Debug + Debug + Trace + Finalize> Debug for TransitionMap<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Debug + Trace + Finalize> Default for TransitionMap<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: Debug + Trace + Finalize> Drop for TransitionMap<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: Debug + Trace + Finalize> Finalize for TransitionMap<T>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where - FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Fields§

    §map: FxHashMap<T, WeakGc<Inner>>§insertion_count_since_prune: u8

    This counts the number of insertions after a prune operation.

    +

    Implementations§

    Trait Implementations§

    source§

    impl<T: Debug + Debug + Trace + Finalize> Debug for TransitionMap<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Debug + Trace + Finalize> Default for TransitionMap<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: Debug + Trace + Finalize> Drop for TransitionMap<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: Debug + Trace + Finalize> Finalize for TransitionMap<T>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where + FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl<T> !RefUnwindSafe for TransitionMap<T>

    §

    impl<T> !Send for TransitionMap<T>

    §

    impl<T> !Sync for TransitionMap<T>

    §

    impl<T> Unpin for TransitionMap<T>where T: Unpin,

    §

    impl<T> !UnwindSafe for TransitionMap<T>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/object/shape/shared_shape/struct.Inner.html b/doc/boa_engine/object/shape/shared_shape/struct.Inner.html index a56320f9477..0c01c73008f 100644 --- a/doc/boa_engine/object/shape/shared_shape/struct.Inner.html +++ b/doc/boa_engine/object/shape/shared_shape/struct.Inner.html @@ -14,7 +14,7 @@

    None if it is the root shape.

    §transition_count: u16

    How many transitions have happened from the root node.

    §flags: ShapeFlags

    Flags about the shape.

    -

    Trait Implementations§

    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/shared_shape/struct.ShapeFlags.html b/doc/boa_engine/object/shape/shared_shape/struct.ShapeFlags.html index e02409332cf..5bdb9bafac9 100644 --- a/doc/boa_engine/object/shape/shared_shape/struct.ShapeFlags.html +++ b/doc/boa_engine/object/shape/shared_shape/struct.ShapeFlags.html @@ -41,7 +41,7 @@

    source§

    impl BitXor<ShapeFlags> for ShapeFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    §

    type Output = ShapeFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign<ShapeFlags> for ShapeFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    source§

    impl Clone for ShapeFlags

    source§

    fn clone(&self) -> ShapeFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ShapeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ShapeFlags

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Extend<ShapeFlags> for ShapeFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Finalize for ShapeFlags

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Flags for ShapeFlags

    source§

    const FLAGS: &'static [Flag<ShapeFlags>] = _

    The set of defined flags.
    §

    type Bits = u8

    The underlying bits type.
    source§

    fn bits(&self) -> u8

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u8) -> ShapeFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> boolwhere +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Finalize for ShapeFlags

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Flags for ShapeFlags

    source§

    const FLAGS: &'static [Flag<ShapeFlags>] = _

    The set of defined flags.
    §

    type Bits = u8

    The underlying bits type.
    source§

    fn bits(&self) -> u8

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u8) -> ShapeFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> boolwhere Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> boolwhere Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)where diff --git a/doc/boa_engine/object/shape/shared_shape/struct.SharedShape.html b/doc/boa_engine/object/shape/shared_shape/struct.SharedShape.html index 28a0fc83f27..15efa354682 100644 --- a/doc/boa_engine/object/shape/shared_shape/struct.SharedShape.html +++ b/doc/boa_engine/object/shape/shared_shape/struct.SharedShape.html @@ -1,7 +1,7 @@ SharedShape in boa_engine::object::shape::shared_shape - Rust
    pub struct SharedShape {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    Represents a shared object shape.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SharedShape

    source

    fn property_table(&self) -> &PropertyTable

    source

    fn property_count(&self) -> u32

    Return the property count that this shape owns in the PropertyTable.

    +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SharedShape

    source

    fn property_table(&self) -> &PropertyTable

    source

    fn property_count(&self) -> u32

    Return the property count that this shape owns in the PropertyTable.

    source

    fn property_index(&self) -> u32

    Return the index to the property in the the PropertyTable.

    source

    pub fn transition_count(&self) -> u16

    Getter for the transition count field.

    source

    pub fn previous(&self) -> Option<&Self>

    Getter for the previous field.

    @@ -34,7 +34,7 @@
    source

    pub(crate) fn keys(&self) -> Vec<PropertyKey>

    Gets all keys first strings then symbols in creation order.

    source

    pub(crate) fn to_unique(&self) -> UniqueShape

    Returns a new UniqueShape with the properties of the SharedShape.

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the SharedShape.

    -

    Trait Implementations§

    source§

    impl Clone for SharedShape

    source§

    fn clone(&self) -> SharedShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SharedShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SharedShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&SharedShape> for WeakSharedShape

    source§

    fn from(value: &SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<SharedShape> for Shape

    source§

    fn from(shape: SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for SharedShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for SharedShape

    source§

    fn clone(&self) -> SharedShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SharedShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SharedShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&SharedShape> for WeakSharedShape

    source§

    fn from(value: &SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<SharedShape> for Shape

    source§

    fn from(shape: SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for SharedShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/shared_shape/struct.TransitionKey.html b/doc/boa_engine/object/shape/shared_shape/struct.TransitionKey.html index 9d8e2f57aa2..35adaad2b93 100644 --- a/doc/boa_engine/object/shape/shared_shape/struct.TransitionKey.html +++ b/doc/boa_engine/object/shape/shared_shape/struct.TransitionKey.html @@ -2,7 +2,7 @@ pub(crate) property_key: PropertyKey, pub(crate) attributes: SlotAttributes, }
    Expand description

    Represent a SharedShape property transition.

    -

    Fields§

    §property_key: PropertyKey§attributes: SlotAttributes

    Trait Implementations§

    source§

    impl Clone for TransitionKey

    source§

    fn clone(&self) -> TransitionKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TransitionKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for TransitionKey

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for TransitionKey

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Fields§

    §property_key: PropertyKey§attributes: SlotAttributes

    Trait Implementations§

    source§

    impl Clone for TransitionKey

    source§

    fn clone(&self) -> TransitionKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TransitionKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for TransitionKey

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for TransitionKey

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<TransitionKey> for TransitionKey

    source§

    fn eq(&self, other: &TransitionKey) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/object/shape/shared_shape/struct.WeakSharedShape.html b/doc/boa_engine/object/shape/shared_shape/struct.WeakSharedShape.html index 8a1ec55845f..960d91b3318 100644 --- a/doc/boa_engine/object/shape/shared_shape/struct.WeakSharedShape.html +++ b/doc/boa_engine/object/shape/shared_shape/struct.WeakSharedShape.html @@ -1,9 +1,9 @@ WeakSharedShape in boa_engine::object::shape::shared_shape - Rust
    pub(crate) struct WeakSharedShape {
    -    inner: WeakGc<Inner>,
    +    inner: WeakGc<Inner>,
     }
    Expand description

    Represents a weak reference to SharedShape.

    -

    Fields§

    §inner: WeakGc<Inner>

    Implementations§

    source§

    impl WeakSharedShape

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the WeakSharedShape.

    +

    Fields§

    §inner: WeakGc<Inner>

    Implementations§

    source§

    impl WeakSharedShape

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the WeakSharedShape.

    Returns 0 if the inner SharedShape has been freed.

    -

    Trait Implementations§

    source§

    impl Clone for WeakSharedShape

    source§

    fn clone(&self) -> WeakSharedShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakSharedShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakSharedShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakSharedShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&SharedShape> for WeakSharedShape

    source§

    fn from(value: &SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for WeakSharedShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for WeakSharedShape

    source§

    fn clone(&self) -> WeakSharedShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakSharedShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakSharedShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakSharedShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&SharedShape> for WeakSharedShape

    source§

    fn from(value: &SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for WeakSharedShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/shared_shape/template/struct.ObjectTemplate.html b/doc/boa_engine/object/shape/shared_shape/template/struct.ObjectTemplate.html index f340ece44af..fe177f098b0 100644 --- a/doc/boa_engine/object/shape/shared_shape/template/struct.ObjectTemplate.html +++ b/doc/boa_engine/object/shape/shared_shape/template/struct.ObjectTemplate.html @@ -38,7 +38,7 @@ ) -> JsObject

    Create an object from the ObjectTemplate

    The storage must match the properties provided. It does not apply to the indexed propeties.

    -

    Trait Implementations§

    source§

    impl Clone for ObjectTemplate

    source§

    fn clone(&self) -> ObjectTemplate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ObjectTemplate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ObjectTemplate

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ObjectTemplate

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ObjectTemplate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for ObjectTemplate

    source§

    fn clone(&self) -> ObjectTemplate

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ObjectTemplate

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ObjectTemplate

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for ObjectTemplate

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for ObjectTemplate

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/slot/type.SlotIndex.html b/doc/boa_engine/object/shape/slot/type.SlotIndex.html index 079a9e287b1..6d20a1c74b1 100644 --- a/doc/boa_engine/object/shape/slot/type.SlotIndex.html +++ b/doc/boa_engine/object/shape/slot/type.SlotIndex.html @@ -2,5 +2,5 @@ bytes: &[u8], pc: &mut usize, _varying_kind: VaryingOperandKind -) -> Self

    source§

    impl Element for u32

    §

    type Atomic = AtomicU32

    The atomic type used for shared array buffers.
    source§

    fn from_js_value(value: &JsValue, context: &mut Context) -> JsResult<Self>

    Converts a JsValue into the native element Self.
    source§

    fn from_plain(plain: <Self::Atomic as Atomic>::Plain) -> Self

    Converts from the plain type of an atomic to Self.
    source§

    fn to_plain(self) -> <Self::Atomic as Atomic>::Plain

    Converts from Self to the plain type of an atomic.
    source§

    fn to_big_endian(self) -> Self

    Gets the big endian representation of Self.
    source§

    fn to_little_endian(self) -> Self

    Gets the little endian representation of Self.
    source§

    unsafe fn read(buffer: SliceRef<'_>) -> ElementRef<'_, Self>

    Reads Self from the buffer. Read more
    source§

    unsafe fn read_mut(buffer: SliceRefMut<'_>) -> ElementRefMut<'_, Self>

    Writes the bytes of this element into buffer. Read more
    §

    impl Finalize for u32

    §

    fn finalize(&self)

    Cleanup logic for a type.
    §

    impl Trace for u32

    §

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    §

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    §

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +) -> Self

    source§

    impl Element for u32

    §

    type Atomic = AtomicU32

    The atomic type used for shared array buffers.
    source§

    fn from_js_value(value: &JsValue, context: &mut Context) -> JsResult<Self>

    Converts a JsValue into the native element Self.
    source§

    fn from_plain(plain: <Self::Atomic as Atomic>::Plain) -> Self

    Converts from the plain type of an atomic to Self.
    source§

    fn to_plain(self) -> <Self::Atomic as Atomic>::Plain

    Converts from Self to the plain type of an atomic.
    source§

    fn to_big_endian(self) -> Self

    Gets the big endian representation of Self.
    source§

    fn to_little_endian(self) -> Self

    Gets the little endian representation of Self.
    source§

    unsafe fn read(buffer: SliceRef<'_>) -> ElementRef<'_, Self>

    Reads Self from the buffer. Read more
    source§

    unsafe fn read_mut(buffer: SliceRefMut<'_>) -> ElementRefMut<'_, Self>

    Writes the bytes of this element into buffer. Read more
    source§

    impl Finalize for u32

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for u32

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl TryFromJs for u32

    source§

    fn try_from_js(value: &JsValue, _context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl JsData for u32

    source§

    impl Readable for u32

    \ No newline at end of file diff --git a/doc/boa_engine/object/shape/struct.RootShape.html b/doc/boa_engine/object/shape/struct.RootShape.html index e9fd6a13c12..d4f40880eed 100644 --- a/doc/boa_engine/object/shape/struct.RootShape.html +++ b/doc/boa_engine/object/shape/struct.RootShape.html @@ -3,7 +3,7 @@ }
    Expand description

    This is a wrapper around SharedShape that ensures it’s root shape.

    Represent the root shape that SharedShape transitions start from.

    Fields§

    §shape: SharedShape

    Implementations§

    source§

    impl RootShape

    source

    pub const fn shape(&self) -> &SharedShape

    Gets the inner SharedShape.

    -

    Trait Implementations§

    source§

    impl Clone for RootShape

    source§

    fn clone(&self) -> RootShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RootShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for RootShape

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for RootShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for RootShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for RootShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for RootShape

    source§

    fn clone(&self) -> RootShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RootShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for RootShape

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for RootShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for RootShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for RootShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/struct.Shape.html b/doc/boa_engine/object/shape/struct.Shape.html index da0c96fa29d..5b1758c87c4 100644 --- a/doc/boa_engine/object/shape/struct.Shape.html +++ b/doc/boa_engine/object/shape/struct.Shape.html @@ -21,7 +21,7 @@

    source

    pub(crate) fn lookup(&self, key: &PropertyKey) -> Option<Slot>

    Lookup a property in the shape

    source

    pub fn keys(&self) -> Vec<PropertyKey>

    Returns the keys of the Shape, in insertion order.

    source

    pub fn to_addr_usize(&self) -> usize

    Return location in memory of the Shape.

    -

    Trait Implementations§

    source§

    impl Clone for Shape

    source§

    fn clone(&self) -> Shape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Shape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Shape

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Shape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Shape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&Shape> for WeakShape

    source§

    fn from(value: &Shape) -> Self

    Converts to this type from the input type.
    source§

    impl From<SharedShape> for Shape

    source§

    fn from(shape: SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<UniqueShape> for Shape

    source§

    fn from(shape: UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for Shape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for Shape

    source§

    fn clone(&self) -> Shape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Shape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Shape

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Shape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Shape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&Shape> for WeakShape

    source§

    fn from(value: &Shape) -> Self

    Converts to this type from the input type.
    source§

    impl From<SharedShape> for Shape

    source§

    fn from(shape: SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<UniqueShape> for Shape

    source§

    fn from(shape: UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for Shape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Shape

    §

    impl !Send for Shape

    §

    impl !Sync for Shape

    §

    impl Unpin for Shape

    §

    impl !UnwindSafe for Shape

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/struct.SharedShape.html b/doc/boa_engine/object/shape/struct.SharedShape.html index 1e20701bd71..d8fe83b4dcd 100644 --- a/doc/boa_engine/object/shape/struct.SharedShape.html +++ b/doc/boa_engine/object/shape/struct.SharedShape.html @@ -1,7 +1,7 @@ SharedShape in boa_engine::object::shape - Rust
    pub struct SharedShape {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    Represents a shared object shape.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SharedShape

    source

    fn property_table(&self) -> &PropertyTable

    source

    fn property_count(&self) -> u32

    Return the property count that this shape owns in the PropertyTable.

    +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl SharedShape

    source

    fn property_table(&self) -> &PropertyTable

    source

    fn property_count(&self) -> u32

    Return the property count that this shape owns in the PropertyTable.

    source

    fn property_index(&self) -> u32

    Return the index to the property in the the PropertyTable.

    source

    pub fn transition_count(&self) -> u16

    Getter for the transition count field.

    source

    pub fn previous(&self) -> Option<&Self>

    Getter for the previous field.

    @@ -34,7 +34,7 @@
    source

    pub(crate) fn keys(&self) -> Vec<PropertyKey>

    Gets all keys first strings then symbols in creation order.

    source

    pub(crate) fn to_unique(&self) -> UniqueShape

    Returns a new UniqueShape with the properties of the SharedShape.

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the SharedShape.

    -

    Trait Implementations§

    source§

    impl Clone for SharedShape

    source§

    fn clone(&self) -> SharedShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SharedShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SharedShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&SharedShape> for WeakSharedShape

    source§

    fn from(value: &SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<SharedShape> for Shape

    source§

    fn from(shape: SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for SharedShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for SharedShape

    source§

    fn clone(&self) -> SharedShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SharedShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SharedShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for SharedShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&SharedShape> for WeakSharedShape

    source§

    fn from(value: &SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<SharedShape> for Shape

    source§

    fn from(shape: SharedShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for SharedShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/unique_shape/struct.Inner.html b/doc/boa_engine/object/shape/unique_shape/struct.Inner.html index 17e812f7a5e..908b9aa8e71 100644 --- a/doc/boa_engine/object/shape/unique_shape/struct.Inner.html +++ b/doc/boa_engine/object/shape/unique_shape/struct.Inner.html @@ -1,10 +1,10 @@ Inner in boa_engine::object::shape::unique_shape - Rust
    struct Inner {
         property_table: RefCell<PropertyTableInner>,
    -    prototype: GcRefCell<JsPrototype>,
    +    prototype: GcRefCell<JsPrototype>,
     }
    Expand description

    The internal representation of UniqueShape.

    Fields§

    §property_table: RefCell<PropertyTableInner>

    The property table that maps a PropertyKey to a slot in the objects storage.

    -
    §prototype: GcRefCell<JsPrototype>

    The prototype of the shape.

    -

    Trait Implementations§

    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Inner

    source§

    fn default() -> Inner

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    §prototype: GcRefCell<JsPrototype>

    The prototype of the shape.

    +

    Trait Implementations§

    source§

    impl Debug for Inner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Inner

    source§

    fn default() -> Inner

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/unique_shape/struct.UniqueShape.html b/doc/boa_engine/object/shape/unique_shape/struct.UniqueShape.html index c1f2f45d186..46fdd6c5d82 100644 --- a/doc/boa_engine/object/shape/unique_shape/struct.UniqueShape.html +++ b/doc/boa_engine/object/shape/unique_shape/struct.UniqueShape.html @@ -1,10 +1,10 @@ UniqueShape in boa_engine::object::shape::unique_shape - Rust
    pub(crate) struct UniqueShape {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    Represents a Shape that is not shared with any other object.

    This is useful for objects that are inherently unique like, the builtin object.

    Cloning this does a shallow clone.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl UniqueShape

    source

    pub(crate) fn new( +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl UniqueShape

    source

    pub(crate) fn new( prototype: JsPrototype, property_table: PropertyTableInner ) -> Self

    Create a new UniqueShape.

    @@ -29,7 +29,7 @@

    This will cause the current shape to be invalidated, and a new UniqueShape will be returned.

    source

    pub(crate) fn keys(&self) -> Vec<PropertyKey>

    Gets all keys first strings then symbols in creation order.

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the UniqueShape.

    -

    Trait Implementations§

    source§

    impl Clone for UniqueShape

    source§

    fn clone(&self) -> UniqueShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UniqueShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for UniqueShape

    source§

    fn default() -> UniqueShape

    Returns the “default value” for a type. Read more
    source§

    impl Drop for UniqueShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for UniqueShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&UniqueShape> for WeakUniqueShape

    source§

    fn from(value: &UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<UniqueShape> for Shape

    source§

    fn from(shape: UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for UniqueShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for UniqueShape

    source§

    fn clone(&self) -> UniqueShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UniqueShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for UniqueShape

    source§

    fn default() -> UniqueShape

    Returns the “default value” for a type. Read more
    source§

    impl Drop for UniqueShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for UniqueShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&UniqueShape> for WeakUniqueShape

    source§

    fn from(value: &UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl From<UniqueShape> for Shape

    source§

    fn from(shape: UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for UniqueShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/shape/unique_shape/struct.WeakUniqueShape.html b/doc/boa_engine/object/shape/unique_shape/struct.WeakUniqueShape.html index 86b1820d750..7200181354a 100644 --- a/doc/boa_engine/object/shape/unique_shape/struct.WeakUniqueShape.html +++ b/doc/boa_engine/object/shape/unique_shape/struct.WeakUniqueShape.html @@ -1,9 +1,9 @@ WeakUniqueShape in boa_engine::object::shape::unique_shape - Rust
    pub(crate) struct WeakUniqueShape {
    -    inner: WeakGc<Inner>,
    +    inner: WeakGc<Inner>,
     }
    Expand description

    Represents a weak reference to UniqueShape.

    -

    Fields§

    §inner: WeakGc<Inner>

    Implementations§

    source§

    impl WeakUniqueShape

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the WeakUniqueShape.

    +

    Fields§

    §inner: WeakGc<Inner>

    Implementations§

    source§

    impl WeakUniqueShape

    source

    pub(crate) fn to_addr_usize(&self) -> usize

    Return location in memory of the WeakUniqueShape.

    Returns 0 if the inner UniqueShape has been freed.

    -

    Trait Implementations§

    source§

    impl Clone for WeakUniqueShape

    source§

    fn clone(&self) -> WeakUniqueShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakUniqueShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakUniqueShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakUniqueShape

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&UniqueShape> for WeakUniqueShape

    source§

    fn from(value: &UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for WeakUniqueShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for WeakUniqueShape

    source§

    fn clone(&self) -> WeakUniqueShape

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WeakUniqueShape

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for WeakUniqueShape

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for WeakUniqueShape

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&UniqueShape> for WeakUniqueShape

    source§

    fn from(value: &UniqueShape) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for WeakUniqueShape

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/struct.JsObject.html b/doc/boa_engine/object/struct.JsObject.html index a027fd48bf2..f35e7046f30 100644 --- a/doc/boa_engine/object/struct.JsObject.html +++ b/doc/boa_engine/object/struct.JsObject.html @@ -1,8 +1,8 @@ JsObject in boa_engine::object - Rust

    Struct boa_engine::object::JsObject

    source ·
    pub struct JsObject {
    -    inner: Gc<VTableObject<dyn NativeObject>>,
    +    inner: Gc<VTableObject<dyn NativeObject>>,
     }
    Expand description

    Garbage collected Object.

    -

    Fields§

    §inner: Gc<VTableObject<dyn NativeObject>>

    Implementations§

    source§

    impl JsObject

    source

    pub(crate) fn from_temporal_fields( - fields: &TemporalFields, +

    Fields§

    §inner: Gc<VTableObject<dyn NativeObject>>

    Implementations§

    source§

    impl JsObject

    source

    pub(crate) fn from_temporal_fields( + fields: &TemporalFields, context: &mut Context ) -> JsResult<Self>

    source§

    impl JsObject

    source

    pub(crate) fn __get_prototype_of__( &self, @@ -259,7 +259,7 @@

    Panics
    -
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) const fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    +
    source

    pub(crate) fn vtable(&self) -> &'static InternalObjectMethods

    source

    pub(crate) const fn inner(&self) -> &Gc<VTableObject<dyn NativeObject>>

    source

    pub(crate) fn private_name(&self, description: JsString) -> PrivateName

    Create a new private name with this object as the unique identifier.

    source§

    impl JsObject

    source

    pub fn is_extensible(&self, context: &mut Context) -> JsResult<bool>

    Check if object is extensible.

    More information:

    Trait Implementations§

    source§

    impl AsRef<GcRefCell<Object<dyn NativeObject>>> for JsObject

    source§

    fn as_ref(&self) -> &GcRefCell<ErasedObject>

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for JsObject

    source§

    fn clone(&self) -> JsObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsObject

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for JsObject

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsObject

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Gc<VTableObject<dyn NativeObject>>> for JsObject

    source§

    fn from(inner: Gc<VTableObject<dyn NativeObject>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsObject> for JsValue

    source§

    fn from(object: JsObject) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsObject

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl AsRef<GcRefCell<Object<dyn NativeObject>>> for JsObject

    source§

    fn as_ref(&self) -> &GcRefCell<ErasedObject>

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for JsObject

    source§

    fn clone(&self) -> JsObject

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsObject

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for JsObject

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsObject

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<Gc<VTableObject<dyn NativeObject>>> for JsObject

    source§

    fn from(inner: Gc<VTableObject<dyn NativeObject>>) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsObject

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsObject

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsObject

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsObject

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsObject

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsObject

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsObject

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsObject

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsObject

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsObject

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsObject

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsObject

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsObject

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsObject> for JsValue

    source§

    fn from(object: JsObject) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsObject

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsObject

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsObject

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsObject

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsObject

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsObject

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsObject

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsObject

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsObject

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsObject

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsObject

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<JsObject> for JsObject

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/object/struct.Object.html b/doc/boa_engine/object/struct.Object.html index 40ddecfdd64..13cf5e0345f 100644 --- a/doc/boa_engine/object/struct.Object.html +++ b/doc/boa_engine/object/struct.Object.html @@ -42,7 +42,7 @@
    source

    pub fn is_typed_int32_array(&self) -> bool

    Checks if it a Int32Array object.

    source

    pub fn is_typed_float32_array(&self) -> bool

    Checks if it a Float32Array object.

    source

    pub fn is_typed_float64_array(&self) -> bool

    Checks if it a Float64Array object.

    -

    Trait Implementations§

    source§

    impl<T: Debug + ?Sized> Debug for Object<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Default> Default for Object<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ?Sized> Finalize for Object<T>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl<T: Debug + ?Sized> Debug for Object<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Default> Default for Object<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ?Sized> Finalize for Object<T>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl<T> !RefUnwindSafe for Object<T>

    §

    impl<T> !Send for Object<T>

    §

    impl<T> !Sync for Object<T>

    §

    impl<T: ?Sized> Unpin for Object<T>where T: Unpin,

    §

    impl<T> !UnwindSafe for Object<T>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere diff --git a/doc/boa_engine/object/struct.PrivateName.html b/doc/boa_engine/object/struct.PrivateName.html index 2236af1a8cf..73310f5eed9 100644 --- a/doc/boa_engine/object/struct.PrivateName.html +++ b/doc/boa_engine/object/struct.PrivateName.html @@ -5,7 +5,7 @@

    Fields§

    §description: JsString

    The [[Description]] internal slot of the private name.

    §id: usize

    The unique identifier of the private name.

    Implementations§

    source§

    impl PrivateName

    source

    pub(crate) const fn new(description: JsString, id: usize) -> Self

    Create a new private name.

    -

    Trait Implementations§

    source§

    impl Clone for PrivateName

    source§

    fn clone(&self) -> PrivateName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for PrivateName

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PrivateName

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<PrivateName> for PrivateName

    source§

    fn eq(&self, other: &PrivateName) -> bool

    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    source§

    impl Clone for PrivateName

    source§

    fn clone(&self) -> PrivateName

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PrivateName

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for PrivateName

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PrivateName

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<PrivateName> for PrivateName

    source§

    fn eq(&self, other: &PrivateName) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for PrivateName

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for PrivateName

    source§

    impl StructuralEq for PrivateName

    source§

    impl StructuralPartialEq for PrivateName

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/object/struct.PropertyMap.html b/doc/boa_engine/object/struct.PropertyMap.html index f096cad9d5f..848b63859ac 100644 --- a/doc/boa_engine/object/struct.PropertyMap.html +++ b/doc/boa_engine/object/struct.PropertyMap.html @@ -45,7 +45,7 @@

    source

    pub fn index_property_values(&self) -> IndexPropertyValues<'_>

    An iterator visiting all index values in arbitrary order. The iterator element type is &'a Property.

    This iterator does not recurse down the prototype chain.

    source

    pub fn contains_key(&self, key: &PropertyKey) -> bool

    Returns true if the given key is contained in the PropertyMap.

    -

    Trait Implementations§

    source§

    impl Debug for PropertyMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PropertyMap

    source§

    fn default() -> PropertyMap

    Returns the “default value” for a type. Read more
    source§

    impl Drop for PropertyMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PropertyMap

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PropertyMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Debug for PropertyMap

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PropertyMap

    source§

    fn default() -> PropertyMap

    Returns the “default value” for a type. Read more
    source§

    impl Drop for PropertyMap

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PropertyMap

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for PropertyMap

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/object/trait.JsData.html b/doc/boa_engine/object/trait.JsData.html index 79a9d797c47..dfb3d65bb8e 100644 --- a/doc/boa_engine/object/trait.JsData.html +++ b/doc/boa_engine/object/trait.JsData.html @@ -13,4 +13,4 @@

    Example

    JsObject::from_proto_and_data(None, CustomStruct { counter: 5 }); assert_eq!(object.downcast_ref::<CustomStruct>().unwrap().counter, 5);

    -

    Implementations on Foreign Types§

    source§

    impl<A, B, C, D, E, F> JsData for (A, B, C, D, E, F)

    source§

    impl JsData for AtomicBool

    source§

    impl JsData for usize

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<T: ?Sized> JsData for Rc<T>

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> JsData for (A, B, C, D, E, F, G, H, I, J, K, L)

    source§

    impl JsData for bool

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> JsData for (A, B, C, D, E, F, G, H, I, J, K)

    source§

    impl JsData for NonZeroU32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl JsData for NonZeroIsize

    source§

    impl<T: Eq + Hash, S: BuildHasher> JsData for HashSet<T, S>

    source§

    impl<Ret, A, B> JsData for fn(_: A, _: B) -> Ret

    source§

    impl JsData for f64

    source§

    impl JsData for NonZeroI128

    source§

    impl<A, B, C, D, E, F, G, H> JsData for (A, B, C, D, E, F, G, H)

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T, E> JsData for Result<T, E>

    source§

    impl<Ret, A, B, C, D, E, F> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for Gc<T>

    source§

    impl JsData for u64

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D, E, F, G> JsData for (A, B, C, D, E, F, G)

    source§

    impl<K, V> JsData for BTreeMap<K, V>

    source§

    impl JsData for u128

    source§

    impl<Ret> JsData for unsafe fn() -> Ret

    source§

    impl JsData for isize

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl JsData for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D> JsData for (A, B, C, D)

    source§

    impl<T> JsData for BTreeSet<T>

    source§

    impl JsData for AtomicU8

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl JsData for char

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u8

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for AtomicIsize

    source§

    impl<Ret> JsData for unsafe extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C> JsData for fn(_: A, _: B, _: C) -> Ret

    source§

    impl JsData for f32

    source§

    impl<T: Trace + ?Sized, V: Trace> JsData for Ephemeron<T, V>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T> JsData for Option<T>

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl JsData for AtomicUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for i32

    source§

    impl<T> JsData for ThinVec<T>

    source§

    impl JsData for AtomicI32

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl JsData for i64

    source§

    impl<A, B> JsData for (A, B)

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl JsData for NonZeroU128

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<Ret, A> JsData for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for WeakGc<T>

    source§

    impl<T> JsData for VecDeque<T>

    source§

    impl JsData for i128

    source§

    impl<Ret, A> JsData for unsafe fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for NonZeroUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<T: Eq + Hash> JsData for LinkedList<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for Path

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T> JsData for PhantomData<T>

    source§

    impl JsData for ()

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<T: ?Sized> JsData for Box<T>

    source§

    impl<T: Ord> JsData for BinaryHeap<T>

    source§

    impl JsData for AtomicI64

    source§

    impl JsData for AtomicU32

    source§

    impl JsData for NonZeroI32

    source§

    impl<T, const N: usize> JsData for [T; N]

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for String

    source§

    impl<A, B, C, D, E, F, G, H, I, J> JsData for (A, B, C, D, E, F, G, H, I, J)

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret> JsData for extern "C" fn() -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> JsData for (A, B, C, D, E, F, G, H, I)

    source§

    impl JsData for AtomicI8

    source§

    impl<T: ToOwned + ?Sized> JsData for Cow<'static, T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B> JsData for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl JsData for NonZeroU8

    source§

    impl<T> JsData for Cell<Option<T>>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<A, B, C> JsData for (A, B, C)

    source§

    impl<Ret, A, B, C, D, E> JsData for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<T> JsData for Vec<T>

    source§

    impl JsData for NonZeroI8

    source§

    impl JsData for PathBuf

    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    source§

    impl JsData for u16

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl JsData for AtomicU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl JsData for AtomicU16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl JsData for TypeId

    source§

    impl<A> JsData for (A,)

    source§

    impl JsData for AtomicI16

    source§

    impl<Ret> JsData for fn() -> Ret

    source§

    impl JsData for NonZeroI16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl JsData for NonZeroU16

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for GcRefCell<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> JsData for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E> JsData for (A, B, C, D, E)

    source§

    impl JsData for i8

    source§

    impl JsData for NonZeroI64

    source§

    impl JsData for Locale

    source§

    impl JsData for NonZeroU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u32

    Implementors§

    source§

    impl JsData for ErrorObject

    source§

    impl JsData for JsBigInt

    source§

    impl JsData for ArrayIterator

    source§

    impl JsData for Array

    source§

    impl JsData for SharedArrayBuffer

    source§

    impl JsData for ArrayBuffer

    source§

    impl JsData for AsyncGenerator

    source§

    impl JsData for DataView

    source§

    impl JsData for Date

    source§

    impl JsData for MappedArguments

    source§

    impl JsData for UnmappedArguments

    source§

    impl JsData for BoundFunction

    source§

    impl JsData for OrdinaryFunction

    source§

    impl JsData for Generator

    source§

    impl JsData for Collator

    source§

    impl JsData for DateTimeFormat

    source§

    impl JsData for ListFormat

    source§

    impl JsData for PluralRules

    source§

    impl JsData for SegmentIterator

    source§

    impl JsData for Segments

    source§

    impl JsData for Segmenter

    source§

    impl JsData for AsyncFromSyncIterator

    source§

    impl JsData for MapIterator

    source§

    impl JsData for ForInIterator

    source§

    impl JsData for OrdinaryObject

    source§

    impl JsData for Promise

    source§

    impl JsData for Proxy

    source§

    impl JsData for RegExpStringIterator

    source§

    impl JsData for RegExp

    source§

    impl JsData for OrderedSet

    source§

    impl JsData for SetIterator

    source§

    impl JsData for StringIterator

    source§

    impl JsData for Calendar

    source§

    impl JsData for Duration

    source§

    impl JsData for Instant

    source§

    impl JsData for PlainDate

    source§

    impl JsData for PlainDateTime

    source§

    impl JsData for PlainMonthDay

    source§

    impl JsData for PlainYearMonth

    source§

    impl JsData for TimeZone

    source§

    impl JsData for ZonedDateTime

    source§

    impl JsData for TypedArray

    source§

    impl JsData for ModuleNamespace

    source§

    impl JsData for NativeFunctionObject

    source§

    impl JsData for JsString

    source§

    impl JsData for JsSymbol

    source§

    impl<V> JsData for OrderedMap<V>

    \ No newline at end of file +

    Implementations on Foreign Types§

    source§

    impl<A, B, C, D, E, F> JsData for (A, B, C, D, E, F)

    source§

    impl JsData for AtomicBool

    source§

    impl JsData for usize

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<T: ?Sized> JsData for Rc<T>

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> JsData for (A, B, C, D, E, F, G, H, I, J, K, L)

    source§

    impl JsData for bool

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> JsData for (A, B, C, D, E, F, G, H, I, J, K)

    source§

    impl JsData for NonZeroU32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl JsData for NonZeroIsize

    source§

    impl<T: Eq + Hash, S: BuildHasher> JsData for HashSet<T, S>

    source§

    impl<Ret, A, B> JsData for fn(_: A, _: B) -> Ret

    source§

    impl JsData for f64

    source§

    impl JsData for NonZeroI128

    source§

    impl<A, B, C, D, E, F, G, H> JsData for (A, B, C, D, E, F, G, H)

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T, E> JsData for Result<T, E>

    source§

    impl<Ret, A, B, C, D, E, F> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for Gc<T>

    source§

    impl JsData for u64

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D, E, F, G> JsData for (A, B, C, D, E, F, G)

    source§

    impl<K, V> JsData for BTreeMap<K, V>

    source§

    impl JsData for u128

    source§

    impl<Ret> JsData for unsafe fn() -> Ret

    source§

    impl JsData for isize

    source§

    impl<Ret, A> JsData for extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl JsData for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<A, B, C, D> JsData for (A, B, C, D)

    source§

    impl<T> JsData for BTreeSet<T>

    source§

    impl JsData for AtomicU8

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl JsData for char

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u8

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl<K: Eq + Hash, V, S: BuildHasher> JsData for HashMap<K, V, S>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for AtomicIsize

    source§

    impl<Ret> JsData for unsafe extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C> JsData for fn(_: A, _: B, _: C) -> Ret

    source§

    impl JsData for f32

    source§

    impl<T: Trace + ?Sized, V: Trace> JsData for Ephemeron<T, V>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T> JsData for Option<T>

    source§

    impl<Ret, A, B, C> JsData for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl JsData for AtomicUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for i32

    source§

    impl<T> JsData for ThinVec<T>

    source§

    impl JsData for AtomicI32

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A> JsData for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl JsData for i64

    source§

    impl<A, B> JsData for (A, B)

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl JsData for NonZeroU128

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<Ret, A> JsData for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for WeakGc<T>

    source§

    impl<T> JsData for VecDeque<T>

    source§

    impl JsData for i128

    source§

    impl<Ret, A> JsData for unsafe fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for NonZeroUsize

    source§

    impl<Ret, A, B> JsData for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<T: Eq + Hash> JsData for LinkedList<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl JsData for Path

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<T> JsData for PhantomData<T>

    source§

    impl JsData for ()

    source§

    impl<Ret, A, B> JsData for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<T: ?Sized> JsData for Box<T>

    source§

    impl<T: Ord> JsData for BinaryHeap<T>

    source§

    impl JsData for AtomicI64

    source§

    impl JsData for AtomicU32

    source§

    impl JsData for NonZeroI32

    source§

    impl<T, const N: usize> JsData for [T; N]

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl JsData for String

    source§

    impl<A, B, C, D, E, F, G, H, I, J> JsData for (A, B, C, D, E, F, G, H, I, J)

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret> JsData for extern "C" fn() -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> JsData for (A, B, C, D, E, F, G, H, I)

    source§

    impl JsData for AtomicI8

    source§

    impl<T: ToOwned + ?Sized> JsData for Cow<'static, T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B> JsData for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl JsData for NonZeroU8

    source§

    impl<T> JsData for Cell<Option<T>>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<A, B, C> JsData for (A, B, C)

    source§

    impl<Ret, A, B, C, D, E> JsData for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D> JsData for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C> JsData for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<T> JsData for Vec<T>

    source§

    impl JsData for NonZeroI8

    source§

    impl JsData for PathBuf

    source§

    impl<K: Trace + ?Sized, V: Trace> JsData for WeakMap<K, V>

    source§

    impl JsData for u16

    source§

    impl<Ret, A, B, C, D, E, F> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl JsData for AtomicU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl JsData for AtomicU16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl JsData for TypeId

    source§

    impl<A> JsData for (A,)

    source§

    impl JsData for AtomicI16

    source§

    impl<Ret> JsData for fn() -> Ret

    source§

    impl JsData for NonZeroI16

    source§

    impl<Ret, A, B, C, D> JsData for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl JsData for NonZeroU16

    source§

    impl<Ret, A, B, C, D, E, F, G> JsData for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<T: Trace + ?Sized> JsData for GcRefCell<T>

    source§

    impl<Ret, A, B, C, D, E, F, G, H> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> JsData for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E> JsData for (A, B, C, D, E)

    source§

    impl JsData for i8

    source§

    impl JsData for NonZeroI64

    source§

    impl JsData for Locale

    source§

    impl JsData for NonZeroU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> JsData for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl JsData for u32

    Implementors§

    source§

    impl JsData for ErrorObject

    source§

    impl JsData for JsBigInt

    source§

    impl JsData for ArrayIterator

    source§

    impl JsData for Array

    source§

    impl JsData for SharedArrayBuffer

    source§

    impl JsData for ArrayBuffer

    source§

    impl JsData for AsyncGenerator

    source§

    impl JsData for DataView

    source§

    impl JsData for Date

    source§

    impl JsData for MappedArguments

    source§

    impl JsData for UnmappedArguments

    source§

    impl JsData for BoundFunction

    source§

    impl JsData for OrdinaryFunction

    source§

    impl JsData for Generator

    source§

    impl JsData for Collator

    source§

    impl JsData for DateTimeFormat

    source§

    impl JsData for ListFormat

    source§

    impl JsData for PluralRules

    source§

    impl JsData for SegmentIterator

    source§

    impl JsData for Segments

    source§

    impl JsData for Segmenter

    source§

    impl JsData for AsyncFromSyncIterator

    source§

    impl JsData for MapIterator

    source§

    impl JsData for ForInIterator

    source§

    impl JsData for OrdinaryObject

    source§

    impl JsData for Promise

    source§

    impl JsData for Proxy

    source§

    impl JsData for RegExpStringIterator

    source§

    impl JsData for RegExp

    source§

    impl JsData for OrderedSet

    source§

    impl JsData for SetIterator

    source§

    impl JsData for StringIterator

    source§

    impl JsData for Calendar

    source§

    impl JsData for Duration

    source§

    impl JsData for Instant

    source§

    impl JsData for PlainDate

    source§

    impl JsData for PlainDateTime

    source§

    impl JsData for PlainMonthDay

    source§

    impl JsData for PlainYearMonth

    source§

    impl JsData for TimeZone

    source§

    impl JsData for ZonedDateTime

    source§

    impl JsData for TypedArray

    source§

    impl JsData for ModuleNamespace

    source§

    impl JsData for NativeFunctionObject

    source§

    impl JsData for JsString

    source§

    impl JsData for JsSymbol

    source§

    impl<V> JsData for OrderedMap<V>

    \ No newline at end of file diff --git a/doc/boa_engine/object/type.ErasedObject.html b/doc/boa_engine/object/type.ErasedObject.html index 02ea82e7a70..8e4df652cf6 100644 --- a/doc/boa_engine/object/type.ErasedObject.html +++ b/doc/boa_engine/object/type.ErasedObject.html @@ -42,5 +42,5 @@

    source

    pub fn is_typed_int32_array(&self) -> bool

    Checks if it a Int32Array object.

    source

    pub fn is_typed_float32_array(&self) -> bool

    Checks if it a Float32Array object.

    source

    pub fn is_typed_float64_array(&self) -> bool

    Checks if it a Float64Array object.

    -

    Trait Implementations§

    source§

    impl<T: Debug + ?Sized> Debug for Object<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Default> Default for Object<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ?Sized> Finalize for Object<T>

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl<T: Debug + ?Sized> Debug for Object<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: Default> Default for Object<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ?Sized> Finalize for Object<T>

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    \ No newline at end of file diff --git a/doc/boa_engine/object/type.JsPrototype.html b/doc/boa_engine/object/type.JsPrototype.html index c3059c22039..5bf03bfe7ca 100644 --- a/doc/boa_engine/object/type.JsPrototype.html +++ b/doc/boa_engine/object/type.JsPrototype.html @@ -6,9 +6,9 @@ Some(JsObject), }

    Variants§

    §1.0.0

    None

    No value.

    §1.0.0

    Some(JsObject)

    Some value of type T.

    -

    Trait Implementations§

    §

    impl<T> Finalize for Option<T>where - T: Trace,

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T> IntoOrUndefined for Option<T>where - T: Into<JsValue>,

    source§

    fn into_or_undefined(self) -> JsValue

    Converts an Option<T> into a JsValue.
    §

    impl<T> Trace for Option<T>where - T: Trace,

    §

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    §

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    §

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl<T> Finalize for Option<T>where + T: Trace,

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T> IntoOrUndefined for Option<T>where + T: Into<JsValue>,

    source§

    fn into_or_undefined(self) -> JsValue

    Converts an Option<T> into a JsValue.
    source§

    impl<T> Trace for Option<T>where + T: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl<T> TryFromJs for Option<T>where T: TryFromJs,

    source§

    fn try_from_js(value: &JsValue, context: &mut Context) -> JsResult<Self>

    This function tries to convert a JavaScript value into Self.
    source§

    impl<T> JsData for Option<T>

    \ No newline at end of file diff --git a/doc/boa_engine/object/type.ObjectStorage.html b/doc/boa_engine/object/type.ObjectStorage.html index 3acdb7add88..5c587acbcc3 100644 --- a/doc/boa_engine/object/type.ObjectStorage.html +++ b/doc/boa_engine/object/type.ObjectStorage.html @@ -4066,8 +4066,8 @@
    Examples

    source§

    fn extend<I>(&mut self, iter: I)where I: IntoIterator<Item = &'a T>,

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, _: &'a T)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    1.0.0 · source§

    impl<T, A> Extend<T> for Vec<T, A>where A: Allocator,

    source§

    fn extend<I>(&mut self, iter: I)where - I: IntoIterator<Item = T>,

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: T)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl<T> Finalize for Vec<T, Global>where - T: Trace,

    §

    fn finalize(&self)

    Cleanup logic for a type.
    1.0.0 · source§

    impl<T> From<&[T]> for Vec<T, Global>where + I: IntoIterator<Item = T>,

    Extends a collection with the contents of an iterator. Read more
    source§

    fn extend_one(&mut self, item: T)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more

    source§

    impl<T> Finalize for Vec<T, Global>where + T: Trace,

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    1.0.0 · source§

    impl<T> From<&[T]> for Vec<T, Global>where T: Clone,

    source§

    fn from(s: &[T]) -> Vec<T, Global>

    Allocate a Vec<T> and fill it by cloning s’s items.

    Examples
    assert_eq!(Vec::from(&[1, 2, 3][..]), vec![1, 2, 3]);
    @@ -4212,8 +4212,8 @@
    Examples
    &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl<T> Trace for Vec<T, Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    §

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    §

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all + S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    source§

    impl<T> Trace for Vec<T, Global>where + T: Trace,

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    §

    impl<'a, T> Yokeable<'a> for Vec<T, Global>where T: 'static,

    §

    type Output = Vec<T, Global>

    This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
    §

    fn transform(&'a self) -> &'a Vec<T, Global>

    This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
    §

    fn transform_owned(self) -> Vec<T, Global>

    This method must cast self between Self<'static> and Self<'a>. Read more
    §

    unsafe fn make(from: Vec<T, Global>) -> Vec<T, Global>

    This method can be used to cast away Self<'a>’s lifetime. Read more
    §

    fn transform_mut<F>(&'a mut self, f: F)where F: 'static + for<'b> FnOnce(&'b mut <Vec<T, Global> as Yokeable<'a>>::Output),

    This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>, diff --git a/doc/boa_engine/object/type.Ref.html b/doc/boa_engine/object/type.Ref.html index cec8188df10..b7341200b6e 100644 --- a/doc/boa_engine/object/type.Ref.html +++ b/doc/boa_engine/object/type.Ref.html @@ -1,6 +1,6 @@ -Ref in boa_engine::object - Rust

    Type Alias boa_engine::object::Ref

    source ·
    pub type Ref<'a, T> = GcRef<'a, T>;
    Expand description

    A wrapper type for an immutably borrowed type T.

    +Ref in boa_engine::object - Rust

    Type Alias boa_engine::object::Ref

    source ·
    pub type Ref<'a, T> = GcRef<'a, T>;
    Expand description

    A wrapper type for an immutably borrowed type T.

    Aliased Type§

    struct Ref<'a, T> {
    -    flags: &'a Cell<BorrowFlag>,
    +    flags: &'a Cell<BorrowFlag>,
         value: &'a T,
    -}

    Fields§

    §flags: &'a Cell<BorrowFlag>§value: &'a T

    Trait Implementations§

    §

    impl<T> Deref for GcRef<'_, T>where - T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file +}

    Fields§

    §flags: &'a Cell<BorrowFlag>§value: &'a T

    Trait Implementations§

    source§

    impl<T> Deref for GcRef<'_, T>where + T: ?Sized,

    §

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    \ No newline at end of file diff --git a/doc/boa_engine/object/type.RefMut.html b/doc/boa_engine/object/type.RefMut.html index 9b4d87b46af..9ae4ae7db86 100644 --- a/doc/boa_engine/object/type.RefMut.html +++ b/doc/boa_engine/object/type.RefMut.html @@ -1,7 +1,7 @@ -RefMut in boa_engine::object - Rust

    Type Alias boa_engine::object::RefMut

    source ·
    pub type RefMut<'a, T, U> = GcRefMut<'a, T, U>;
    Expand description

    A wrapper type for a mutably borrowed type T.

    +RefMut in boa_engine::object - Rust

    Type Alias boa_engine::object::RefMut

    source ·
    pub type RefMut<'a, T, U> = GcRefMut<'a, T, U>;
    Expand description

    A wrapper type for a mutably borrowed type T.

    Aliased Type§

    struct RefMut<'a, T, U> {
    -    pub(crate) gc_cell: &'a GcRefCell<T>,
    +    pub(crate) gc_cell: &'a GcRefCell<T>,
         pub(crate) value: &'a mut U,
    -}

    Fields§

    §gc_cell: &'a GcRefCell<T>§value: &'a mut U

    Trait Implementations§

    §

    impl<T, U> Deref for GcRefMut<'_, T, U>where +}

    Fields§

    §gc_cell: &'a GcRefCell<T>§value: &'a mut U

    Trait Implementations§

    source§

    impl<T, U> Deref for GcRefMut<'_, T, U>where T: Trace + ?Sized, - U: ?Sized,

    §

    type Target = U

    The resulting type after dereferencing.
    §

    fn deref(&self) -> &U

    Dereferences the value.

    \ No newline at end of file + U: ?Sized,
    §

    type Target = U

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &U

    Dereferences the value.
    \ No newline at end of file diff --git a/doc/boa_engine/optimizer/pass/constant_folding/fn.js_value_to_literal.html b/doc/boa_engine/optimizer/pass/constant_folding/fn.js_value_to_literal.html index 702d0b00962..fe36bf7fddc 100644 --- a/doc/boa_engine/optimizer/pass/constant_folding/fn.js_value_to_literal.html +++ b/doc/boa_engine/optimizer/pass/constant_folding/fn.js_value_to_literal.html @@ -1 +1 @@ -js_value_to_literal in boa_engine::optimizer::pass::constant_folding - Rust
    fn js_value_to_literal(value: JsValue, context: &mut Context) -> Literal
    \ No newline at end of file +js_value_to_literal in boa_engine::optimizer::pass::constant_folding - Rust
    fn js_value_to_literal(value: JsValue, context: &mut Context) -> Literal
    \ No newline at end of file diff --git a/doc/boa_engine/optimizer/pass/constant_folding/fn.literal_to_js_value.html b/doc/boa_engine/optimizer/pass/constant_folding/fn.literal_to_js_value.html index e6835bbad4f..37aa698a88a 100644 --- a/doc/boa_engine/optimizer/pass/constant_folding/fn.literal_to_js_value.html +++ b/doc/boa_engine/optimizer/pass/constant_folding/fn.literal_to_js_value.html @@ -1 +1 @@ -literal_to_js_value in boa_engine::optimizer::pass::constant_folding - Rust
    fn literal_to_js_value(literal: &Literal, context: &mut Context) -> JsValue
    \ No newline at end of file +literal_to_js_value in boa_engine::optimizer::pass::constant_folding - Rust
    fn literal_to_js_value(literal: &Literal, context: &mut Context) -> JsValue
    \ No newline at end of file diff --git a/doc/boa_engine/optimizer/pass/constant_folding/struct.ConstantFolding.html b/doc/boa_engine/optimizer/pass/constant_folding/struct.ConstantFolding.html index 06bcaaba2a7..50d4d0fcd02 100644 --- a/doc/boa_engine/optimizer/pass/constant_folding/struct.ConstantFolding.html +++ b/doc/boa_engine/optimizer/pass/constant_folding/struct.ConstantFolding.html @@ -1,13 +1,13 @@ ConstantFolding in boa_engine::optimizer::pass::constant_folding - Rust
    pub(crate) struct ConstantFolding {}

    Implementations§

    source§

    impl ConstantFolding

    source

    pub(crate) fn fold_expression( - expr: &mut Expression, + expr: &mut Expression, context: &mut Context -) -> PassAction<Expression>

    source

    fn constant_fold_unary_expr( - unary: &mut Unary, +) -> PassAction<Expression>

    source

    fn constant_fold_unary_expr( + unary: &mut Unary, context: &mut Context -) -> PassAction<Expression>

    source

    fn constant_fold_binary_expr( - binary: &mut Binary, +) -> PassAction<Expression>

    source

    fn constant_fold_binary_expr( + binary: &mut Binary, context: &mut Context -) -> PassAction<Expression>

    Trait Implementations§

    source§

    impl Debug for ConstantFolding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ConstantFolding

    source§

    fn default() -> ConstantFolding

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere +) -> PassAction<Expression>

    Trait Implementations§

    source§

    impl Debug for ConstantFolding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ConstantFolding

    source§

    fn default() -> ConstantFolding

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for ConstantFolding

    §

    impl Send for ConstantFolding

    §

    impl Sync for ConstantFolding

    §

    impl Unpin for ConstantFolding

    §

    impl UnwindSafe for ConstantFolding

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/optimizer/struct.Optimizer.html b/doc/boa_engine/optimizer/struct.Optimizer.html index 5a98a1d6531..ba2212be710 100644 --- a/doc/boa_engine/optimizer/struct.Optimizer.html +++ b/doc/boa_engine/optimizer/struct.Optimizer.html @@ -3,289 +3,289 @@ context: &'context mut Context, }
    Expand description

    This represents an AST optimizer.

    Fields§

    §statistics: OptimizerStatistics§context: &'context mut Context

    Implementations§

    source§

    impl<'context> Optimizer<'context>

    source

    pub(crate) fn new(context: &'context mut Context) -> Self

    Create a optimizer.

    -
    source

    fn run_constant_folding_pass(&mut self, expr: &mut Expression) -> bool

    Run the constant folding optimization on an expression.

    -
    source

    fn run_all(&mut self, expr: &mut Expression)

    source

    pub(crate) fn apply( +

    source

    fn run_constant_folding_pass(&mut self, expr: &mut Expression) -> bool

    Run the constant folding optimization on an expression.

    +
    source

    fn run_all(&mut self, expr: &mut Expression)

    source

    pub(crate) fn apply( &mut self, - statement_list: &mut StatementList + statement_list: &mut StatementList ) -> OptimizerStatistics

    Apply optimizations inplace.

    -

    Trait Implementations§

    source§

    impl<'context> Debug for Optimizer<'context>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'ast> VisitorMut<'ast> for Optimizer<'_>

    §

    type BreakTy = ()

    Type which will be propagated from the visitor if completing early.
    source§

    fn visit_expression_mut( +

    Trait Implementations§

    source§

    impl<'context> Debug for Optimizer<'context>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'ast> VisitorMut<'ast> for Optimizer<'_>

    §

    type BreakTy = ()

    Type which will be propagated from the visitor if completing early.
    source§

    fn visit_expression_mut( &mut self, - node: &'ast mut Expression -) -> ControlFlow<Self::BreakTy>

    Visits a Expression with this visitor, mutably
    §

    fn visit_script_mut( + node: &'ast mut Expression +) -> ControlFlow<Self::BreakTy>

    Visits a Expression with this visitor, mutably
    source§

    fn visit_script_mut( &mut self, - node: &'ast mut Script -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Script with this visitor, mutably
    §

    fn visit_module_mut( + node: &'ast mut Script +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Script with this visitor, mutably
    source§

    fn visit_module_mut( &mut self, - node: &'ast mut Module -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Module with this visitor, mutably
    §

    fn visit_statement_list_mut( + node: &'ast mut Module +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Module with this visitor, mutably
    source§

    fn visit_statement_list_mut( &mut self, - node: &'ast mut StatementList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementList with this visitor, mutably
    §

    fn visit_statement_list_item_mut( + node: &'ast mut StatementList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementList with this visitor, mutably
    source§

    fn visit_statement_list_item_mut( &mut self, - node: &'ast mut StatementListItem -) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementListItem with this visitor, mutably
    §

    fn visit_statement_mut( + node: &'ast mut StatementListItem +) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementListItem with this visitor, mutably
    source§

    fn visit_statement_mut( &mut self, - node: &'ast mut Statement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Statement with this visitor, mutably
    §

    fn visit_declaration_mut( + node: &'ast mut Statement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Statement with this visitor, mutably
    source§

    fn visit_declaration_mut( &mut self, - node: &'ast mut Declaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Declaration with this visitor, mutably
    §

    fn visit_function_mut( + node: &'ast mut Declaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Declaration with this visitor, mutably
    source§

    fn visit_function_mut( &mut self, - node: &'ast mut Function -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Function with this visitor, mutably
    §

    fn visit_generator_mut( + node: &'ast mut Function +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Function with this visitor, mutably
    source§

    fn visit_generator_mut( &mut self, - node: &'ast mut Generator -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Generator with this visitor, mutably
    §

    fn visit_async_function_mut( + node: &'ast mut Generator +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Generator with this visitor, mutably
    source§

    fn visit_async_function_mut( &mut self, - node: &'ast mut AsyncFunction -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncFunction with this visitor, mutably
    §

    fn visit_async_generator_mut( + node: &'ast mut AsyncFunction +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncFunction with this visitor, mutably
    source§

    fn visit_async_generator_mut( &mut self, - node: &'ast mut AsyncGenerator -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncGenerator with this visitor, mutably
    §

    fn visit_class_mut( + node: &'ast mut AsyncGenerator +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncGenerator with this visitor, mutably
    source§

    fn visit_class_mut( &mut self, - node: &'ast mut Class -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Class with this visitor, mutably
    §

    fn visit_lexical_declaration_mut( + node: &'ast mut Class +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Class with this visitor, mutably
    source§

    fn visit_lexical_declaration_mut( &mut self, - node: &'ast mut LexicalDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a LexicalDeclaration with this visitor, mutably
    §

    fn visit_block_mut( + node: &'ast mut LexicalDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a LexicalDeclaration with this visitor, mutably
    source§

    fn visit_block_mut( &mut self, - node: &'ast mut Block -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Block with this visitor, mutably
    §

    fn visit_var_declaration_mut( + node: &'ast mut Block +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Block with this visitor, mutably
    source§

    fn visit_var_declaration_mut( &mut self, - node: &'ast mut VarDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a VarDeclaration with this visitor, mutably
    §

    fn visit_if_mut(&mut self, node: &'ast mut If) -> ControlFlow<Self::BreakTy, ()>

    Visits a If with this visitor, mutably
    §

    fn visit_do_while_loop_mut( + node: &'ast mut VarDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a VarDeclaration with this visitor, mutably
    source§

    fn visit_if_mut(&mut self, node: &'ast mut If) -> ControlFlow<Self::BreakTy, ()>

    Visits a If with this visitor, mutably
    source§

    fn visit_do_while_loop_mut( &mut self, - node: &'ast mut DoWhileLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a DoWhileLoop with this visitor, mutably
    §

    fn visit_while_loop_mut( + node: &'ast mut DoWhileLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a DoWhileLoop with this visitor, mutably
    source§

    fn visit_while_loop_mut( &mut self, - node: &'ast mut WhileLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a WhileLoop with this visitor, mutably
    §

    fn visit_for_loop_mut( + node: &'ast mut WhileLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a WhileLoop with this visitor, mutably
    source§

    fn visit_for_loop_mut( &mut self, - node: &'ast mut ForLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoop with this visitor, mutably
    §

    fn visit_for_in_loop_mut( + node: &'ast mut ForLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoop with this visitor, mutably
    source§

    fn visit_for_in_loop_mut( &mut self, - node: &'ast mut ForInLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForInLoop with this visitor, mutably
    §

    fn visit_for_of_loop_mut( + node: &'ast mut ForInLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForInLoop with this visitor, mutably
    source§

    fn visit_for_of_loop_mut( &mut self, - node: &'ast mut ForOfLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForOfLoop with this visitor, mutably
    §

    fn visit_switch_mut( + node: &'ast mut ForOfLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForOfLoop with this visitor, mutably
    source§

    fn visit_switch_mut( &mut self, - node: &'ast mut Switch -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Switch with this visitor, mutably
    §

    fn visit_continue_mut( + node: &'ast mut Switch +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Switch with this visitor, mutably
    source§

    fn visit_continue_mut( &mut self, - node: &'ast mut Continue -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Continue with this visitor, mutably
    §

    fn visit_break_mut( + node: &'ast mut Continue +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Continue with this visitor, mutably
    source§

    fn visit_break_mut( &mut self, - node: &'ast mut Break -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Break with this visitor, mutably
    §

    fn visit_return_mut( + node: &'ast mut Break +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Break with this visitor, mutably
    source§

    fn visit_return_mut( &mut self, - node: &'ast mut Return -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Return with this visitor, mutably
    §

    fn visit_labelled_mut( + node: &'ast mut Return +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Return with this visitor, mutably
    source§

    fn visit_labelled_mut( &mut self, - node: &'ast mut Labelled -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Labelled with this visitor, mutably
    §

    fn visit_throw_mut( + node: &'ast mut Labelled +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Labelled with this visitor, mutably
    source§

    fn visit_throw_mut( &mut self, - node: &'ast mut Throw -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Throw with this visitor, mutably
    §

    fn visit_try_mut( + node: &'ast mut Throw +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Throw with this visitor, mutably
    source§

    fn visit_try_mut( &mut self, - node: &'ast mut Try -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Try with this visitor, mutably
    §

    fn visit_with_mut( + node: &'ast mut Try +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Try with this visitor, mutably
    source§

    fn visit_with_mut( &mut self, - node: &'ast mut With -) -> ControlFlow<Self::BreakTy, ()>

    Visits a With with this visitor, mutably
    §

    fn visit_identifier_mut( + node: &'ast mut With +) -> ControlFlow<Self::BreakTy, ()>

    Visits a With with this visitor, mutably
    source§

    fn visit_identifier_mut( &mut self, - node: &'ast mut Identifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Identifier with this visitor, mutably
    §

    fn visit_formal_parameter_list_mut( + node: &'ast mut Identifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Identifier with this visitor, mutably
    source§

    fn visit_formal_parameter_list_mut( &mut self, - node: &'ast mut FormalParameterList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameterList with this visitor, mutably
    §

    fn visit_class_element_mut( + node: &'ast mut FormalParameterList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameterList with this visitor, mutably
    source§

    fn visit_class_element_mut( &mut self, - node: &'ast mut ClassElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ClassElement with this visitor, mutably
    §

    fn visit_private_name_mut( + node: &'ast mut ClassElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ClassElement with this visitor, mutably
    source§

    fn visit_private_name_mut( &mut self, - node: &'ast mut PrivateName -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivateName with this visitor, mutably
    §

    fn visit_variable_list_mut( + node: &'ast mut PrivateName +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivateName with this visitor, mutably
    source§

    fn visit_variable_list_mut( &mut self, - node: &'ast mut VariableList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a VariableList with this visitor, mutably
    §

    fn visit_variable_mut( + node: &'ast mut VariableList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a VariableList with this visitor, mutably
    source§

    fn visit_variable_mut( &mut self, - node: &'ast mut Variable -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Variable with this visitor, mutably
    §

    fn visit_binding_mut( + node: &'ast mut Variable +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Variable with this visitor, mutably
    source§

    fn visit_binding_mut( &mut self, - node: &'ast mut Binding -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binding with this visitor, mutably
    §

    fn visit_pattern_mut( + node: &'ast mut Binding +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binding with this visitor, mutably
    source§

    fn visit_pattern_mut( &mut self, - node: &'ast mut Pattern -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Pattern with this visitor, mutably
    §

    fn visit_literal_mut( + node: &'ast mut Pattern +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Pattern with this visitor, mutably
    source§

    fn visit_literal_mut( &mut self, - node: &'ast mut Literal -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Literal with this visitor, mutably
    §

    fn visit_reg_exp_literal_mut( + node: &'ast mut Literal +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Literal with this visitor, mutably
    source§

    fn visit_reg_exp_literal_mut( &mut self, - node: &'ast mut RegExpLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a RegExpLiteral with this visitor, mutably
    §

    fn visit_array_literal_mut( + node: &'ast mut RegExpLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a RegExpLiteral with this visitor, mutably
    source§

    fn visit_array_literal_mut( &mut self, - node: &'ast mut ArrayLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayLiteral with this visitor, mutably
    §

    fn visit_object_literal_mut( + node: &'ast mut ArrayLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayLiteral with this visitor, mutably
    source§

    fn visit_object_literal_mut( &mut self, - node: &'ast mut ObjectLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectLiteral with this visitor, mutably
    §

    fn visit_spread_mut( + node: &'ast mut ObjectLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectLiteral with this visitor, mutably
    source§

    fn visit_spread_mut( &mut self, - node: &'ast mut Spread -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Spread with this visitor, mutably
    §

    fn visit_arrow_function_mut( + node: &'ast mut Spread +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Spread with this visitor, mutably
    source§

    fn visit_arrow_function_mut( &mut self, - node: &'ast mut ArrowFunction -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrowFunction with this visitor, mutably
    §

    fn visit_async_arrow_function_mut( + node: &'ast mut ArrowFunction +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrowFunction with this visitor, mutably
    source§

    fn visit_async_arrow_function_mut( &mut self, - node: &'ast mut AsyncArrowFunction -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncArrowFunction with this visitor, mutably
    §

    fn visit_template_literal_mut( + node: &'ast mut AsyncArrowFunction +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncArrowFunction with this visitor, mutably
    source§

    fn visit_template_literal_mut( &mut self, - node: &'ast mut TemplateLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateLiteral with this visitor, mutably
    §

    fn visit_property_access_mut( + node: &'ast mut TemplateLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateLiteral with this visitor, mutably
    source§

    fn visit_property_access_mut( &mut self, - node: &'ast mut PropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccess with this visitor, mutably
    §

    fn visit_new_mut( + node: &'ast mut PropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccess with this visitor, mutably
    source§

    fn visit_new_mut( &mut self, - node: &'ast mut New -) -> ControlFlow<Self::BreakTy, ()>

    Visits a New with this visitor, mutably
    §

    fn visit_call_mut( + node: &'ast mut New +) -> ControlFlow<Self::BreakTy, ()>

    Visits a New with this visitor, mutably
    source§

    fn visit_call_mut( &mut self, - node: &'ast mut Call -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Call with this visitor, mutably
    §

    fn visit_super_call_mut( + node: &'ast mut Call +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Call with this visitor, mutably
    source§

    fn visit_super_call_mut( &mut self, - node: &'ast mut SuperCall -) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperCall with this visitor, mutably
    §

    fn visit_import_call_mut( + node: &'ast mut SuperCall +) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperCall with this visitor, mutably
    source§

    fn visit_import_call_mut( &mut self, - node: &'ast mut ImportCall -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportCall with this visitor, mutably
    §

    fn visit_optional_mut( + node: &'ast mut ImportCall +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportCall with this visitor, mutably
    source§

    fn visit_optional_mut( &mut self, - node: &'ast mut Optional -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Optional with this visitor, mutably
    §

    fn visit_tagged_template_mut( + node: &'ast mut Optional +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Optional with this visitor, mutably
    source§

    fn visit_tagged_template_mut( &mut self, - node: &'ast mut TaggedTemplate -) -> ControlFlow<Self::BreakTy, ()>

    Visits a TaggedTemplate with this visitor, mutably
    §

    fn visit_assign_mut( + node: &'ast mut TaggedTemplate +) -> ControlFlow<Self::BreakTy, ()>

    Visits a TaggedTemplate with this visitor, mutably
    source§

    fn visit_assign_mut( &mut self, - node: &'ast mut Assign -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Assign with this visitor, mutably
    §

    fn visit_unary_mut( + node: &'ast mut Assign +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Assign with this visitor, mutably
    source§

    fn visit_unary_mut( &mut self, - node: &'ast mut Unary -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Unary with this visitor, mutably
    §

    fn visit_update_mut( + node: &'ast mut Unary +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Unary with this visitor, mutably
    source§

    fn visit_update_mut( &mut self, - node: &'ast mut Update -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Update with this visitor, mutably
    §

    fn visit_binary_mut( + node: &'ast mut Update +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Update with this visitor, mutably
    source§

    fn visit_binary_mut( &mut self, - node: &'ast mut Binary -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binary with this visitor, mutably
    §

    fn visit_binary_in_private_mut( + node: &'ast mut Binary +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binary with this visitor, mutably
    source§

    fn visit_binary_in_private_mut( &mut self, - node: &'ast mut BinaryInPrivate -) -> ControlFlow<Self::BreakTy, ()>

    Visits a BinaryInPrivate with this visitor, mutably
    §

    fn visit_conditional_mut( + node: &'ast mut BinaryInPrivate +) -> ControlFlow<Self::BreakTy, ()>

    Visits a BinaryInPrivate with this visitor, mutably
    source§

    fn visit_conditional_mut( &mut self, - node: &'ast mut Conditional -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Conditional with this visitor, mutably
    §

    fn visit_await_mut( + node: &'ast mut Conditional +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Conditional with this visitor, mutably
    source§

    fn visit_await_mut( &mut self, - node: &'ast mut Await -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Await with this visitor, mutably
    §

    fn visit_yield_mut( + node: &'ast mut Await +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Await with this visitor, mutably
    source§

    fn visit_yield_mut( &mut self, - node: &'ast mut Yield -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Yield with this visitor, mutably
    §

    fn visit_parenthesized_mut( + node: &'ast mut Yield +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Yield with this visitor, mutably
    source§

    fn visit_parenthesized_mut( &mut self, - node: &'ast mut Parenthesized -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Parenthesized with this visitor, mutably
    §

    fn visit_for_loop_initializer_mut( + node: &'ast mut Parenthesized +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Parenthesized with this visitor, mutably
    source§

    fn visit_for_loop_initializer_mut( &mut self, - node: &'ast mut ForLoopInitializer -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoopInitializer with this visitor, mutably
    §

    fn visit_iterable_loop_initializer_mut( + node: &'ast mut ForLoopInitializer +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoopInitializer with this visitor, mutably
    source§

    fn visit_iterable_loop_initializer_mut( &mut self, - node: &'ast mut IterableLoopInitializer -) -> ControlFlow<Self::BreakTy, ()>

    Visits a IterableLoopInitializer with this visitor, mutably
    §

    fn visit_case_mut( + node: &'ast mut IterableLoopInitializer +) -> ControlFlow<Self::BreakTy, ()>

    Visits a IterableLoopInitializer with this visitor, mutably
    source§

    fn visit_case_mut( &mut self, - node: &'ast mut Case -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Case with this visitor, mutably
    §

    fn visit_sym_mut( + node: &'ast mut Case +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Case with this visitor, mutably
    source§

    fn visit_sym_mut( &mut self, node: &'ast mut Sym -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Sym with this visitor, mutably
    §

    fn visit_labelled_item_mut( +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Sym with this visitor, mutably
    source§

    fn visit_labelled_item_mut( &mut self, - node: &'ast mut LabelledItem -) -> ControlFlow<Self::BreakTy, ()>

    Visits a LabelledItem with this visitor, mutably
    §

    fn visit_catch_mut( + node: &'ast mut LabelledItem +) -> ControlFlow<Self::BreakTy, ()>

    Visits a LabelledItem with this visitor, mutably
    source§

    fn visit_catch_mut( &mut self, - node: &'ast mut Catch -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Catch with this visitor, mutably
    §

    fn visit_finally_mut( + node: &'ast mut Catch +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Catch with this visitor, mutably
    source§

    fn visit_finally_mut( &mut self, - node: &'ast mut Finally -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Finally with this visitor, mutably
    §

    fn visit_formal_parameter_mut( + node: &'ast mut Finally +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Finally with this visitor, mutably
    source§

    fn visit_formal_parameter_mut( &mut self, - node: &'ast mut FormalParameter -) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameter with this visitor, mutably
    §

    fn visit_property_name_mut( + node: &'ast mut FormalParameter +) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameter with this visitor, mutably
    source§

    fn visit_property_name_mut( &mut self, - node: &'ast mut PropertyName -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyName with this visitor, mutably
    §

    fn visit_method_definition_mut( + node: &'ast mut PropertyName +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyName with this visitor, mutably
    source§

    fn visit_method_definition_mut( &mut self, - node: &'ast mut MethodDefinition -) -> ControlFlow<Self::BreakTy, ()>

    Visits a MethodDefinition with this visitor, mutably
    §

    fn visit_object_pattern_mut( + node: &'ast mut MethodDefinition +) -> ControlFlow<Self::BreakTy, ()>

    Visits a MethodDefinition with this visitor, mutably
    source§

    fn visit_object_pattern_mut( &mut self, - node: &'ast mut ObjectPattern -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPattern with this visitor, mutably
    §

    fn visit_array_pattern_mut( + node: &'ast mut ObjectPattern +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPattern with this visitor, mutably
    source§

    fn visit_array_pattern_mut( &mut self, - node: &'ast mut ArrayPattern -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPattern with this visitor, mutably
    §

    fn visit_property_definition_mut( + node: &'ast mut ArrayPattern +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPattern with this visitor, mutably
    source§

    fn visit_property_definition_mut( &mut self, - node: &'ast mut PropertyDefinition -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyDefinition with this visitor, mutably
    §

    fn visit_template_element_mut( + node: &'ast mut PropertyDefinition +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyDefinition with this visitor, mutably
    source§

    fn visit_template_element_mut( &mut self, - node: &'ast mut TemplateElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateElement with this visitor, mutably
    §

    fn visit_simple_property_access_mut( + node: &'ast mut TemplateElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateElement with this visitor, mutably
    source§

    fn visit_simple_property_access_mut( &mut self, - node: &'ast mut SimplePropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a SimplePropertyAccess with this visitor, mutably
    §

    fn visit_private_property_access_mut( + node: &'ast mut SimplePropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a SimplePropertyAccess with this visitor, mutably
    source§

    fn visit_private_property_access_mut( &mut self, - node: &'ast mut PrivatePropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivatePropertyAccess with this visitor, mutably
    §

    fn visit_super_property_access_mut( + node: &'ast mut PrivatePropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivatePropertyAccess with this visitor, mutably
    source§

    fn visit_super_property_access_mut( &mut self, - node: &'ast mut SuperPropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperPropertyAccess with this visitor, mutably
    §

    fn visit_optional_operation_mut( + node: &'ast mut SuperPropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperPropertyAccess with this visitor, mutably
    source§

    fn visit_optional_operation_mut( &mut self, - node: &'ast mut OptionalOperation -) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperation with this visitor, mutably
    §

    fn visit_assign_target_mut( + node: &'ast mut OptionalOperation +) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperation with this visitor, mutably
    source§

    fn visit_assign_target_mut( &mut self, - node: &'ast mut AssignTarget -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AssignTarget with this visitor, mutably
    §

    fn visit_object_pattern_element_mut( + node: &'ast mut AssignTarget +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AssignTarget with this visitor, mutably
    source§

    fn visit_object_pattern_element_mut( &mut self, - node: &'ast mut ObjectPatternElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPatternElement with this visitor, mutably
    §

    fn visit_array_pattern_element_mut( + node: &'ast mut ObjectPatternElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPatternElement with this visitor, mutably
    source§

    fn visit_array_pattern_element_mut( &mut self, - node: &'ast mut ArrayPatternElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPatternElement with this visitor, mutably
    §

    fn visit_property_access_field_mut( + node: &'ast mut ArrayPatternElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPatternElement with this visitor, mutably
    source§

    fn visit_property_access_field_mut( &mut self, - node: &'ast mut PropertyAccessField -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccessField with this visitor, mutably
    §

    fn visit_optional_operation_kind_mut( + node: &'ast mut PropertyAccessField +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccessField with this visitor, mutably
    source§

    fn visit_optional_operation_kind_mut( &mut self, - node: &'ast mut OptionalOperationKind -) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperationKind with this visitor, mutably
    §

    fn visit_module_item_list_mut( + node: &'ast mut OptionalOperationKind +) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperationKind with this visitor, mutably
    source§

    fn visit_module_item_list_mut( &mut self, - node: &'ast mut ModuleItemList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItemList with this visitor, mutably
    §

    fn visit_module_item_mut( + node: &'ast mut ModuleItemList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItemList with this visitor, mutably
    source§

    fn visit_module_item_mut( &mut self, - node: &'ast mut ModuleItem -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItem with this visitor, mutably
    §

    fn visit_module_specifier_mut( + node: &'ast mut ModuleItem +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItem with this visitor, mutably
    source§

    fn visit_module_specifier_mut( &mut self, - node: &'ast mut ModuleSpecifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleSpecifier with this visitor, mutably
    §

    fn visit_import_kind_mut( + node: &'ast mut ModuleSpecifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleSpecifier with this visitor, mutably
    source§

    fn visit_import_kind_mut( &mut self, - node: &'ast mut ImportKind -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportKind with this visitor, mutably
    §

    fn visit_import_declaration_mut( + node: &'ast mut ImportKind +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportKind with this visitor, mutably
    source§

    fn visit_import_declaration_mut( &mut self, - node: &'ast mut ImportDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportDeclaration with this visitor, mutably
    §

    fn visit_import_specifier_mut( + node: &'ast mut ImportDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportDeclaration with this visitor, mutably
    source§

    fn visit_import_specifier_mut( &mut self, - node: &'ast mut ImportSpecifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportSpecifier with this visitor, mutably
    §

    fn visit_re_export_kind_mut( + node: &'ast mut ImportSpecifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportSpecifier with this visitor, mutably
    source§

    fn visit_re_export_kind_mut( &mut self, - node: &'ast mut ReExportKind -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ReExportKind with this visitor, mutably
    §

    fn visit_export_declaration_mut( + node: &'ast mut ReExportKind +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ReExportKind with this visitor, mutably
    source§

    fn visit_export_declaration_mut( &mut self, - node: &'ast mut ExportDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportDeclaration with this visitor, mutably
    §

    fn visit_export_specifier_mut( + node: &'ast mut ExportDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportDeclaration with this visitor, mutably
    source§

    fn visit_export_specifier_mut( &mut self, - node: &'ast mut ExportSpecifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportSpecifier with this visitor, mutably
    §

    fn visit<N>(&mut self, node: N) -> ControlFlow<Self::BreakTy, ()>where - N: Into<NodeRefMut<'ast>>,

    Generic entry point for a node that is visitable by a VisitorMut. Read more

    Auto Trait Implementations§

    §

    impl<'context> !RefUnwindSafe for Optimizer<'context>

    §

    impl<'context> !Send for Optimizer<'context>

    §

    impl<'context> !Sync for Optimizer<'context>

    §

    impl<'context> Unpin for Optimizer<'context>

    §

    impl<'context> !UnwindSafe for Optimizer<'context>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere + node: &'ast mut ExportSpecifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportSpecifier with this visitor, mutably
    source§

    fn visit<N>(&mut self, node: N) -> ControlFlow<Self::BreakTy, ()>where + N: Into<NodeRefMut<'ast>>,

    Generic entry point for a node that is visitable by a VisitorMut. Read more

    Auto Trait Implementations§

    §

    impl<'context> !RefUnwindSafe for Optimizer<'context>

    §

    impl<'context> !Send for Optimizer<'context>

    §

    impl<'context> !Sync for Optimizer<'context>

    §

    impl<'context> Unpin for Optimizer<'context>

    §

    impl<'context> !UnwindSafe for Optimizer<'context>

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    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/optimizer/walker/struct.Walker.html b/doc/boa_engine/optimizer/walker/struct.Walker.html index c5da7a81b00..d0f3f5f9c23 100644 --- a/doc/boa_engine/optimizer/walker/struct.Walker.html +++ b/doc/boa_engine/optimizer/walker/struct.Walker.html @@ -1,292 +1,292 @@ Walker in boa_engine::optimizer::walker - Rust
    pub(crate) struct Walker<F>where
    -    F: FnMut(&mut Expression) -> PassAction<Expression>,{
    +    F: FnMut(&mut Expression) -> PassAction<Expression>,{
         f: F,
         changed: bool,
     }
    Expand description

    The utility structure that traverses the AST.

    Fields§

    §f: F

    The function to be applied to the node.

    §changed: bool

    Did a change happen while traversing.

    Implementations§

    source§

    impl<F> Walker<F>where - F: FnMut(&mut Expression) -> PassAction<Expression>,

    source

    pub(crate) const fn new(f: F) -> Self

    source

    pub(crate) const fn changed(&self) -> bool

    source

    pub(crate) fn walk_expression_postorder(&mut self, expr: &mut Expression)

    Walk the AST in postorder.

    -

    Trait Implementations§

    source§

    impl<'ast, F> VisitorMut<'ast> for Walker<F>where - F: FnMut(&mut Expression) -> PassAction<Expression>,

    source§

    fn visit_expression_mut( + F: FnMut(&mut Expression) -> PassAction<Expression>,

    source

    pub(crate) const fn new(f: F) -> Self

    source

    pub(crate) const fn changed(&self) -> bool

    source

    pub(crate) fn walk_expression_postorder(&mut self, expr: &mut Expression)

    Walk the AST in postorder.

    +

    Trait Implementations§

    source§

    impl<'ast, F> VisitorMut<'ast> for Walker<F>where + F: FnMut(&mut Expression) -> PassAction<Expression>,

    source§

    fn visit_expression_mut( &mut self, - expr: &'ast mut Expression -) -> ControlFlow<Self::BreakTy>

    Visits the tree in postorder.

    -
    §

    type BreakTy = Infallible

    Type which will be propagated from the visitor if completing early.
    §

    fn visit_script_mut( + expr: &'ast mut Expression +) -> ControlFlow<Self::BreakTy>

    Visits the tree in postorder.

    +
    §

    type BreakTy = Infallible

    Type which will be propagated from the visitor if completing early.
    source§

    fn visit_script_mut( &mut self, - node: &'ast mut Script -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Script with this visitor, mutably
    §

    fn visit_module_mut( + node: &'ast mut Script +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Script with this visitor, mutably
    source§

    fn visit_module_mut( &mut self, - node: &'ast mut Module -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Module with this visitor, mutably
    §

    fn visit_statement_list_mut( + node: &'ast mut Module +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Module with this visitor, mutably
    source§

    fn visit_statement_list_mut( &mut self, - node: &'ast mut StatementList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementList with this visitor, mutably
    §

    fn visit_statement_list_item_mut( + node: &'ast mut StatementList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementList with this visitor, mutably
    source§

    fn visit_statement_list_item_mut( &mut self, - node: &'ast mut StatementListItem -) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementListItem with this visitor, mutably
    §

    fn visit_statement_mut( + node: &'ast mut StatementListItem +) -> ControlFlow<Self::BreakTy, ()>

    Visits a StatementListItem with this visitor, mutably
    source§

    fn visit_statement_mut( &mut self, - node: &'ast mut Statement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Statement with this visitor, mutably
    §

    fn visit_declaration_mut( + node: &'ast mut Statement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Statement with this visitor, mutably
    source§

    fn visit_declaration_mut( &mut self, - node: &'ast mut Declaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Declaration with this visitor, mutably
    §

    fn visit_function_mut( + node: &'ast mut Declaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Declaration with this visitor, mutably
    source§

    fn visit_function_mut( &mut self, - node: &'ast mut Function -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Function with this visitor, mutably
    §

    fn visit_generator_mut( + node: &'ast mut Function +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Function with this visitor, mutably
    source§

    fn visit_generator_mut( &mut self, - node: &'ast mut Generator -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Generator with this visitor, mutably
    §

    fn visit_async_function_mut( + node: &'ast mut Generator +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Generator with this visitor, mutably
    source§

    fn visit_async_function_mut( &mut self, - node: &'ast mut AsyncFunction -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncFunction with this visitor, mutably
    §

    fn visit_async_generator_mut( + node: &'ast mut AsyncFunction +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncFunction with this visitor, mutably
    source§

    fn visit_async_generator_mut( &mut self, - node: &'ast mut AsyncGenerator -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncGenerator with this visitor, mutably
    §

    fn visit_class_mut( + node: &'ast mut AsyncGenerator +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncGenerator with this visitor, mutably
    source§

    fn visit_class_mut( &mut self, - node: &'ast mut Class -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Class with this visitor, mutably
    §

    fn visit_lexical_declaration_mut( + node: &'ast mut Class +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Class with this visitor, mutably
    source§

    fn visit_lexical_declaration_mut( &mut self, - node: &'ast mut LexicalDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a LexicalDeclaration with this visitor, mutably
    §

    fn visit_block_mut( + node: &'ast mut LexicalDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a LexicalDeclaration with this visitor, mutably
    source§

    fn visit_block_mut( &mut self, - node: &'ast mut Block -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Block with this visitor, mutably
    §

    fn visit_var_declaration_mut( + node: &'ast mut Block +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Block with this visitor, mutably
    source§

    fn visit_var_declaration_mut( &mut self, - node: &'ast mut VarDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a VarDeclaration with this visitor, mutably
    §

    fn visit_if_mut(&mut self, node: &'ast mut If) -> ControlFlow<Self::BreakTy, ()>

    Visits a If with this visitor, mutably
    §

    fn visit_do_while_loop_mut( + node: &'ast mut VarDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a VarDeclaration with this visitor, mutably
    source§

    fn visit_if_mut(&mut self, node: &'ast mut If) -> ControlFlow<Self::BreakTy, ()>

    Visits a If with this visitor, mutably
    source§

    fn visit_do_while_loop_mut( &mut self, - node: &'ast mut DoWhileLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a DoWhileLoop with this visitor, mutably
    §

    fn visit_while_loop_mut( + node: &'ast mut DoWhileLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a DoWhileLoop with this visitor, mutably
    source§

    fn visit_while_loop_mut( &mut self, - node: &'ast mut WhileLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a WhileLoop with this visitor, mutably
    §

    fn visit_for_loop_mut( + node: &'ast mut WhileLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a WhileLoop with this visitor, mutably
    source§

    fn visit_for_loop_mut( &mut self, - node: &'ast mut ForLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoop with this visitor, mutably
    §

    fn visit_for_in_loop_mut( + node: &'ast mut ForLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoop with this visitor, mutably
    source§

    fn visit_for_in_loop_mut( &mut self, - node: &'ast mut ForInLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForInLoop with this visitor, mutably
    §

    fn visit_for_of_loop_mut( + node: &'ast mut ForInLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForInLoop with this visitor, mutably
    source§

    fn visit_for_of_loop_mut( &mut self, - node: &'ast mut ForOfLoop -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForOfLoop with this visitor, mutably
    §

    fn visit_switch_mut( + node: &'ast mut ForOfLoop +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForOfLoop with this visitor, mutably
    source§

    fn visit_switch_mut( &mut self, - node: &'ast mut Switch -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Switch with this visitor, mutably
    §

    fn visit_continue_mut( + node: &'ast mut Switch +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Switch with this visitor, mutably
    source§

    fn visit_continue_mut( &mut self, - node: &'ast mut Continue -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Continue with this visitor, mutably
    §

    fn visit_break_mut( + node: &'ast mut Continue +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Continue with this visitor, mutably
    source§

    fn visit_break_mut( &mut self, - node: &'ast mut Break -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Break with this visitor, mutably
    §

    fn visit_return_mut( + node: &'ast mut Break +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Break with this visitor, mutably
    source§

    fn visit_return_mut( &mut self, - node: &'ast mut Return -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Return with this visitor, mutably
    §

    fn visit_labelled_mut( + node: &'ast mut Return +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Return with this visitor, mutably
    source§

    fn visit_labelled_mut( &mut self, - node: &'ast mut Labelled -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Labelled with this visitor, mutably
    §

    fn visit_throw_mut( + node: &'ast mut Labelled +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Labelled with this visitor, mutably
    source§

    fn visit_throw_mut( &mut self, - node: &'ast mut Throw -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Throw with this visitor, mutably
    §

    fn visit_try_mut( + node: &'ast mut Throw +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Throw with this visitor, mutably
    source§

    fn visit_try_mut( &mut self, - node: &'ast mut Try -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Try with this visitor, mutably
    §

    fn visit_with_mut( + node: &'ast mut Try +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Try with this visitor, mutably
    source§

    fn visit_with_mut( &mut self, - node: &'ast mut With -) -> ControlFlow<Self::BreakTy, ()>

    Visits a With with this visitor, mutably
    §

    fn visit_identifier_mut( + node: &'ast mut With +) -> ControlFlow<Self::BreakTy, ()>

    Visits a With with this visitor, mutably
    source§

    fn visit_identifier_mut( &mut self, - node: &'ast mut Identifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Identifier with this visitor, mutably
    §

    fn visit_formal_parameter_list_mut( + node: &'ast mut Identifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Identifier with this visitor, mutably
    source§

    fn visit_formal_parameter_list_mut( &mut self, - node: &'ast mut FormalParameterList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameterList with this visitor, mutably
    §

    fn visit_class_element_mut( + node: &'ast mut FormalParameterList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameterList with this visitor, mutably
    source§

    fn visit_class_element_mut( &mut self, - node: &'ast mut ClassElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ClassElement with this visitor, mutably
    §

    fn visit_private_name_mut( + node: &'ast mut ClassElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ClassElement with this visitor, mutably
    source§

    fn visit_private_name_mut( &mut self, - node: &'ast mut PrivateName -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivateName with this visitor, mutably
    §

    fn visit_variable_list_mut( + node: &'ast mut PrivateName +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivateName with this visitor, mutably
    source§

    fn visit_variable_list_mut( &mut self, - node: &'ast mut VariableList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a VariableList with this visitor, mutably
    §

    fn visit_variable_mut( + node: &'ast mut VariableList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a VariableList with this visitor, mutably
    source§

    fn visit_variable_mut( &mut self, - node: &'ast mut Variable -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Variable with this visitor, mutably
    §

    fn visit_binding_mut( + node: &'ast mut Variable +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Variable with this visitor, mutably
    source§

    fn visit_binding_mut( &mut self, - node: &'ast mut Binding -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binding with this visitor, mutably
    §

    fn visit_pattern_mut( + node: &'ast mut Binding +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binding with this visitor, mutably
    source§

    fn visit_pattern_mut( &mut self, - node: &'ast mut Pattern -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Pattern with this visitor, mutably
    §

    fn visit_literal_mut( + node: &'ast mut Pattern +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Pattern with this visitor, mutably
    source§

    fn visit_literal_mut( &mut self, - node: &'ast mut Literal -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Literal with this visitor, mutably
    §

    fn visit_reg_exp_literal_mut( + node: &'ast mut Literal +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Literal with this visitor, mutably
    source§

    fn visit_reg_exp_literal_mut( &mut self, - node: &'ast mut RegExpLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a RegExpLiteral with this visitor, mutably
    §

    fn visit_array_literal_mut( + node: &'ast mut RegExpLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a RegExpLiteral with this visitor, mutably
    source§

    fn visit_array_literal_mut( &mut self, - node: &'ast mut ArrayLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayLiteral with this visitor, mutably
    §

    fn visit_object_literal_mut( + node: &'ast mut ArrayLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayLiteral with this visitor, mutably
    source§

    fn visit_object_literal_mut( &mut self, - node: &'ast mut ObjectLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectLiteral with this visitor, mutably
    §

    fn visit_spread_mut( + node: &'ast mut ObjectLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectLiteral with this visitor, mutably
    source§

    fn visit_spread_mut( &mut self, - node: &'ast mut Spread -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Spread with this visitor, mutably
    §

    fn visit_arrow_function_mut( + node: &'ast mut Spread +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Spread with this visitor, mutably
    source§

    fn visit_arrow_function_mut( &mut self, - node: &'ast mut ArrowFunction -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrowFunction with this visitor, mutably
    §

    fn visit_async_arrow_function_mut( + node: &'ast mut ArrowFunction +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrowFunction with this visitor, mutably
    source§

    fn visit_async_arrow_function_mut( &mut self, - node: &'ast mut AsyncArrowFunction -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncArrowFunction with this visitor, mutably
    §

    fn visit_template_literal_mut( + node: &'ast mut AsyncArrowFunction +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AsyncArrowFunction with this visitor, mutably
    source§

    fn visit_template_literal_mut( &mut self, - node: &'ast mut TemplateLiteral -) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateLiteral with this visitor, mutably
    §

    fn visit_property_access_mut( + node: &'ast mut TemplateLiteral +) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateLiteral with this visitor, mutably
    source§

    fn visit_property_access_mut( &mut self, - node: &'ast mut PropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccess with this visitor, mutably
    §

    fn visit_new_mut( + node: &'ast mut PropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccess with this visitor, mutably
    source§

    fn visit_new_mut( &mut self, - node: &'ast mut New -) -> ControlFlow<Self::BreakTy, ()>

    Visits a New with this visitor, mutably
    §

    fn visit_call_mut( + node: &'ast mut New +) -> ControlFlow<Self::BreakTy, ()>

    Visits a New with this visitor, mutably
    source§

    fn visit_call_mut( &mut self, - node: &'ast mut Call -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Call with this visitor, mutably
    §

    fn visit_super_call_mut( + node: &'ast mut Call +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Call with this visitor, mutably
    source§

    fn visit_super_call_mut( &mut self, - node: &'ast mut SuperCall -) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperCall with this visitor, mutably
    §

    fn visit_import_call_mut( + node: &'ast mut SuperCall +) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperCall with this visitor, mutably
    source§

    fn visit_import_call_mut( &mut self, - node: &'ast mut ImportCall -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportCall with this visitor, mutably
    §

    fn visit_optional_mut( + node: &'ast mut ImportCall +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportCall with this visitor, mutably
    source§

    fn visit_optional_mut( &mut self, - node: &'ast mut Optional -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Optional with this visitor, mutably
    §

    fn visit_tagged_template_mut( + node: &'ast mut Optional +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Optional with this visitor, mutably
    source§

    fn visit_tagged_template_mut( &mut self, - node: &'ast mut TaggedTemplate -) -> ControlFlow<Self::BreakTy, ()>

    Visits a TaggedTemplate with this visitor, mutably
    §

    fn visit_assign_mut( + node: &'ast mut TaggedTemplate +) -> ControlFlow<Self::BreakTy, ()>

    Visits a TaggedTemplate with this visitor, mutably
    source§

    fn visit_assign_mut( &mut self, - node: &'ast mut Assign -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Assign with this visitor, mutably
    §

    fn visit_unary_mut( + node: &'ast mut Assign +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Assign with this visitor, mutably
    source§

    fn visit_unary_mut( &mut self, - node: &'ast mut Unary -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Unary with this visitor, mutably
    §

    fn visit_update_mut( + node: &'ast mut Unary +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Unary with this visitor, mutably
    source§

    fn visit_update_mut( &mut self, - node: &'ast mut Update -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Update with this visitor, mutably
    §

    fn visit_binary_mut( + node: &'ast mut Update +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Update with this visitor, mutably
    source§

    fn visit_binary_mut( &mut self, - node: &'ast mut Binary -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binary with this visitor, mutably
    §

    fn visit_binary_in_private_mut( + node: &'ast mut Binary +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Binary with this visitor, mutably
    source§

    fn visit_binary_in_private_mut( &mut self, - node: &'ast mut BinaryInPrivate -) -> ControlFlow<Self::BreakTy, ()>

    Visits a BinaryInPrivate with this visitor, mutably
    §

    fn visit_conditional_mut( + node: &'ast mut BinaryInPrivate +) -> ControlFlow<Self::BreakTy, ()>

    Visits a BinaryInPrivate with this visitor, mutably
    source§

    fn visit_conditional_mut( &mut self, - node: &'ast mut Conditional -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Conditional with this visitor, mutably
    §

    fn visit_await_mut( + node: &'ast mut Conditional +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Conditional with this visitor, mutably
    source§

    fn visit_await_mut( &mut self, - node: &'ast mut Await -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Await with this visitor, mutably
    §

    fn visit_yield_mut( + node: &'ast mut Await +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Await with this visitor, mutably
    source§

    fn visit_yield_mut( &mut self, - node: &'ast mut Yield -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Yield with this visitor, mutably
    §

    fn visit_parenthesized_mut( + node: &'ast mut Yield +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Yield with this visitor, mutably
    source§

    fn visit_parenthesized_mut( &mut self, - node: &'ast mut Parenthesized -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Parenthesized with this visitor, mutably
    §

    fn visit_for_loop_initializer_mut( + node: &'ast mut Parenthesized +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Parenthesized with this visitor, mutably
    source§

    fn visit_for_loop_initializer_mut( &mut self, - node: &'ast mut ForLoopInitializer -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoopInitializer with this visitor, mutably
    §

    fn visit_iterable_loop_initializer_mut( + node: &'ast mut ForLoopInitializer +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ForLoopInitializer with this visitor, mutably
    source§

    fn visit_iterable_loop_initializer_mut( &mut self, - node: &'ast mut IterableLoopInitializer -) -> ControlFlow<Self::BreakTy, ()>

    Visits a IterableLoopInitializer with this visitor, mutably
    §

    fn visit_case_mut( + node: &'ast mut IterableLoopInitializer +) -> ControlFlow<Self::BreakTy, ()>

    Visits a IterableLoopInitializer with this visitor, mutably
    source§

    fn visit_case_mut( &mut self, - node: &'ast mut Case -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Case with this visitor, mutably
    §

    fn visit_sym_mut( + node: &'ast mut Case +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Case with this visitor, mutably
    source§

    fn visit_sym_mut( &mut self, node: &'ast mut Sym -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Sym with this visitor, mutably
    §

    fn visit_labelled_item_mut( +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Sym with this visitor, mutably
    source§

    fn visit_labelled_item_mut( &mut self, - node: &'ast mut LabelledItem -) -> ControlFlow<Self::BreakTy, ()>

    Visits a LabelledItem with this visitor, mutably
    §

    fn visit_catch_mut( + node: &'ast mut LabelledItem +) -> ControlFlow<Self::BreakTy, ()>

    Visits a LabelledItem with this visitor, mutably
    source§

    fn visit_catch_mut( &mut self, - node: &'ast mut Catch -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Catch with this visitor, mutably
    §

    fn visit_finally_mut( + node: &'ast mut Catch +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Catch with this visitor, mutably
    source§

    fn visit_finally_mut( &mut self, - node: &'ast mut Finally -) -> ControlFlow<Self::BreakTy, ()>

    Visits a Finally with this visitor, mutably
    §

    fn visit_formal_parameter_mut( + node: &'ast mut Finally +) -> ControlFlow<Self::BreakTy, ()>

    Visits a Finally with this visitor, mutably
    source§

    fn visit_formal_parameter_mut( &mut self, - node: &'ast mut FormalParameter -) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameter with this visitor, mutably
    §

    fn visit_property_name_mut( + node: &'ast mut FormalParameter +) -> ControlFlow<Self::BreakTy, ()>

    Visits a FormalParameter with this visitor, mutably
    source§

    fn visit_property_name_mut( &mut self, - node: &'ast mut PropertyName -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyName with this visitor, mutably
    §

    fn visit_method_definition_mut( + node: &'ast mut PropertyName +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyName with this visitor, mutably
    source§

    fn visit_method_definition_mut( &mut self, - node: &'ast mut MethodDefinition -) -> ControlFlow<Self::BreakTy, ()>

    Visits a MethodDefinition with this visitor, mutably
    §

    fn visit_object_pattern_mut( + node: &'ast mut MethodDefinition +) -> ControlFlow<Self::BreakTy, ()>

    Visits a MethodDefinition with this visitor, mutably
    source§

    fn visit_object_pattern_mut( &mut self, - node: &'ast mut ObjectPattern -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPattern with this visitor, mutably
    §

    fn visit_array_pattern_mut( + node: &'ast mut ObjectPattern +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPattern with this visitor, mutably
    source§

    fn visit_array_pattern_mut( &mut self, - node: &'ast mut ArrayPattern -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPattern with this visitor, mutably
    §

    fn visit_property_definition_mut( + node: &'ast mut ArrayPattern +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPattern with this visitor, mutably
    source§

    fn visit_property_definition_mut( &mut self, - node: &'ast mut PropertyDefinition -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyDefinition with this visitor, mutably
    §

    fn visit_template_element_mut( + node: &'ast mut PropertyDefinition +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyDefinition with this visitor, mutably
    source§

    fn visit_template_element_mut( &mut self, - node: &'ast mut TemplateElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateElement with this visitor, mutably
    §

    fn visit_simple_property_access_mut( + node: &'ast mut TemplateElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a TemplateElement with this visitor, mutably
    source§

    fn visit_simple_property_access_mut( &mut self, - node: &'ast mut SimplePropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a SimplePropertyAccess with this visitor, mutably
    §

    fn visit_private_property_access_mut( + node: &'ast mut SimplePropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a SimplePropertyAccess with this visitor, mutably
    source§

    fn visit_private_property_access_mut( &mut self, - node: &'ast mut PrivatePropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivatePropertyAccess with this visitor, mutably
    §

    fn visit_super_property_access_mut( + node: &'ast mut PrivatePropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PrivatePropertyAccess with this visitor, mutably
    source§

    fn visit_super_property_access_mut( &mut self, - node: &'ast mut SuperPropertyAccess -) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperPropertyAccess with this visitor, mutably
    §

    fn visit_optional_operation_mut( + node: &'ast mut SuperPropertyAccess +) -> ControlFlow<Self::BreakTy, ()>

    Visits a SuperPropertyAccess with this visitor, mutably
    source§

    fn visit_optional_operation_mut( &mut self, - node: &'ast mut OptionalOperation -) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperation with this visitor, mutably
    §

    fn visit_assign_target_mut( + node: &'ast mut OptionalOperation +) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperation with this visitor, mutably
    source§

    fn visit_assign_target_mut( &mut self, - node: &'ast mut AssignTarget -) -> ControlFlow<Self::BreakTy, ()>

    Visits a AssignTarget with this visitor, mutably
    §

    fn visit_object_pattern_element_mut( + node: &'ast mut AssignTarget +) -> ControlFlow<Self::BreakTy, ()>

    Visits a AssignTarget with this visitor, mutably
    source§

    fn visit_object_pattern_element_mut( &mut self, - node: &'ast mut ObjectPatternElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPatternElement with this visitor, mutably
    §

    fn visit_array_pattern_element_mut( + node: &'ast mut ObjectPatternElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ObjectPatternElement with this visitor, mutably
    source§

    fn visit_array_pattern_element_mut( &mut self, - node: &'ast mut ArrayPatternElement -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPatternElement with this visitor, mutably
    §

    fn visit_property_access_field_mut( + node: &'ast mut ArrayPatternElement +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ArrayPatternElement with this visitor, mutably
    source§

    fn visit_property_access_field_mut( &mut self, - node: &'ast mut PropertyAccessField -) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccessField with this visitor, mutably
    §

    fn visit_optional_operation_kind_mut( + node: &'ast mut PropertyAccessField +) -> ControlFlow<Self::BreakTy, ()>

    Visits a PropertyAccessField with this visitor, mutably
    source§

    fn visit_optional_operation_kind_mut( &mut self, - node: &'ast mut OptionalOperationKind -) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperationKind with this visitor, mutably
    §

    fn visit_module_item_list_mut( + node: &'ast mut OptionalOperationKind +) -> ControlFlow<Self::BreakTy, ()>

    Visits a OptionalOperationKind with this visitor, mutably
    source§

    fn visit_module_item_list_mut( &mut self, - node: &'ast mut ModuleItemList -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItemList with this visitor, mutably
    §

    fn visit_module_item_mut( + node: &'ast mut ModuleItemList +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItemList with this visitor, mutably
    source§

    fn visit_module_item_mut( &mut self, - node: &'ast mut ModuleItem -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItem with this visitor, mutably
    §

    fn visit_module_specifier_mut( + node: &'ast mut ModuleItem +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleItem with this visitor, mutably
    source§

    fn visit_module_specifier_mut( &mut self, - node: &'ast mut ModuleSpecifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleSpecifier with this visitor, mutably
    §

    fn visit_import_kind_mut( + node: &'ast mut ModuleSpecifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ModuleSpecifier with this visitor, mutably
    source§

    fn visit_import_kind_mut( &mut self, - node: &'ast mut ImportKind -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportKind with this visitor, mutably
    §

    fn visit_import_declaration_mut( + node: &'ast mut ImportKind +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportKind with this visitor, mutably
    source§

    fn visit_import_declaration_mut( &mut self, - node: &'ast mut ImportDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportDeclaration with this visitor, mutably
    §

    fn visit_import_specifier_mut( + node: &'ast mut ImportDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportDeclaration with this visitor, mutably
    source§

    fn visit_import_specifier_mut( &mut self, - node: &'ast mut ImportSpecifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportSpecifier with this visitor, mutably
    §

    fn visit_re_export_kind_mut( + node: &'ast mut ImportSpecifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ImportSpecifier with this visitor, mutably
    source§

    fn visit_re_export_kind_mut( &mut self, - node: &'ast mut ReExportKind -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ReExportKind with this visitor, mutably
    §

    fn visit_export_declaration_mut( + node: &'ast mut ReExportKind +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ReExportKind with this visitor, mutably
    source§

    fn visit_export_declaration_mut( &mut self, - node: &'ast mut ExportDeclaration -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportDeclaration with this visitor, mutably
    §

    fn visit_export_specifier_mut( + node: &'ast mut ExportDeclaration +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportDeclaration with this visitor, mutably
    source§

    fn visit_export_specifier_mut( &mut self, - node: &'ast mut ExportSpecifier -) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportSpecifier with this visitor, mutably
    §

    fn visit<N>(&mut self, node: N) -> ControlFlow<Self::BreakTy, ()>where - N: Into<NodeRefMut<'ast>>,

    Generic entry point for a node that is visitable by a VisitorMut. Read more

    Auto Trait Implementations§

    §

    impl<F> RefUnwindSafe for Walker<F>where + node: &'ast mut ExportSpecifier +) -> ControlFlow<Self::BreakTy, ()>

    Visits a ExportSpecifier with this visitor, mutably
    source§

    fn visit<N>(&mut self, node: N) -> ControlFlow<Self::BreakTy, ()>where + N: Into<NodeRefMut<'ast>>,

    Generic entry point for a node that is visitable by a VisitorMut. Read more

    Auto Trait Implementations§

    §

    impl<F> RefUnwindSafe for Walker<F>where F: RefUnwindSafe,

    §

    impl<F> Send for Walker<F>where F: Send,

    §

    impl<F> Sync for Walker<F>where F: Sync,

    §

    impl<F> Unpin for Walker<F>where diff --git a/doc/boa_engine/prelude/struct.HostDefined.html b/doc/boa_engine/prelude/struct.HostDefined.html index 68a0bc07912..da2bf4158b1 100644 --- a/doc/boa_engine/prelude/struct.HostDefined.html +++ b/doc/boa_engine/prelude/struct.HostDefined.html @@ -14,7 +14,7 @@ ) -> Option<T::NativeTupleMutRef<'_>>where T: NativeTuple<SIZE>,

    Get type a tuple of types from HostDefined, if they exist.

    source

    pub fn clear(&mut self)

    Clears all the objects.

    -

    Trait Implementations§

    source§

    impl Default for HostDefined

    source§

    fn default() -> HostDefined

    Returns the “default value” for a type. Read more
    source§

    impl Drop for HostDefined

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for HostDefined

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for HostDefined

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Default for HostDefined

    source§

    fn default() -> HostDefined

    Returns the “default value” for a type. Read more
    source§

    impl Drop for HostDefined

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for HostDefined

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for HostDefined

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for HostDefined

    §

    impl !Send for HostDefined

    §

    impl !Sync for HostDefined

    §

    impl Unpin for HostDefined

    §

    impl !UnwindSafe for HostDefined

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/prelude/struct.Source.html b/doc/boa_engine/prelude/struct.Source.html index 0c857127d58..a9c32b7f87b 100644 --- a/doc/boa_engine/prelude/struct.Source.html +++ b/doc/boa_engine/prelude/struct.Source.html @@ -1,17 +1,17 @@ -Source in boa_engine::prelude - Rust

    Struct boa_engine::prelude::Source

    pub struct Source<'path, R> {
    +Source in boa_engine::prelude - Rust

    Struct boa_engine::prelude::Source

    source ·
    pub struct Source<'path, R> {
         pub(crate) reader: R,
         pub(crate) path: Option<&'path Path>,
     }
    Expand description

    A source of ECMAScript code.

    Sources can be created from plain strs, file Paths or more generally, any Read instance.

    -

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    §

    impl<'bytes> Source<'static, &'bytes [u8]>

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where +

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    source§

    impl<'bytes> Source<'static, &'bytes [u8]>

    source

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where T: AsRef<[u8]> + ?Sized,

    Creates a new Source from any type equivalent to a slice of bytes e.g. &str, Vec<u8>, Box<[u8]> or a plain slice &[u8].

    Examples
    let code = r#"var array = [5, 4, 3, 2, 1];"#;
     let source = Source::from_bytes(code);
    -
    §

    impl<'path> Source<'path, BufReader<File>>

    pub fn from_filepath( +

    source§

    impl<'path> Source<'path, BufReader<File>>

    source

    pub fn from_filepath( source: &'path Path ) -> Result<Source<'path, BufReader<File>>, Error>

    Creates a new Source from a Path to a file.

    Errors
    @@ -19,8 +19,8 @@
    Errors
    Examples
    let path = Path::new("script.js");
     let source = Source::from_filepath(path)?;
    -
    §

    impl<'path, R> Source<'path, R>where - R: Read,

    pub const fn from_reader( +

    source§

    impl<'path, R> Source<'path, R>where + R: Read,

    source

    pub const fn from_reader( reader: R, path: Option<&'path Path> ) -> Source<'path, R>

    Creates a new Source from a Read instance and an optional Path.

    @@ -32,8 +32,8 @@
    Examples
    let strict = strictler.as_bytes().chain(file); let source = Source::from_reader(strict, Some(path));
    -

    Trait Implementations§

    §

    impl<'path, R> Debug for Source<'path, R>where - R: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where +

    Trait Implementations§

    source§

    impl<'path, R> Debug for Source<'path, R>where + R: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where R: RefUnwindSafe,

    §

    impl<'path, R> Send for Source<'path, R>where R: Send,

    §

    impl<'path, R> Sync for Source<'path, R>where R: Sync,

    §

    impl<'path, R> Unpin for Source<'path, R>where diff --git a/doc/boa_engine/prelude/trait.Finalize.html b/doc/boa_engine/prelude/trait.Finalize.html index 0c5f984dc1b..c016a03490c 100644 --- a/doc/boa_engine/prelude/trait.Finalize.html +++ b/doc/boa_engine/prelude/trait.Finalize.html @@ -1,42 +1,42 @@ -Finalize in boa_engine::prelude - Rust
    pub trait Finalize {
    +Finalize in boa_engine::prelude - Rust
    pub trait Finalize {
         // Provided method
         fn finalize(&self) { ... }
     }
    Expand description

    Substitute for the Drop trait for garbage collected types.

    -

    Provided Methods§

    fn finalize(&self)

    Cleanup logic for a type.

    -

    Implementations on Foreign Types§

    §

    impl Finalize for i8

    §

    impl Finalize for AtomicU32

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl<T> Finalize for Box<T, Global>where - T: Trace + ?Sized,

    §

    impl Finalize for AtomicUsize

    §

    impl Finalize for isize

    §

    impl<Ret> Finalize for extern "C" fn() -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    impl<Ret, A> Finalize for unsafe fn(_: A) -> Ret

    §

    impl<T> Finalize for &'static Twhere - T: ?Sized,

    §

    impl<Ret, A, B, C, D> Finalize for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl Finalize for Path

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I, J> Finalize for (A, B, C, D, E, F, G, H, I, J)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    impl Finalize for u8

    §

    impl Finalize for NonZeroIsize

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl Finalize for Locale

    §

    impl<Ret, A, B, C, D, E> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<Ret> Finalize for unsafe extern "C" fn() -> Ret

    §

    impl Finalize for u16

    §

    impl<T> Finalize for BTreeSet<T, Global>where - T: Trace,

    §

    impl<T> Finalize for Box<[T], Global>where - T: Trace,

    §

    impl<T, const N: usize> Finalize for [T; N]where - T: Trace,

    §

    impl<K, V, S> Finalize for HashMap<K, V, S>where +

    Provided Methods§

    source

    fn finalize(&self)

    Cleanup logic for a type.

    +

    Implementations on Foreign Types§

    source§

    impl Finalize for i8

    source§

    impl Finalize for AtomicU32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<T> Finalize for Box<T, Global>where + T: Trace + ?Sized,

    source§

    impl Finalize for AtomicUsize

    source§

    impl Finalize for isize

    source§

    impl<Ret> Finalize for extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A> Finalize for unsafe fn(_: A) -> Ret

    source§

    impl<T> Finalize for &'static Twhere + T: ?Sized,

    source§

    impl<Ret, A, B, C, D> Finalize for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Finalize for Path

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J> Finalize for (A, B, C, D, E, F, G, H, I, J)

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl Finalize for u8

    source§

    impl Finalize for NonZeroIsize

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Finalize for Locale

    source§

    impl<Ret, A, B, C, D, E> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret> Finalize for unsafe extern "C" fn() -> Ret

    source§

    impl Finalize for u16

    source§

    impl<T> Finalize for BTreeSet<T, Global>where + T: Trace,

    source§

    impl<T> Finalize for Box<[T], Global>where + T: Trace,

    source§

    impl<T, const N: usize> Finalize for [T; N]where + T: Trace,

    source§

    impl<K, V, S> Finalize for HashMap<K, V, S>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    impl Finalize for f32

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl Finalize for ()

    §

    impl<Ret, A, B, C, D> Finalize for fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Finalize for (A, B, C, D, E, F, G, H, I, J, K, L)

    §

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl Finalize for u128

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl Finalize for AtomicBool

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    impl<T> Finalize for BinaryHeap<T, Global>where - T: Ord + Trace,

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl<Ret> Finalize for fn() -> Ret

    §

    impl<A, B, C, D, E, F, G, H> Finalize for (A, B, C, D, E, F, G, H)

    §

    impl<Ret> Finalize for unsafe fn() -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    impl Finalize for TypeId

    §

    impl Finalize for NonZeroU64

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl Finalize for Box<str, Global>

    §

    impl<A, B, C> Finalize for (A, B, C)

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    impl Finalize for usize

    §

    impl Finalize for PathBuf

    §

    impl<Ret, A> Finalize for extern "C" fn(_: A) -> Ret

    §

    impl Finalize for Rc<str, Global>

    §

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    impl<T> Finalize for Vec<T, Global>where - T: Trace,

    §

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    impl Finalize for NonZeroI128

    §

    impl Finalize for NonZeroI64

    §

    impl<T> Finalize for LinkedList<T, Global>where - T: Eq + Hash + Trace,

    §

    impl<Ret, A> Finalize for extern "C" fn(_: A, ...) -> Ret

    §

    impl Finalize for AtomicIsize

    §

    impl Finalize for NonZeroI16

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl<Ret, A, B, C> Finalize for fn(_: A, _: B, _: C) -> Ret

    §

    impl Finalize for AtomicU64

    §

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    impl Finalize for AtomicI64

    §

    impl Finalize for u32

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    impl<Ret, A, B> Finalize for unsafe fn(_: A, _: B) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    impl Finalize for i128

    §

    impl<Ret, A, B, C, D, E> Finalize for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl Finalize for LanguageIdentifier

    §

    impl Finalize for AtomicU8

    §

    impl Finalize for i64

    §

    impl<A, B, C, D, E, F, G> Finalize for (A, B, C, D, E, F, G)

    §

    impl Finalize for NonZeroI8

    §

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A, ...) -> Ret

    §

    impl<A> Finalize for (A,)

    §

    impl<T> Finalize for VecDeque<T, Global>where - T: Trace,

    §

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl Finalize for i32

    §

    impl<T> Finalize for Cell<Option<T>>where - T: Trace,

    §

    impl<A, B, C, D> Finalize for (A, B, C, D)

    §

    impl Finalize for u64

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    impl<K, V> Finalize for BTreeMap<K, V, Global>where + S: BuildHasher,

    source§

    impl Finalize for f32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl Finalize for ()

    source§

    impl<Ret, A, B, C, D> Finalize for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Finalize for (A, B, C, D, E, F, G, H, I, J, K, L)

    source§

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl Finalize for u128

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl Finalize for AtomicBool

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl<T> Finalize for BinaryHeap<T, Global>where + T: Ord + Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<Ret> Finalize for fn() -> Ret

    source§

    impl<A, B, C, D, E, F, G, H> Finalize for (A, B, C, D, E, F, G, H)

    source§

    impl<Ret> Finalize for unsafe fn() -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl Finalize for TypeId

    source§

    impl Finalize for NonZeroU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl Finalize for Box<str, Global>

    source§

    impl<A, B, C> Finalize for (A, B, C)

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl Finalize for usize

    source§

    impl Finalize for PathBuf

    source§

    impl<Ret, A> Finalize for extern "C" fn(_: A) -> Ret

    source§

    impl Finalize for Rc<str, Global>

    source§

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T> Finalize for Vec<T, Global>where + T: Trace,

    source§

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl Finalize for NonZeroI128

    source§

    impl Finalize for NonZeroI64

    source§

    impl<T> Finalize for LinkedList<T, Global>where + T: Eq + Hash + Trace,

    source§

    impl<Ret, A> Finalize for extern "C" fn(_: A, ...) -> Ret

    source§

    impl Finalize for AtomicIsize

    source§

    impl Finalize for NonZeroI16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> Finalize for fn(_: A, _: B, _: C) -> Ret

    source§

    impl Finalize for AtomicU64

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl Finalize for AtomicI64

    source§

    impl Finalize for u32

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<Ret, A, B> Finalize for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl Finalize for i128

    source§

    impl<Ret, A, B, C, D, E> Finalize for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl Finalize for LanguageIdentifier

    source§

    impl Finalize for AtomicU8

    source§

    impl Finalize for i64

    source§

    impl<A, B, C, D, E, F, G> Finalize for (A, B, C, D, E, F, G)

    source§

    impl Finalize for NonZeroI8

    source§

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<A> Finalize for (A,)

    source§

    impl<T> Finalize for VecDeque<T, Global>where + T: Trace,

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl Finalize for i32

    source§

    impl<T> Finalize for Cell<Option<T>>where + T: Trace,

    source§

    impl<A, B, C, D> Finalize for (A, B, C, D)

    source§

    impl Finalize for u64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl<K, V> Finalize for BTreeMap<K, V, Global>where K: Trace, - V: Trace,

    §

    impl<A, B, C, D, E> Finalize for (A, B, C, D, E)

    §

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    impl Finalize for NonZeroUsize

    §

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B) -> Ret

    §

    impl Finalize for AtomicI8

    §

    impl<K, V, S> Finalize for HashMap<K, V, S, Global>where + V: Trace,

    source§

    impl<A, B, C, D, E> Finalize for (A, B, C, D, E)

    source§

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl Finalize for NonZeroUsize

    source§

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl Finalize for AtomicI8

    source§

    impl<K, V, S> Finalize for HashMap<K, V, S, Global>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl Finalize for AtomicI16

    §

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl Finalize for NonZeroU32

    §

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I> Finalize for (A, B, C, D, E, F, G, H, I)

    §

    impl Finalize for bool

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<A, B, C, D, E, F> Finalize for (A, B, C, D, E, F)

    §

    impl<T, S> Finalize for HashSet<T, S>where + S: BuildHasher,

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Finalize for AtomicI16

    source§

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Finalize for NonZeroU32

    source§

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> Finalize for (A, B, C, D, E, F, G, H, I)

    source§

    impl Finalize for bool

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<A, B, C, D, E, F> Finalize for (A, B, C, D, E, F)

    source§

    impl<T, S> Finalize for HashSet<T, S>where T: Eq + Hash + Trace, - S: BuildHasher,

    §

    impl Finalize for NonZeroU16

    §

    impl Finalize for f64

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl Finalize for NonZeroI32

    §

    impl Finalize for char

    §

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    impl<T, E> Finalize for Result<T, E>where + S: BuildHasher,

    source§

    impl Finalize for NonZeroU16

    source§

    impl Finalize for f64

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl Finalize for NonZeroI32

    source§

    impl Finalize for char

    source§

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<T, E> Finalize for Result<T, E>where T: Trace, - E: Trace,

    §

    impl Finalize for AtomicU16

    §

    impl<T> Finalize for Option<T>where - T: Trace,

    §

    impl<Ret, A> Finalize for fn(_: A) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    impl Finalize for String

    §

    impl<T> Finalize for Cow<'static, T>where - T: ToOwned + Trace + ?Sized,

    §

    impl Finalize for NonZeroU128

    §

    impl Finalize for i16

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl Finalize for AtomicI32

    §

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    impl<T> Finalize for ThinVec<T>where - T: Trace,

    §

    impl<Ret, A, B> Finalize for fn(_: A, _: B) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I, J, K> Finalize for (A, B, C, D, E, F, G, H, I, J, K)

    §

    impl Finalize for NonZeroU8

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl<Ret, A, B, C, D, E, F> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl<Ret, A, B, C> Finalize for unsafe fn(_: A, _: B, _: C) -> Ret

    §

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    §

    impl<T> Finalize for PhantomData<T>

    §

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B, ...) -> Ret

    §

    impl<A, B> Finalize for (A, B)

    source§

    impl Finalize for Sym

    Implementors§

    source§

    impl Finalize for ErrorObject

    source§

    impl Finalize for ClassFieldDefinition

    source§

    impl Finalize for ThisMode

    source§

    impl Finalize for GeneratorState

    source§

    impl Finalize for PromiseState

    source§

    impl Finalize for DeclarativeEnvironmentKind

    source§

    impl Finalize for ThisBindingStatus

    source§

    impl Finalize for BindingType

    source§

    impl Finalize for Environment

    source§

    impl Finalize for ErasedRepr

    source§

    impl Finalize for JsErasedNativeErrorKind

    source§

    impl Finalize for JsNativeErrorKind

    source§

    impl Finalize for Repr

    source§

    impl Finalize for ModuleKind

    source§

    impl Finalize for Status

    source§

    impl Finalize for PrivateElement

    source§

    impl Finalize for IndexedProperties

    source§

    impl Finalize for boa_engine::object::shape::Inner

    source§

    impl Finalize for WeakShape

    source§

    impl Finalize for DescriptorKind

    source§

    impl Finalize for PropertyKey

    source§

    impl Finalize for JsValue

    source§

    impl Finalize for Constant

    source§

    impl Finalize for CompletionRecord

    source§

    impl Finalize for ActiveRunnable

    source§

    impl Finalize for JsBigInt

    source§

    impl Finalize for ArrayIterator

    source§

    impl Finalize for Array

    source§

    impl Finalize for SharedArrayBuffer

    source§

    impl Finalize for ArrayBuffer

    source§

    impl Finalize for AsyncGenerator

    source§

    impl Finalize for AsyncGeneratorRequest

    source§

    impl Finalize for DataView

    source§

    impl Finalize for Date

    source§

    impl Finalize for MappedArguments

    source§

    impl Finalize for UnmappedArguments

    source§

    impl Finalize for BoundFunction

    source§

    impl Finalize for OrdinaryFunction

    source§

    impl Finalize for Generator

    source§

    impl Finalize for GeneratorContext

    source§

    impl Finalize for Collator

    source§

    impl Finalize for DateTimeFormat

    source§

    impl Finalize for ListFormat

    source§

    impl Finalize for PluralRules

    source§

    impl Finalize for SegmentIterator

    source§

    impl Finalize for Segments

    source§

    impl Finalize for Segmenter

    source§

    impl Finalize for AsyncFromSyncIterator

    source§

    impl Finalize for IteratorPrototypes

    source§

    impl Finalize for IteratorRecord

    source§

    impl Finalize for IteratorResult

    source§

    impl Finalize for MapIterator

    source§

    impl Finalize for MapLock

    source§

    impl Finalize for ForInIterator

    source§

    impl Finalize for OrdinaryObject

    source§

    impl Finalize for Promise

    source§

    impl Finalize for PromiseCapability

    source§

    impl Finalize for ReactionRecord

    source§

    impl Finalize for ResolvingFunctions

    source§

    impl Finalize for Proxy

    source§

    impl Finalize for RegExpStringIterator

    source§

    impl Finalize for RegExp

    source§

    impl Finalize for OrderedSet

    source§

    impl Finalize for SetLock

    source§

    impl Finalize for SetIterator

    source§

    impl Finalize for StringIterator

    source§

    impl Finalize for Calendar

    source§

    impl Finalize for Duration

    source§

    impl Finalize for Instant

    source§

    impl Finalize for PlainDate

    source§

    impl Finalize for PlainDateTime

    source§

    impl Finalize for PlainMonthDay

    source§

    impl Finalize for PlainYearMonth

    source§

    impl Finalize for TimeZone

    source§

    impl Finalize for ZonedDateTime

    source§

    impl Finalize for TypedArray

    source§

    impl Finalize for UriFunctions

    source§

    impl Finalize for WeakRef

    source§

    impl Finalize for boa_engine::builtins::weak_map::WeakMap

    source§

    impl Finalize for WeakSet

    source§

    impl Finalize for IntrinsicObjects

    source§

    impl Finalize for Intrinsics

    source§

    impl Finalize for ObjectTemplates

    source§

    impl Finalize for StandardConstructor

    source§

    impl Finalize for StandardConstructors

    source§

    impl Finalize for CompileTimeEnvironment

    source§

    impl Finalize for FunctionEnvironment

    source§

    impl Finalize for FunctionSlots

    source§

    impl Finalize for GlobalEnvironment

    source§

    impl Finalize for LexicalEnvironment

    source§

    impl Finalize for IndirectBinding

    source§

    impl Finalize for ModuleEnvironment

    source§

    impl Finalize for DeclarativeEnvironment

    source§

    impl Finalize for PoisonableEnvironment

    source§

    impl Finalize for PrivateEnvironment

    source§

    impl Finalize for BindingLocator

    source§

    impl Finalize for EnvironmentStack

    source§

    impl Finalize for JsErasedError

    source§

    impl Finalize for JsErasedNativeError

    source§

    impl Finalize for JsError

    source§

    impl Finalize for JsNativeError

    source§

    impl Finalize for HostDefined

    source§

    impl Finalize for JobCallback

    source§

    impl Finalize for ModuleNamespace

    source§

    impl Finalize for DfsInfo

    source§

    impl Finalize for boa_engine::module::source::Inner

    source§

    impl Finalize for SourceTextContext

    source§

    impl Finalize for SourceTextModule

    source§

    impl Finalize for Module

    source§

    impl Finalize for ModuleRepr

    source§

    impl Finalize for boa_engine::module::synthetic::Inner

    source§

    impl Finalize for SyntheticModule

    source§

    impl Finalize for SyntheticModuleInitializer

    source§

    impl Finalize for NativeFunction

    source§

    impl Finalize for NativeFunctionObject

    source§

    impl Finalize for JsArray

    source§

    impl Finalize for JsArrayBuffer

    source§

    impl Finalize for JsDataView

    source§

    impl Finalize for JsDate

    source§

    impl Finalize for JsFunction

    source§

    impl Finalize for JsGenerator

    source§

    impl Finalize for JsMap

    source§

    impl Finalize for JsMapIterator

    source§

    impl Finalize for boa_engine::object::builtins::jspromise::Inner

    source§

    impl Finalize for JsPromise

    source§

    impl Finalize for JsProxy

    source§

    impl Finalize for JsRevocableProxy

    source§

    impl Finalize for JsRegExp

    source§

    impl Finalize for JsSet

    source§

    impl Finalize for JsSetIterator

    source§

    impl Finalize for JsSharedArrayBuffer

    source§

    impl Finalize for JsFloat32Array

    source§

    impl Finalize for JsFloat64Array

    source§

    impl Finalize for JsInt8Array

    source§

    impl Finalize for JsInt16Array

    source§

    impl Finalize for JsInt32Array

    source§

    impl Finalize for JsTypedArray

    source§

    impl Finalize for JsUint8Array

    source§

    impl Finalize for JsUint16Array

    source§

    impl Finalize for JsUint32Array

    source§

    impl Finalize for JsObject

    source§

    impl Finalize for PropertyMap

    source§

    impl Finalize for RootShape

    source§

    impl Finalize for ForwardTransition

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::forward_transition::Inner

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::Inner

    source§

    impl Finalize for ShapeFlags

    source§

    impl Finalize for SharedShape

    source§

    impl Finalize for TransitionKey

    source§

    impl Finalize for WeakSharedShape

    source§

    impl Finalize for ObjectTemplate

    source§

    impl Finalize for Shape

    source§

    impl Finalize for boa_engine::object::shape::unique_shape::Inner

    source§

    impl Finalize for UniqueShape

    source§

    impl Finalize for WeakUniqueShape

    source§

    impl Finalize for PrivateName

    source§

    impl Finalize for PropertyDescriptor

    source§

    impl Finalize for boa_engine::realm::Inner

    source§

    impl Finalize for Realm

    source§

    impl Finalize for boa_engine::script::Inner

    source§

    impl Finalize for Script

    source§

    impl Finalize for JsString

    source§

    impl Finalize for JsSymbol

    source§

    impl Finalize for CallFrame

    source§

    impl Finalize for CodeBlock

    source§

    impl Finalize for CodeBlockFlags

    source§

    impl Finalize for InlineCache

    source§

    impl<F, T> Finalize for Callback<F, T>where + E: Trace,

    source§

    impl Finalize for AtomicU16

    source§

    impl<T> Finalize for Option<T>where + T: Trace,

    source§

    impl<Ret, A> Finalize for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl Finalize for String

    source§

    impl<T> Finalize for Cow<'static, T>where + T: ToOwned + Trace + ?Sized,

    source§

    impl Finalize for NonZeroU128

    source§

    impl Finalize for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl Finalize for AtomicI32

    source§

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<T> Finalize for ThinVec<T>where + T: Trace,

    source§

    impl<Ret, A, B> Finalize for fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> Finalize for (A, B, C, D, E, F, G, H, I, J, K)

    source§

    impl Finalize for NonZeroU8

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C> Finalize for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<T> Finalize for PhantomData<T>

    source§

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<A, B> Finalize for (A, B)

    source§

    impl Finalize for Sym

    Implementors§

    source§

    impl Finalize for ErrorObject

    source§

    impl Finalize for ClassFieldDefinition

    source§

    impl Finalize for ThisMode

    source§

    impl Finalize for GeneratorState

    source§

    impl Finalize for PromiseState

    source§

    impl Finalize for DeclarativeEnvironmentKind

    source§

    impl Finalize for ThisBindingStatus

    source§

    impl Finalize for BindingType

    source§

    impl Finalize for Environment

    source§

    impl Finalize for ErasedRepr

    source§

    impl Finalize for JsErasedNativeErrorKind

    source§

    impl Finalize for JsNativeErrorKind

    source§

    impl Finalize for Repr

    source§

    impl Finalize for ModuleKind

    source§

    impl Finalize for Status

    source§

    impl Finalize for PrivateElement

    source§

    impl Finalize for IndexedProperties

    source§

    impl Finalize for boa_engine::object::shape::Inner

    source§

    impl Finalize for WeakShape

    source§

    impl Finalize for DescriptorKind

    source§

    impl Finalize for PropertyKey

    source§

    impl Finalize for JsValue

    source§

    impl Finalize for Constant

    source§

    impl Finalize for CompletionRecord

    source§

    impl Finalize for ActiveRunnable

    source§

    impl Finalize for JsBigInt

    source§

    impl Finalize for ArrayIterator

    source§

    impl Finalize for Array

    source§

    impl Finalize for SharedArrayBuffer

    source§

    impl Finalize for ArrayBuffer

    source§

    impl Finalize for AsyncGenerator

    source§

    impl Finalize for AsyncGeneratorRequest

    source§

    impl Finalize for DataView

    source§

    impl Finalize for Date

    source§

    impl Finalize for MappedArguments

    source§

    impl Finalize for UnmappedArguments

    source§

    impl Finalize for BoundFunction

    source§

    impl Finalize for OrdinaryFunction

    source§

    impl Finalize for Generator

    source§

    impl Finalize for GeneratorContext

    source§

    impl Finalize for Collator

    source§

    impl Finalize for DateTimeFormat

    source§

    impl Finalize for ListFormat

    source§

    impl Finalize for PluralRules

    source§

    impl Finalize for SegmentIterator

    source§

    impl Finalize for Segments

    source§

    impl Finalize for Segmenter

    source§

    impl Finalize for AsyncFromSyncIterator

    source§

    impl Finalize for IteratorPrototypes

    source§

    impl Finalize for IteratorRecord

    source§

    impl Finalize for IteratorResult

    source§

    impl Finalize for MapIterator

    source§

    impl Finalize for MapLock

    source§

    impl Finalize for ForInIterator

    source§

    impl Finalize for OrdinaryObject

    source§

    impl Finalize for Promise

    source§

    impl Finalize for PromiseCapability

    source§

    impl Finalize for ReactionRecord

    source§

    impl Finalize for ResolvingFunctions

    source§

    impl Finalize for Proxy

    source§

    impl Finalize for RegExpStringIterator

    source§

    impl Finalize for RegExp

    source§

    impl Finalize for OrderedSet

    source§

    impl Finalize for SetLock

    source§

    impl Finalize for SetIterator

    source§

    impl Finalize for StringIterator

    source§

    impl Finalize for Calendar

    source§

    impl Finalize for Duration

    source§

    impl Finalize for Instant

    source§

    impl Finalize for PlainDate

    source§

    impl Finalize for PlainDateTime

    source§

    impl Finalize for PlainMonthDay

    source§

    impl Finalize for PlainYearMonth

    source§

    impl Finalize for TimeZone

    source§

    impl Finalize for ZonedDateTime

    source§

    impl Finalize for TypedArray

    source§

    impl Finalize for UriFunctions

    source§

    impl Finalize for WeakRef

    source§

    impl Finalize for boa_engine::builtins::weak_map::WeakMap

    source§

    impl Finalize for WeakSet

    source§

    impl Finalize for IntrinsicObjects

    source§

    impl Finalize for Intrinsics

    source§

    impl Finalize for ObjectTemplates

    source§

    impl Finalize for StandardConstructor

    source§

    impl Finalize for StandardConstructors

    source§

    impl Finalize for CompileTimeEnvironment

    source§

    impl Finalize for FunctionEnvironment

    source§

    impl Finalize for FunctionSlots

    source§

    impl Finalize for GlobalEnvironment

    source§

    impl Finalize for LexicalEnvironment

    source§

    impl Finalize for IndirectBinding

    source§

    impl Finalize for ModuleEnvironment

    source§

    impl Finalize for DeclarativeEnvironment

    source§

    impl Finalize for PoisonableEnvironment

    source§

    impl Finalize for PrivateEnvironment

    source§

    impl Finalize for BindingLocator

    source§

    impl Finalize for EnvironmentStack

    source§

    impl Finalize for JsErasedError

    source§

    impl Finalize for JsErasedNativeError

    source§

    impl Finalize for JsError

    source§

    impl Finalize for JsNativeError

    source§

    impl Finalize for HostDefined

    source§

    impl Finalize for JobCallback

    source§

    impl Finalize for ModuleNamespace

    source§

    impl Finalize for DfsInfo

    source§

    impl Finalize for boa_engine::module::source::Inner

    source§

    impl Finalize for SourceTextContext

    source§

    impl Finalize for SourceTextModule

    source§

    impl Finalize for Module

    source§

    impl Finalize for ModuleRepr

    source§

    impl Finalize for boa_engine::module::synthetic::Inner

    source§

    impl Finalize for SyntheticModule

    source§

    impl Finalize for SyntheticModuleInitializer

    source§

    impl Finalize for NativeFunction

    source§

    impl Finalize for NativeFunctionObject

    source§

    impl Finalize for JsArray

    source§

    impl Finalize for JsArrayBuffer

    source§

    impl Finalize for JsDataView

    source§

    impl Finalize for JsDate

    source§

    impl Finalize for JsFunction

    source§

    impl Finalize for JsGenerator

    source§

    impl Finalize for JsMap

    source§

    impl Finalize for JsMapIterator

    source§

    impl Finalize for boa_engine::object::builtins::jspromise::Inner

    source§

    impl Finalize for JsPromise

    source§

    impl Finalize for JsProxy

    source§

    impl Finalize for JsRevocableProxy

    source§

    impl Finalize for JsRegExp

    source§

    impl Finalize for JsSet

    source§

    impl Finalize for JsSetIterator

    source§

    impl Finalize for JsSharedArrayBuffer

    source§

    impl Finalize for JsFloat32Array

    source§

    impl Finalize for JsFloat64Array

    source§

    impl Finalize for JsInt8Array

    source§

    impl Finalize for JsInt16Array

    source§

    impl Finalize for JsInt32Array

    source§

    impl Finalize for JsTypedArray

    source§

    impl Finalize for JsUint8Array

    source§

    impl Finalize for JsUint16Array

    source§

    impl Finalize for JsUint32Array

    source§

    impl Finalize for JsObject

    source§

    impl Finalize for PropertyMap

    source§

    impl Finalize for RootShape

    source§

    impl Finalize for ForwardTransition

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::forward_transition::Inner

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::Inner

    source§

    impl Finalize for ShapeFlags

    source§

    impl Finalize for SharedShape

    source§

    impl Finalize for TransitionKey

    source§

    impl Finalize for WeakSharedShape

    source§

    impl Finalize for ObjectTemplate

    source§

    impl Finalize for Shape

    source§

    impl Finalize for boa_engine::object::shape::unique_shape::Inner

    source§

    impl Finalize for UniqueShape

    source§

    impl Finalize for WeakUniqueShape

    source§

    impl Finalize for PrivateName

    source§

    impl Finalize for PropertyDescriptor

    source§

    impl Finalize for boa_engine::realm::Inner

    source§

    impl Finalize for Realm

    source§

    impl Finalize for boa_engine::script::Inner

    source§

    impl Finalize for Script

    source§

    impl Finalize for JsString

    source§

    impl Finalize for JsSymbol

    source§

    impl Finalize for CallFrame

    source§

    impl Finalize for CodeBlock

    source§

    impl Finalize for CodeBlockFlags

    source§

    impl Finalize for InlineCache

    source§

    impl<F, T> Finalize for Callback<F, T>where F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>, T: Trace,

    source§

    impl<F, T> Finalize for Closure<F, T>where F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>, - T: Trace,

    §

    impl<K, V> Finalize for Ephemeron<K, V>where + T: Trace,

    source§

    impl<K, V> Finalize for Ephemeron<K, V>where K: Trace + ?Sized, - V: Trace,

    §

    impl<K, V> Finalize for WeakMap<K, V>where + V: Trace,

    source§

    impl<K, V> Finalize for boa_gc::pointers::weak_map::WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    source§

    impl<K: Trace> Finalize for OrderedHashMap<K>

    §

    impl<T> Finalize for Gc<T>where - T: Trace + ?Sized,

    §

    impl<T> Finalize for GcRefCell<T>where - T: Trace + ?Sized,

    §

    impl<T> Finalize for WeakGc<T>where + V: Trace + 'static,

    source§

    impl<K: Trace> Finalize for OrderedHashMap<K>

    source§

    impl<T> Finalize for GcRefCell<T>where + T: Trace + ?Sized,

    source§

    impl<T> Finalize for Gc<T>where + T: Trace + ?Sized,

    source§

    impl<T> Finalize for WeakGc<T>where T: Trace + 'static + ?Sized,

    source§

    impl<T: NativeObject + ?Sized> Finalize for VTableObject<T>

    source§

    impl<T: Debug + Trace + Finalize> Finalize for TransitionMap<T>

    source§

    impl<T: ?Sized> Finalize for Object<T>

    source§

    impl<V> Finalize for OrderedMap<V>

    \ No newline at end of file diff --git a/doc/boa_engine/prelude/trait.Trace.html b/doc/boa_engine/prelude/trait.Trace.html index 3669dd5463d..3508edbe4a3 100644 --- a/doc/boa_engine/prelude/trait.Trace.html +++ b/doc/boa_engine/prelude/trait.Trace.html @@ -1,4 +1,4 @@ -Trace in boa_engine::prelude - Rust

    Trait boa_engine::prelude::Trace

    pub unsafe trait Trace: Finalize {
    +Trace in boa_engine::prelude - Rust

    Trait boa_engine::prelude::Trace

    source ·
    pub unsafe trait Trace: Finalize {
         // Required methods
         unsafe fn trace(&self);
         fn trace_non_roots(&self);
    @@ -15,35 +15,35 @@ 

    Safety

    can result in Undefined Behaviour.

    -

    Required Methods§

    unsafe fn trace(&self)

    Marks all contained Gcs.

    +

    Required Methods§

    source

    unsafe fn trace(&self)

    Marks all contained Gcs.

    Safety

    See Trace.

    -

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.

    -

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    source

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.

    +
    source

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    -

    Implementations on Foreign Types§

    §

    impl<A, B, C, D, E> Trace for (A, B, C, D, E)where +

    Implementations on Foreign Types§

    source§

    impl<A, B, C, D, E> Trace for (A, B, C, D, E)where A: Trace, B: Trace, C: Trace, D: Trace, - E: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for LinkedList<T, Global>where - T: Eq + Hash + Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for f64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T, E> Trace for Result<T, E>where + E: Trace,

    source§

    impl Trace for NonZeroI64

    source§

    impl Trace for u8

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<T> Trace for LinkedList<T, Global>where + T: Eq + Hash + Trace,

    source§

    impl Trace for f64

    source§

    impl<T, E> Trace for Result<T, E>where T: Trace, - E: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D> Trace for (A, B, C, D)where + E: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<A, B, C, D> Trace for (A, B, C, D)where A: Trace, B: Trace, C: Trace, - D: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroUsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<K, V, S> Trace for HashMap<K, V, S>where + D: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl Trace for NonZeroU8

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl Trace for NonZeroUsize

    source§

    impl Trace for NonZeroI32

    source§

    impl<K, V, S> Trace for HashMap<K, V, S>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<K, V, S> Trace for HashMap<K, V, S, Global>where + S: BuildHasher,

    source§

    impl<Ret, A, B, C, D, E, F> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<K, V, S> Trace for HashMap<K, V, S, Global>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Cell<Option<T>>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for BTreeSet<T, Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for String

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<K, V> Trace for BTreeMap<K, V, Global>where + S: BuildHasher,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<T> Trace for Cell<Option<T>>where + T: Trace,

    source§

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl Trace for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Trace for NonZeroI128

    source§

    impl<T> Trace for BTreeSet<T, Global>where + T: Trace,

    source§

    impl Trace for String

    source§

    impl<Ret> Trace for fn() -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<K, V> Trace for BTreeMap<K, V, Global>where K: Trace, - V: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for unsafe fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I> Trace for (A, B, C, D, E, F, G, H, I)where + V: Trace,

    source§

    impl<Ret, A, B, C> Trace for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> Trace for (A, B, C, D, E, F, G, H, I)where A: Trace, B: Trace, C: Trace, @@ -52,14 +52,14 @@
    Safety
    F: Trace, G: Trace, H: Trace, - I: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for char

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicUsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G> Trace for (A, B, C, D, E, F, G)where + I: Trace,

    source§

    impl Trace for char

    source§

    impl Trace for NonZeroU128

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B> Trace for fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D> Trace for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Trace for NonZeroU64

    source§

    impl Trace for AtomicUsize

    source§

    impl<A, B, C, D, E, F, G> Trace for (A, B, C, D, E, F, G)where A: Trace, B: Trace, C: Trace, D: Trace, E: Trace, F: Trace, - G: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicBool

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for extern "C" fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Locale

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for PathBuf

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Trace for (A, B, C, D, E, F, G, H, I, J, K, L)where + G: Trace,

    source§

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Trace for AtomicU64

    source§

    impl<Ret, A, B, C, D, E> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl Trace for AtomicBool

    source§

    impl<Ret> Trace for extern "C" fn() -> Ret

    source§

    impl Trace for Locale

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl Trace for PathBuf

    source§

    impl Trace for u64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Trace for (A, B, C, D, E, F, G, H, I, J, K, L)where A: Trace, B: Trace, C: Trace, @@ -71,17 +71,17 @@
    Safety
    I: Trace, J: Trace, K: Trace, - L: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for extern "C" fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C> Trace for (A, B, C)where + L: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl<Ret, A> Trace for extern "C" fn(_: A) -> Ret

    source§

    impl<A, B, C> Trace for (A, B, C)where A: Trace, B: Trace, - C: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B> Trace for (A, B)where + C: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<A, B> Trace for (A, B)where A: Trace, - B: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for usize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for TypeId

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for ThinVec<T>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Path

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Option<T>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for isize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Cow<'static, T>where + B: Trace,

    source§

    impl Trace for AtomicI8

    source§

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl Trace for usize

    source§

    impl Trace for TypeId

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<T> Trace for ThinVec<T>where + T: Trace,

    source§

    impl Trace for Path

    source§

    impl<T> Trace for Option<T>where + T: Trace,

    source§

    impl Trace for NonZeroU32

    source§

    impl Trace for isize

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl Trace for AtomicU32

    source§

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<T> Trace for Cow<'static, T>where T: ToOwned + Trace + ?Sized, - <T as ToOwned>::Owned: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for VecDeque<T, Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I, J> Trace for (A, B, C, D, E, F, G, H, I, J)where + <T as ToOwned>::Owned: Trace,

    source§

    impl<T> Trace for VecDeque<T, Global>where + T: Trace,

    source§

    impl<A, B, C, D, E, F, G, H, I, J> Trace for (A, B, C, D, E, F, G, H, I, J)where A: Trace, B: Trace, C: Trace, @@ -91,7 +91,7 @@
    Safety
    G: Trace, H: Trace, I: Trace, - J: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for unsafe fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for extern "C" fn(_: A, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H> Trace for (A, B, C, D, E, F, G, H)where + J: Trace,

    source§

    impl<Ret> Trace for unsafe fn() -> Ret

    source§

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A> Trace for extern "C" fn(_: A, ...) -> Ret

    source§

    impl Trace for i64

    source§

    impl<Ret, A, B, C, D, E> Trace for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H> Trace for (A, B, C, D, E, F, G, H)where A: Trace, B: Trace, C: Trace, @@ -99,17 +99,17 @@
    Safety
    E: Trace, F: Trace, G: Trace, - H: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for unsafe extern "C" fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T, const N: usize> Trace for [T; N]where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Box<T, Global>where - T: Trace + ?Sized,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for ()

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F> Trace for (A, B, C, D, E, F)where + H: Trace,

    source§

    impl Trace for u32

    source§

    impl<Ret, A, B, C, D> Trace for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret> Trace for unsafe extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A> Trace for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T, const N: usize> Trace for [T; N]where + T: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl Trace for AtomicI64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl Trace for NonZeroU16

    source§

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl Trace for NonZeroI16

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl Trace for AtomicI32

    source§

    impl Trace for u16

    source§

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<T> Trace for Box<T, Global>where + T: Trace + ?Sized,

    source§

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl Trace for ()

    source§

    impl<Ret, A, B, C, D, E, F> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl Trace for AtomicU16

    source§

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<A, B, C, D, E, F> Trace for (A, B, C, D, E, F)where A: Trace, B: Trace, C: Trace, D: Trace, E: Trace, - F: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroIsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicIsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Vec<T, Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for &'static Twhere - T: ?Sized,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Rc<str, Global>

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for f32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I, J, K> Trace for (A, B, C, D, E, F, G, H, I, J, K)where + F: Trace,

    source§

    impl Trace for i32

    source§

    impl Trace for AtomicU8

    source§

    impl Trace for i128

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl Trace for NonZeroIsize

    source§

    impl Trace for AtomicIsize

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<T> Trace for Vec<T, Global>where + T: Trace,

    source§

    impl<T> Trace for &'static Twhere + T: ?Sized,

    source§

    impl Trace for Rc<str, Global>

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl Trace for f32

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> Trace for (A, B, C, D, E, F, G, H, I, J, K)where A: Trace, B: Trace, C: Trace, @@ -120,12 +120,12 @@
    Safety
    H: Trace, I: Trace, J: Trace, - K: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Box<str, Global>

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for PhantomData<T>

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T, S> Trace for HashSet<T, S>where + K: Trace,

    source§

    impl Trace for Box<str, Global>

    source§

    impl Trace for i8

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl<T> Trace for PhantomData<T>

    source§

    impl<T, S> Trace for HashSet<T, S>where T: Eq + Hash + Trace, - S: BuildHasher,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Box<[T], Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for unsafe fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A> Trace for (A,)where - A: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for BinaryHeap<T, Global>where - T: Ord + Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for LanguageIdentifier

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for unsafe fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for bool

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    source§

    impl Trace for Sym

    Implementors§

    source§

    impl Trace for ErrorObjectwhere + S: BuildHasher,

    source§

    impl<T> Trace for Box<[T], Global>where + T: Trace,

    source§

    impl<Ret, A> Trace for unsafe fn(_: A) -> Ret

    source§

    impl<A> Trace for (A,)where + A: Trace,

    source§

    impl<T> Trace for BinaryHeap<T, Global>where + T: Ord + Trace,

    source§

    impl Trace for LanguageIdentifier

    source§

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B> Trace for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C> Trace for fn(_: A, _: B, _: C) -> Ret

    source§

    impl Trace for u128

    source§

    impl Trace for bool

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Trace for NonZeroI8

    source§

    impl Trace for AtomicI16

    source§

    impl Trace for Sym

    Implementors§

    source§

    impl Trace for ErrorObjectwhere Self: Copy,

    source§

    impl Trace for ClassFieldDefinition

    source§

    impl Trace for ThisMode

    source§

    impl Trace for GeneratorState

    source§

    impl Trace for PromiseState

    source§

    impl Trace for DeclarativeEnvironmentKind

    source§

    impl Trace for ThisBindingStatus

    source§

    impl Trace for BindingType

    source§

    impl Trace for Environment

    source§

    impl Trace for ErasedRepr

    source§

    impl Trace for JsErasedNativeErrorKind

    source§

    impl Trace for JsNativeErrorKind

    source§

    impl Trace for Repr

    source§

    impl Trace for ModuleKind

    source§

    impl Trace for Status

    source§

    impl Trace for PrivateElement

    source§

    impl Trace for IndexedProperties

    source§

    impl Trace for boa_engine::object::shape::Inner

    source§

    impl Trace for WeakShape

    source§

    impl Trace for DescriptorKind

    source§

    impl Trace for JsValue

    source§

    impl Trace for Constant

    source§

    impl Trace for CompletionRecord

    source§

    impl Trace for ActiveRunnable

    source§

    impl Trace for JsBigInt

    source§

    impl Trace for ArrayIterator

    source§

    impl Trace for Arraywhere Self: Copy,

    source§

    impl Trace for SharedArrayBuffer

    source§

    impl Trace for ArrayBuffer

    source§

    impl Trace for AsyncGenerator

    source§

    impl Trace for AsyncGeneratorRequest

    source§

    impl Trace for DataView

    source§

    impl Trace for Datewhere Self: Copy,

    source§

    impl Trace for MappedArguments

    source§

    impl Trace for UnmappedArgumentswhere @@ -135,14 +135,14 @@
    Safety
    F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>, T: Trace + Trace,

    source§

    impl<F, T> Trace for Closure<F, T>where F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>, - T: Trace + Trace,

    §

    impl<K, V> Trace for Ephemeron<K, V>where + T: Trace + Trace,

    source§

    impl<K, V> Trace for Ephemeron<K, V>where K: Trace + ?Sized, - V: Trace,

    §

    impl<K, V> Trace for WeakMap<K, V>where + V: Trace,

    source§

    impl<K, V> Trace for boa_gc::pointers::weak_map::WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    source§

    impl<K: Trace> Trace for OrderedHashMap<K>

    §

    impl<T> Trace for Gc<T>where - T: Trace + ?Sized,

    §

    impl<T> Trace for GcRefCell<T>where - T: Trace + ?Sized,

    §

    impl<T> Trace for WeakGc<T>where + V: Trace + 'static,

    source§

    impl<K: Trace> Trace for OrderedHashMap<K>

    source§

    impl<T> Trace for GcRefCell<T>where + T: Trace + ?Sized,

    source§

    impl<T> Trace for Gc<T>where + T: Trace + ?Sized,

    source§

    impl<T> Trace for WeakGc<T>where T: Trace + 'static + ?Sized, - Ephemeron<T, ()>: Trace,

    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where - GcRefCell<Object<T>>: Trace,

    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where - FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,

    source§

    impl<V: Trace> Trace for OrderedMap<V>

    \ No newline at end of file + Ephemeron<T, ()>: Trace,
    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where + GcRefCell<Object<T>>: Trace,

    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where + FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,

    source§

    impl<V: Trace> Trace for OrderedMap<V>

    \ No newline at end of file diff --git a/doc/boa_engine/property/enum.DescriptorKind.html b/doc/boa_engine/property/enum.DescriptorKind.html index 3e53be45317..469d9cc71f1 100644 --- a/doc/boa_engine/property/enum.DescriptorKind.html +++ b/doc/boa_engine/property/enum.DescriptorKind.html @@ -16,7 +16,7 @@
    §set: Option<JsValue>

    The setter of the property.

    An accessor property descriptor.

    §

    Generic

    A generic property descriptor.

    -

    Trait Implementations§

    source§

    impl Clone for DescriptorKind

    source§

    fn clone(&self) -> DescriptorKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DescriptorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for DescriptorKind

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for DescriptorKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DescriptorKind

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DescriptorKind

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for DescriptorKind

    source§

    fn clone(&self) -> DescriptorKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DescriptorKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for DescriptorKind

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Drop for DescriptorKind

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for DescriptorKind

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for DescriptorKind

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/property/enum.PropertyKey.html b/doc/boa_engine/property/enum.PropertyKey.html index c4351e277e6..9b622e7066f 100644 --- a/doc/boa_engine/property/enum.PropertyKey.html +++ b/doc/boa_engine/property/enum.PropertyKey.html @@ -11,7 +11,7 @@

    Variants§

    §

    String(JsString)

    A string property key.

    §

    Symbol(JsSymbol)

    A symbol property key.

    §

    Index(NonMaxU32)

    A numeric property key.

    -

    Trait Implementations§

    source§

    impl Clone for PropertyKey

    source§

    fn clone(&self) -> PropertyKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PropertyKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PropertyKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PropertyKey

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&[u16]> for PropertyKey

    source§

    fn from(string: &[u16]) -> Self

    Converts to this type from the input type.
    source§

    impl From<&PropertyKey> for JsValue

    source§

    fn from(property_key: &PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for PropertyKey

    source§

    fn from(string: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for PropertyKey

    source§

    fn from(symbol: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<PropertyKey> for JsValue

    source§

    fn from(property_key: PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for PropertyKey

    source§

    fn from(value: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for PropertyKey

    source§

    fn from(value: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for PropertyKey

    source§

    fn from(value: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<isize> for PropertyKey

    source§

    fn from(value: isize) -> Self

    Converts to this type from the input type.
    source§

    impl From<u16> for PropertyKey

    source§

    fn from(value: u16) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for PropertyKey

    source§

    fn from(value: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for PropertyKey

    source§

    fn from(value: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for PropertyKey

    source§

    fn from(value: u8) -> Self

    Converts to this type from the input type.
    source§

    impl From<usize> for PropertyKey

    source§

    fn from(value: usize) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for PropertyKey

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl Clone for PropertyKey

    source§

    fn clone(&self) -> PropertyKey

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PropertyKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PropertyKey

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for PropertyKey

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&[u16]> for PropertyKey

    source§

    fn from(string: &[u16]) -> Self

    Converts to this type from the input type.
    source§

    impl From<&PropertyKey> for JsValue

    source§

    fn from(property_key: &PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for PropertyKey

    source§

    fn from(string: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for PropertyKey

    source§

    fn from(symbol: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<PropertyKey> for JsValue

    source§

    fn from(property_key: PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for PropertyKey

    source§

    fn from(value: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for PropertyKey

    source§

    fn from(value: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for PropertyKey

    source§

    fn from(value: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<isize> for PropertyKey

    source§

    fn from(value: isize) -> Self

    Converts to this type from the input type.
    source§

    impl From<u16> for PropertyKey

    source§

    fn from(value: u16) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for PropertyKey

    source§

    fn from(value: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for PropertyKey

    source§

    fn from(value: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for PropertyKey

    source§

    fn from(value: u8) -> Self

    Converts to this type from the input type.
    source§

    impl From<usize> for PropertyKey

    source§

    fn from(value: usize) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for PropertyKey

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<[u16]> for PropertyKey

    source§

    fn eq(&self, other: &[u16]) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/property/struct.PropertyDescriptor.html b/doc/boa_engine/property/struct.PropertyDescriptor.html index 7fdfa1af1cf..3be1c35b0ed 100644 --- a/doc/boa_engine/property/struct.PropertyDescriptor.html +++ b/doc/boa_engine/property/struct.PropertyDescriptor.html @@ -75,7 +75,7 @@
    Panics
    with fields from the given PropertyDescriptor.

    Panics

    Panics if the given PropertyDescriptor is not compatible with this one.

    -
    source

    pub(crate) fn to_slot_attributes(&self) -> SlotAttributes

    Trait Implementations§

    source§

    impl Clone for PropertyDescriptor

    source§

    fn clone(&self) -> PropertyDescriptor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PropertyDescriptor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PropertyDescriptor

    source§

    fn default() -> PropertyDescriptor

    Returns the “default value” for a type. Read more
    source§

    impl Drop for PropertyDescriptor

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PropertyDescriptor

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<PropertyDescriptorBuilder> for PropertyDescriptor

    source§

    fn from(builder: PropertyDescriptorBuilder) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for PropertyDescriptor

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source

    pub(crate) fn to_slot_attributes(&self) -> SlotAttributes

    Trait Implementations§

    source§

    impl Clone for PropertyDescriptor

    source§

    fn clone(&self) -> PropertyDescriptor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PropertyDescriptor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PropertyDescriptor

    source§

    fn default() -> PropertyDescriptor

    Returns the “default value” for a type. Read more
    source§

    impl Drop for PropertyDescriptor

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for PropertyDescriptor

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<PropertyDescriptorBuilder> for PropertyDescriptor

    source§

    fn from(builder: PropertyDescriptorBuilder) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for PropertyDescriptor

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/realm/struct.Inner.html b/doc/boa_engine/realm/struct.Inner.html index 59673f2fdcf..cae7fee210e 100644 --- a/doc/boa_engine/realm/struct.Inner.html +++ b/doc/boa_engine/realm/struct.Inner.html @@ -1,13 +1,13 @@ Inner in boa_engine::realm - Rust

    Struct boa_engine::realm::Inner

    source ·
    struct Inner {
         intrinsics: Intrinsics,
    -    environment: Gc<DeclarativeEnvironment>,
    +    environment: Gc<DeclarativeEnvironment>,
         global_object: JsObject,
         global_this: JsObject,
    -    template_map: GcRefCell<FxHashMap<u64, JsObject>>,
    -    loaded_modules: GcRefCell<FxHashMap<JsString, Module>>,
    -    host_classes: GcRefCell<FxHashMap<TypeId, StandardConstructor>>,
    -    host_defined: GcRefCell<HostDefined>,
    -}

    Fields§

    §intrinsics: Intrinsics§environment: Gc<DeclarativeEnvironment>§global_object: JsObject§global_this: JsObject§template_map: GcRefCell<FxHashMap<u64, JsObject>>§loaded_modules: GcRefCell<FxHashMap<JsString, Module>>§host_classes: GcRefCell<FxHashMap<TypeId, StandardConstructor>>§host_defined: GcRefCell<HostDefined>

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all + template_map: GcRefCell<FxHashMap<u64, JsObject>>, + loaded_modules: GcRefCell<FxHashMap<JsString, Module>>, + host_classes: GcRefCell<FxHashMap<TypeId, StandardConstructor>>, + host_defined: GcRefCell<HostDefined>, +}

    Fields§

    §intrinsics: Intrinsics§environment: Gc<DeclarativeEnvironment>§global_object: JsObject§global_this: JsObject§template_map: GcRefCell<FxHashMap<u64, JsObject>>§loaded_modules: GcRefCell<FxHashMap<JsString, Module>>§host_classes: GcRefCell<FxHashMap<TypeId, StandardConstructor>>§host_defined: GcRefCell<HostDefined>

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/realm/struct.Realm.html b/doc/boa_engine/realm/struct.Realm.html index c0c87c2d061..caa08110574 100644 --- a/doc/boa_engine/realm/struct.Realm.html +++ b/doc/boa_engine/realm/struct.Realm.html @@ -1,22 +1,22 @@ Realm in boa_engine::realm - Rust

    Struct boa_engine::realm::Realm

    source ·
    pub struct Realm {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    Representation of a Realm.

    In the specification these are called Realm Records.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl Realm

    source

    pub(crate) fn initialize(&self)

    Abstract operation CreateIntrinsics ( realmRec )

    +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl Realm

    source

    pub(crate) fn initialize(&self)

    Abstract operation CreateIntrinsics ( realmRec )

    source§

    impl Realm

    source

    pub fn create(hooks: &dyn HostHooks, root_shape: &RootShape) -> Self

    Create a new Realm.

    source

    pub fn intrinsics(&self) -> &Intrinsics

    Gets the intrinsics of this Realm.

    -
    source

    pub fn host_defined(&self) -> GcRef<'_, HostDefined>

    Returns an immutable reference to the ECMAScript specification defined +

    source

    pub fn host_defined(&self) -> GcRef<'_, HostDefined>

    Returns an immutable reference to the ECMAScript specification defined \[\[\HostDefined]\] field of the Realm.

    Panics

    Panics if HostDefined field is mutably borrowed.

    -
    source

    pub fn host_defined_mut(&self) -> GcRefMut<'_, HostDefined>

    Returns a mutable reference to ECMAScript specification defined +

    source

    pub fn host_defined_mut(&self) -> GcRefMut<'_, HostDefined>

    Returns a mutable reference to ECMAScript specification defined \[\[\HostDefined]\] field of the Realm.

    Panics

    Panics if HostDefined field is borrowed.

    source

    pub fn has_class<C: Class>(&self) -> bool

    Checks if this Realm has the class C registered into its class map.

    source

    pub fn get_class<C: Class>(&self) -> Option<StandardConstructor>

    Gets the constructor and prototype of the class C if it is registered in the class map.

    -
    source

    pub(crate) fn environment(&self) -> &Gc<DeclarativeEnvironment>

    source

    pub(crate) fn global_object(&self) -> &JsObject

    source

    pub(crate) fn global_this(&self) -> &JsObject

    source

    pub(crate) fn loaded_modules(&self) -> &GcRefCell<FxHashMap<JsString, Module>>

    source

    pub(crate) fn resize_global_env(&self)

    Resizes the number of bindings on the global environment.

    -
    source

    pub(crate) fn push_template(&self, site: u64, template: JsObject)

    source

    pub(crate) fn lookup_template(&self, site: u64) -> Option<JsObject>

    source

    pub(crate) fn register_class<C: Class>(&self, spec: StandardConstructor)

    source

    pub(crate) fn unregister_class<C: Class>(&self) -> Option<StandardConstructor>

    source

    pub(crate) fn addr(&self) -> *const ()

    Trait Implementations§

    source§

    impl Clone for Realm

    source§

    fn clone(&self) -> Realm

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Realm

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Realm

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Realm

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<Realm> for Realm

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used +
    source

    pub(crate) fn environment(&self) -> &Gc<DeclarativeEnvironment>

    source

    pub(crate) fn global_object(&self) -> &JsObject

    source

    pub(crate) fn global_this(&self) -> &JsObject

    source

    pub(crate) fn loaded_modules(&self) -> &GcRefCell<FxHashMap<JsString, Module>>

    source

    pub(crate) fn resize_global_env(&self)

    Resizes the number of bindings on the global environment.

    +
    source

    pub(crate) fn push_template(&self, site: u64, template: JsObject)

    source

    pub(crate) fn lookup_template(&self, site: u64) -> Option<JsObject>

    source

    pub(crate) fn register_class<C: Class>(&self, spec: StandardConstructor)

    source

    pub(crate) fn unregister_class<C: Class>(&self) -> Option<StandardConstructor>

    source

    pub(crate) fn addr(&self) -> *const ()

    Trait Implementations§

    source§

    impl Clone for Realm

    source§

    fn clone(&self) -> Realm

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Realm

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Realm

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Realm

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl PartialEq<Realm> for Realm

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl Trace for Realm

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Eq for Realm

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Realm

    §

    impl !Send for Realm

    §

    impl !Sync for Realm

    §

    impl Unpin for Realm

    §

    impl !UnwindSafe for Realm

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/boa_engine/script/struct.Inner.html b/doc/boa_engine/script/struct.Inner.html index 1dfbd28a88f..203067fd8be 100644 --- a/doc/boa_engine/script/struct.Inner.html +++ b/doc/boa_engine/script/struct.Inner.html @@ -1,10 +1,10 @@ Inner in boa_engine::script - Rust

    Struct boa_engine::script::Inner

    source ·
    struct Inner {
         realm: Realm,
    -    source: Script,
    -    codeblock: GcRefCell<Option<Gc<CodeBlock>>>,
    -    loaded_modules: GcRefCell<FxHashMap<JsString, Module>>,
    +    source: Script,
    +    codeblock: GcRefCell<Option<Gc<CodeBlock>>>,
    +    loaded_modules: GcRefCell<FxHashMap<JsString, Module>>,
         host_defined: HostDefined,
    -}

    Fields§

    §realm: Realm§source: Script§codeblock: GcRefCell<Option<Gc<CodeBlock>>>§loaded_modules: GcRefCell<FxHashMap<JsString, Module>>§host_defined: HostDefined

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +}

    Fields§

    §realm: Realm§source: Script§codeblock: GcRefCell<Option<Gc<CodeBlock>>>§loaded_modules: GcRefCell<FxHashMap<JsString, Module>>§host_defined: HostDefined

    Trait Implementations§

    source§

    impl Drop for Inner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Inner

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Inner

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Inner

    §

    impl !Send for Inner

    §

    impl !Sync for Inner

    §

    impl Unpin for Inner

    §

    impl !UnwindSafe for Inner

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/script/struct.Script.html b/doc/boa_engine/script/struct.Script.html index b0f4b9d98eb..5a7b3a0ec03 100644 --- a/doc/boa_engine/script/struct.Script.html +++ b/doc/boa_engine/script/struct.Script.html @@ -1,16 +1,16 @@ Script in boa_engine::script - Rust

    Struct boa_engine::script::Script

    source ·
    pub struct Script {
    -    inner: Gc<Inner>,
    +    inner: Gc<Inner>,
     }
    Expand description

    ECMAScript’s Script Record.

    -

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl Script

    source

    pub fn realm(&self) -> &Realm

    Gets the realm of this script.

    +

    Fields§

    §inner: Gc<Inner>

    Implementations§

    source§

    impl Script

    source

    pub fn realm(&self) -> &Realm

    Gets the realm of this script.

    source

    pub fn host_defined(&self) -> &HostDefined

    Returns the ECMAScript specification defined \[\[HostDefined\]\] field of the Module.

    -
    source

    pub(crate) fn loaded_modules(&self) -> &GcRefCell<FxHashMap<JsString, Module>>

    Gets the loaded modules of this script.

    +
    source

    pub(crate) fn loaded_modules(&self) -> &GcRefCell<FxHashMap<JsString, Module>>

    Gets the loaded modules of this script.

    source

    pub fn parse<R: Read>( src: Source<'_, R>, realm: Option<Realm>, context: &mut Context ) -> JsResult<Self>

    Abstract operation ParseScript ( sourceText, realm, hostDefined ).

    Parses the provided src as an ECMAScript script, returning an error if parsing fails.

    -
    source

    pub fn codeblock(&self, context: &mut Context) -> JsResult<Gc<CodeBlock>>

    Compiles the codeblock of this script.

    +
    source

    pub fn codeblock(&self, context: &mut Context) -> JsResult<Gc<CodeBlock>>

    Compiles the codeblock of this script.

    This is a no-op if this has been called previously.

    source

    pub fn evaluate(&self, context: &mut Context) -> JsResult<JsValue>

    Evaluates this script and returns its result.

    Note that this won’t run any scheduled promise jobs; you need to call Context::run_jobs @@ -30,7 +30,7 @@ CPU clock cycles a VM instruction will take, but all instructions have a “cost” associated with them that depends on their individual complexity. We’d recommend benchmarking with different budget sizes in order to find the ideal yielding time for your application.

    -
    source

    fn prepare_run(&self, context: &mut Context) -> JsResult<()>

    Trait Implementations§

    source§

    impl Clone for Script

    source§

    fn clone(&self) -> Script

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Script

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Script

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Script

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Script

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source

    fn prepare_run(&self, context: &mut Context) -> JsResult<()>

    Trait Implementations§

    source§

    impl Clone for Script

    source§

    fn clone(&self) -> Script

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Script

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Script

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Script

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Script

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Script

    §

    impl !Send for Script

    §

    impl !Sync for Script

    §

    impl Unpin for Script

    §

    impl !UnwindSafe for Script

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/string/struct.JsString.html b/doc/boa_engine/string/struct.JsString.html index 77951748735..ac2d6fdf519 100644 --- a/doc/boa_engine/string/struct.JsString.html +++ b/doc/boa_engine/string/struct.JsString.html @@ -1123,7 +1123,7 @@
    Examples

    ASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To lowercase the value in-place, use make_ascii_lowercase.

    -

    Trait Implementations§

    source§

    impl AsRef<[u16]> for JsString

    source§

    fn as_ref(&self) -> &[u16]

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Borrow<[u16]> for JsString

    source§

    fn borrow(&self) -> &[u16]

    Immutably borrows from an owned value. Read more
    source§

    impl Clone for JsString

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsString

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsString

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for JsString

    §

    type Target = [u16]

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsString

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsString

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&[u16]> for JsString

    source§

    fn from(s: &[u16]) -> Self

    Converts to this type from the input type.
    source§

    impl<const N: usize> From<&[u16; N]> for JsString

    source§

    fn from(s: &[u16; N]) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for JsString

    source§

    fn from(s: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for FunctionBinding

    source§

    fn from(name: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for JsValue

    source§

    fn from(value: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for PropertyKey

    source§

    fn from(string: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<String> for JsString

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<u16, Global>> for JsString

    source§

    fn from(vec: Vec<u16>) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for JsString

    §

    type Err = Infallible

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for JsString

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl AsRef<[u16]> for JsString

    source§

    fn as_ref(&self) -> &[u16]

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Borrow<[u16]> for JsString

    source§

    fn borrow(&self) -> &[u16]

    Immutably borrows from an owned value. Read more
    source§

    impl Clone for JsString

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsString

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsString

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for JsString

    §

    type Target = [u16]

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for JsString

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsString

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&[u16]> for JsString

    source§

    fn from(s: &[u16]) -> Self

    Converts to this type from the input type.
    source§

    impl<const N: usize> From<&[u16; N]> for JsString

    source§

    fn from(s: &[u16; N]) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for JsString

    source§

    fn from(s: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for FunctionBinding

    source§

    fn from(name: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for JsValue

    source§

    fn from(value: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for PropertyKey

    source§

    fn from(string: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<String> for JsString

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<u16, Global>> for JsString

    source§

    fn from(vec: Vec<u16>) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for JsString

    §

    type Err = Infallible

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for JsString

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<I: SliceIndex<[u16]>> Index<I> for JsString

    §

    type Output = <I as SliceIndex<[u16]>>::Output

    The returned type after indexing.
    source§

    fn index(&self, index: I) -> &Self::Output

    Performs the indexing (container[index]) operation. Read more
    source§

    impl OptionType for JsString

    source§

    fn from_value(value: JsValue, context: &mut Context) -> JsResult<Self>

    Parses a JsValue into an instance of Self. Read more
    source§

    impl Ord for JsString

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere diff --git a/doc/boa_engine/struct.HostDefined.html b/doc/boa_engine/struct.HostDefined.html index f6b7e06cdef..c3ed8282c2e 100644 --- a/doc/boa_engine/struct.HostDefined.html +++ b/doc/boa_engine/struct.HostDefined.html @@ -14,7 +14,7 @@ ) -> Option<T::NativeTupleMutRef<'_>>where T: NativeTuple<SIZE>,

    Get type a tuple of types from HostDefined, if they exist.

    source

    pub fn clear(&mut self)

    Clears all the objects.

    -

    Trait Implementations§

    source§

    impl Default for HostDefined

    source§

    fn default() -> HostDefined

    Returns the “default value” for a type. Read more
    source§

    impl Drop for HostDefined

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for HostDefined

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for HostDefined

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Default for HostDefined

    source§

    fn default() -> HostDefined

    Returns the “default value” for a type. Read more
    source§

    impl Drop for HostDefined

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for HostDefined

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for HostDefined

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/struct.Source.html b/doc/boa_engine/struct.Source.html index 745fe57c083..71a79b8bec2 100644 --- a/doc/boa_engine/struct.Source.html +++ b/doc/boa_engine/struct.Source.html @@ -1,17 +1,17 @@ -Source in boa_engine - Rust

    Struct boa_engine::Source

    pub struct Source<'path, R> {
    +Source in boa_engine - Rust

    Struct boa_engine::Source

    source ·
    pub struct Source<'path, R> {
         pub(crate) reader: R,
         pub(crate) path: Option<&'path Path>,
     }
    Expand description

    A source of ECMAScript code.

    Sources can be created from plain strs, file Paths or more generally, any Read instance.

    -

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    §

    impl<'bytes> Source<'static, &'bytes [u8]>

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where +

    Fields§

    §reader: R§path: Option<&'path Path>

    Implementations§

    source§

    impl<'bytes> Source<'static, &'bytes [u8]>

    source

    pub fn from_bytes<T>(source: &'bytes T) -> Source<'static, &'bytes [u8]>where T: AsRef<[u8]> + ?Sized,

    Creates a new Source from any type equivalent to a slice of bytes e.g. &str, Vec<u8>, Box<[u8]> or a plain slice &[u8].

    Examples
    let code = r#"var array = [5, 4, 3, 2, 1];"#;
     let source = Source::from_bytes(code);
    -
    §

    impl<'path> Source<'path, BufReader<File>>

    pub fn from_filepath( +

    source§

    impl<'path> Source<'path, BufReader<File>>

    source

    pub fn from_filepath( source: &'path Path ) -> Result<Source<'path, BufReader<File>>, Error>

    Creates a new Source from a Path to a file.

    Errors
    @@ -19,8 +19,8 @@
    Errors
    Examples
    let path = Path::new("script.js");
     let source = Source::from_filepath(path)?;
    -
    §

    impl<'path, R> Source<'path, R>where - R: Read,

    pub const fn from_reader( +

    source§

    impl<'path, R> Source<'path, R>where + R: Read,

    source

    pub const fn from_reader( reader: R, path: Option<&'path Path> ) -> Source<'path, R>

    Creates a new Source from a Read instance and an optional Path.

    @@ -32,8 +32,8 @@
    Examples
    let strict = strictler.as_bytes().chain(file); let source = Source::from_reader(strict, Some(path));
    -

    Trait Implementations§

    §

    impl<'path, R> Debug for Source<'path, R>where - R: Debug,

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where +

    Trait Implementations§

    source§

    impl<'path, R> Debug for Source<'path, R>where + R: Debug,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'path, R> RefUnwindSafe for Source<'path, R>where R: RefUnwindSafe,

    §

    impl<'path, R> Send for Source<'path, R>where R: Send,

    §

    impl<'path, R> Sync for Source<'path, R>where R: Sync,

    §

    impl<'path, R> Unpin for Source<'path, R>where diff --git a/doc/boa_engine/symbol/struct.JsSymbol.html b/doc/boa_engine/symbol/struct.JsSymbol.html index 1ff445e7177..16c992c8472 100644 --- a/doc/boa_engine/symbol/struct.JsSymbol.html +++ b/doc/boa_engine/symbol/struct.JsSymbol.html @@ -27,7 +27,7 @@

    source

    pub const fn to_primitive() -> JsSymbol

    Gets the static JsSymbol for "Symbol.toPrimitive".

    source

    pub const fn to_string_tag() -> JsSymbol

    Gets the static JsSymbol for "Symbol.toStringTag".

    source

    pub const fn unscopables() -> JsSymbol

    Gets the static JsSymbol for "Symbol.unscopables".

    -

    Trait Implementations§

    source§

    impl Clone for JsSymbol

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSymbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsSymbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsSymbol

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSymbol

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSymbol> for FunctionBinding

    source§

    fn from(binding: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for JsValue

    source§

    fn from(value: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for PropertyKey

    source§

    fn from(symbol: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsSymbol

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl Clone for JsSymbol

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsSymbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for JsSymbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for JsSymbol

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for JsSymbol

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<JsSymbol> for FunctionBinding

    source§

    fn from(binding: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for JsValue

    source§

    fn from(value: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for PropertyKey

    source§

    fn from(symbol: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsSymbol

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for JsSymbol

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere diff --git a/doc/boa_engine/trait.Finalize.html b/doc/boa_engine/trait.Finalize.html index 86be9dd0d30..4f8b3b6409e 100644 --- a/doc/boa_engine/trait.Finalize.html +++ b/doc/boa_engine/trait.Finalize.html @@ -1,42 +1,42 @@ -Finalize in boa_engine - Rust

    Trait boa_engine::Finalize

    pub trait Finalize {
    +Finalize in boa_engine - Rust

    Trait boa_engine::Finalize

    source ·
    pub trait Finalize {
         // Provided method
         fn finalize(&self) { ... }
     }
    Expand description

    Substitute for the Drop trait for garbage collected types.

    -

    Provided Methods§

    fn finalize(&self)

    Cleanup logic for a type.

    -

    Implementations on Foreign Types§

    §

    impl Finalize for i8

    §

    impl Finalize for AtomicU32

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl<T> Finalize for Box<T, Global>where - T: Trace + ?Sized,

    §

    impl Finalize for AtomicUsize

    §

    impl Finalize for isize

    §

    impl<Ret> Finalize for extern "C" fn() -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    impl<Ret, A> Finalize for unsafe fn(_: A) -> Ret

    §

    impl<T> Finalize for &'static Twhere - T: ?Sized,

    §

    impl<Ret, A, B, C, D> Finalize for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl Finalize for Path

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I, J> Finalize for (A, B, C, D, E, F, G, H, I, J)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    impl Finalize for u8

    §

    impl Finalize for NonZeroIsize

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl Finalize for Locale

    §

    impl<Ret, A, B, C, D, E> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<Ret> Finalize for unsafe extern "C" fn() -> Ret

    §

    impl Finalize for u16

    §

    impl<T> Finalize for BTreeSet<T, Global>where - T: Trace,

    §

    impl<T> Finalize for Box<[T], Global>where - T: Trace,

    §

    impl<T, const N: usize> Finalize for [T; N]where - T: Trace,

    §

    impl<K, V, S> Finalize for HashMap<K, V, S>where +

    Provided Methods§

    source

    fn finalize(&self)

    Cleanup logic for a type.

    +

    Implementations on Foreign Types§

    source§

    impl Finalize for i8

    source§

    impl Finalize for AtomicU32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<T> Finalize for Box<T, Global>where + T: Trace + ?Sized,

    source§

    impl Finalize for AtomicUsize

    source§

    impl Finalize for isize

    source§

    impl<Ret> Finalize for extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A> Finalize for unsafe fn(_: A) -> Ret

    source§

    impl<T> Finalize for &'static Twhere + T: ?Sized,

    source§

    impl<Ret, A, B, C, D> Finalize for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Finalize for Path

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J> Finalize for (A, B, C, D, E, F, G, H, I, J)

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl Finalize for u8

    source§

    impl Finalize for NonZeroIsize

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Finalize for Locale

    source§

    impl<Ret, A, B, C, D, E> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret> Finalize for unsafe extern "C" fn() -> Ret

    source§

    impl Finalize for u16

    source§

    impl<T> Finalize for BTreeSet<T, Global>where + T: Trace,

    source§

    impl<T> Finalize for Box<[T], Global>where + T: Trace,

    source§

    impl<T, const N: usize> Finalize for [T; N]where + T: Trace,

    source§

    impl<K, V, S> Finalize for HashMap<K, V, S>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    impl Finalize for f32

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl Finalize for ()

    §

    impl<Ret, A, B, C, D> Finalize for fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Finalize for (A, B, C, D, E, F, G, H, I, J, K, L)

    §

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl Finalize for u128

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl Finalize for AtomicBool

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    impl<T> Finalize for BinaryHeap<T, Global>where - T: Ord + Trace,

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl<Ret> Finalize for fn() -> Ret

    §

    impl<A, B, C, D, E, F, G, H> Finalize for (A, B, C, D, E, F, G, H)

    §

    impl<Ret> Finalize for unsafe fn() -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    impl Finalize for TypeId

    §

    impl Finalize for NonZeroU64

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl Finalize for Box<str, Global>

    §

    impl<A, B, C> Finalize for (A, B, C)

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    impl Finalize for usize

    §

    impl Finalize for PathBuf

    §

    impl<Ret, A> Finalize for extern "C" fn(_: A) -> Ret

    §

    impl Finalize for Rc<str, Global>

    §

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    impl<T> Finalize for Vec<T, Global>where - T: Trace,

    §

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    impl Finalize for NonZeroI128

    §

    impl Finalize for NonZeroI64

    §

    impl<T> Finalize for LinkedList<T, Global>where - T: Eq + Hash + Trace,

    §

    impl<Ret, A> Finalize for extern "C" fn(_: A, ...) -> Ret

    §

    impl Finalize for AtomicIsize

    §

    impl Finalize for NonZeroI16

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl<Ret, A, B, C> Finalize for fn(_: A, _: B, _: C) -> Ret

    §

    impl Finalize for AtomicU64

    §

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    impl Finalize for AtomicI64

    §

    impl Finalize for u32

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    impl<Ret, A, B> Finalize for unsafe fn(_: A, _: B) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    impl Finalize for i128

    §

    impl<Ret, A, B, C, D, E> Finalize for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    impl Finalize for LanguageIdentifier

    §

    impl Finalize for AtomicU8

    §

    impl Finalize for i64

    §

    impl<A, B, C, D, E, F, G> Finalize for (A, B, C, D, E, F, G)

    §

    impl Finalize for NonZeroI8

    §

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A, ...) -> Ret

    §

    impl<A> Finalize for (A,)

    §

    impl<T> Finalize for VecDeque<T, Global>where - T: Trace,

    §

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl Finalize for i32

    §

    impl<T> Finalize for Cell<Option<T>>where - T: Trace,

    §

    impl<A, B, C, D> Finalize for (A, B, C, D)

    §

    impl Finalize for u64

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    impl<K, V> Finalize for BTreeMap<K, V, Global>where + S: BuildHasher,

    source§

    impl Finalize for f32

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl Finalize for ()

    source§

    impl<Ret, A, B, C, D> Finalize for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Finalize for (A, B, C, D, E, F, G, H, I, J, K, L)

    source§

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl Finalize for u128

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl Finalize for AtomicBool

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl<T> Finalize for BinaryHeap<T, Global>where + T: Ord + Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<Ret> Finalize for fn() -> Ret

    source§

    impl<A, B, C, D, E, F, G, H> Finalize for (A, B, C, D, E, F, G, H)

    source§

    impl<Ret> Finalize for unsafe fn() -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl Finalize for TypeId

    source§

    impl Finalize for NonZeroU64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl Finalize for Box<str, Global>

    source§

    impl<A, B, C> Finalize for (A, B, C)

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl Finalize for usize

    source§

    impl Finalize for PathBuf

    source§

    impl<Ret, A> Finalize for extern "C" fn(_: A) -> Ret

    source§

    impl Finalize for Rc<str, Global>

    source§

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T> Finalize for Vec<T, Global>where + T: Trace,

    source§

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl Finalize for NonZeroI128

    source§

    impl Finalize for NonZeroI64

    source§

    impl<T> Finalize for LinkedList<T, Global>where + T: Eq + Hash + Trace,

    source§

    impl<Ret, A> Finalize for extern "C" fn(_: A, ...) -> Ret

    source§

    impl Finalize for AtomicIsize

    source§

    impl Finalize for NonZeroI16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> Finalize for fn(_: A, _: B, _: C) -> Ret

    source§

    impl Finalize for AtomicU64

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl Finalize for AtomicI64

    source§

    impl Finalize for u32

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<Ret, A, B> Finalize for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl Finalize for i128

    source§

    impl<Ret, A, B, C, D, E> Finalize for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl Finalize for LanguageIdentifier

    source§

    impl Finalize for AtomicU8

    source§

    impl Finalize for i64

    source§

    impl<A, B, C, D, E, F, G> Finalize for (A, B, C, D, E, F, G)

    source§

    impl Finalize for NonZeroI8

    source§

    impl<Ret, A> Finalize for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<A> Finalize for (A,)

    source§

    impl<T> Finalize for VecDeque<T, Global>where + T: Trace,

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl Finalize for i32

    source§

    impl<T> Finalize for Cell<Option<T>>where + T: Trace,

    source§

    impl<A, B, C, D> Finalize for (A, B, C, D)

    source§

    impl Finalize for u64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl<K, V> Finalize for BTreeMap<K, V, Global>where K: Trace, - V: Trace,

    §

    impl<A, B, C, D, E> Finalize for (A, B, C, D, E)

    §

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    impl Finalize for NonZeroUsize

    §

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B) -> Ret

    §

    impl Finalize for AtomicI8

    §

    impl<K, V, S> Finalize for HashMap<K, V, S, Global>where + V: Trace,

    source§

    impl<A, B, C, D, E> Finalize for (A, B, C, D, E)

    source§

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl Finalize for NonZeroUsize

    source§

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl Finalize for AtomicI8

    source§

    impl<K, V, S> Finalize for HashMap<K, V, S, Global>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    impl Finalize for AtomicI16

    §

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    impl Finalize for NonZeroU32

    §

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I> Finalize for (A, B, C, D, E, F, G, H, I)

    §

    impl Finalize for bool

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<A, B, C, D, E, F> Finalize for (A, B, C, D, E, F)

    §

    impl<T, S> Finalize for HashSet<T, S>where + S: BuildHasher,

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Finalize for AtomicI16

    source§

    impl<Ret, A, B, C, D> Finalize for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Finalize for NonZeroU32

    source§

    impl<Ret, A, B, C, D, E> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<Ret, A, B, C> Finalize for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> Finalize for (A, B, C, D, E, F, G, H, I)

    source§

    impl Finalize for bool

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<A, B, C, D, E, F> Finalize for (A, B, C, D, E, F)

    source§

    impl<T, S> Finalize for HashSet<T, S>where T: Eq + Hash + Trace, - S: BuildHasher,

    §

    impl Finalize for NonZeroU16

    §

    impl Finalize for f64

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl Finalize for NonZeroI32

    §

    impl Finalize for char

    §

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    impl<T, E> Finalize for Result<T, E>where + S: BuildHasher,

    source§

    impl Finalize for NonZeroU16

    source§

    impl Finalize for f64

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl Finalize for NonZeroI32

    source§

    impl Finalize for char

    source§

    impl<Ret, A, B, C> Finalize for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<T, E> Finalize for Result<T, E>where T: Trace, - E: Trace,

    §

    impl Finalize for AtomicU16

    §

    impl<T> Finalize for Option<T>where - T: Trace,

    §

    impl<Ret, A> Finalize for fn(_: A) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    impl Finalize for String

    §

    impl<T> Finalize for Cow<'static, T>where - T: ToOwned + Trace + ?Sized,

    §

    impl Finalize for NonZeroU128

    §

    impl Finalize for i16

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    impl Finalize for AtomicI32

    §

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    impl<T> Finalize for ThinVec<T>where - T: Trace,

    §

    impl<Ret, A, B> Finalize for fn(_: A, _: B) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl<A, B, C, D, E, F, G, H, I, J, K> Finalize for (A, B, C, D, E, F, G, H, I, J, K)

    §

    impl Finalize for NonZeroU8

    §

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    impl<Ret, A, B, C, D, E, F> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    impl<Ret, A, B, C> Finalize for unsafe fn(_: A, _: B, _: C) -> Ret

    §

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    §

    impl<T> Finalize for PhantomData<T>

    §

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B, ...) -> Ret

    §

    impl<A, B> Finalize for (A, B)

    source§

    impl Finalize for Sym

    Implementors§

    source§

    impl Finalize for ErrorObject

    source§

    impl Finalize for ClassFieldDefinition

    source§

    impl Finalize for ThisMode

    source§

    impl Finalize for GeneratorState

    source§

    impl Finalize for PromiseState

    source§

    impl Finalize for DeclarativeEnvironmentKind

    source§

    impl Finalize for ThisBindingStatus

    source§

    impl Finalize for BindingType

    source§

    impl Finalize for Environment

    source§

    impl Finalize for ErasedRepr

    source§

    impl Finalize for JsErasedNativeErrorKind

    source§

    impl Finalize for JsNativeErrorKind

    source§

    impl Finalize for Repr

    source§

    impl Finalize for ModuleKind

    source§

    impl Finalize for Status

    source§

    impl Finalize for PrivateElement

    source§

    impl Finalize for IndexedProperties

    source§

    impl Finalize for boa_engine::object::shape::Inner

    source§

    impl Finalize for WeakShape

    source§

    impl Finalize for DescriptorKind

    source§

    impl Finalize for PropertyKey

    source§

    impl Finalize for JsValue

    source§

    impl Finalize for Constant

    source§

    impl Finalize for CompletionRecord

    source§

    impl Finalize for ActiveRunnable

    source§

    impl Finalize for JsBigInt

    source§

    impl Finalize for ArrayIterator

    source§

    impl Finalize for Array

    source§

    impl Finalize for SharedArrayBuffer

    source§

    impl Finalize for ArrayBuffer

    source§

    impl Finalize for AsyncGenerator

    source§

    impl Finalize for AsyncGeneratorRequest

    source§

    impl Finalize for DataView

    source§

    impl Finalize for Date

    source§

    impl Finalize for MappedArguments

    source§

    impl Finalize for UnmappedArguments

    source§

    impl Finalize for BoundFunction

    source§

    impl Finalize for OrdinaryFunction

    source§

    impl Finalize for Generator

    source§

    impl Finalize for GeneratorContext

    source§

    impl Finalize for Collator

    source§

    impl Finalize for DateTimeFormat

    source§

    impl Finalize for ListFormat

    source§

    impl Finalize for PluralRules

    source§

    impl Finalize for SegmentIterator

    source§

    impl Finalize for Segments

    source§

    impl Finalize for Segmenter

    source§

    impl Finalize for AsyncFromSyncIterator

    source§

    impl Finalize for IteratorPrototypes

    source§

    impl Finalize for IteratorRecord

    source§

    impl Finalize for IteratorResult

    source§

    impl Finalize for MapIterator

    source§

    impl Finalize for MapLock

    source§

    impl Finalize for ForInIterator

    source§

    impl Finalize for OrdinaryObject

    source§

    impl Finalize for Promise

    source§

    impl Finalize for PromiseCapability

    source§

    impl Finalize for ReactionRecord

    source§

    impl Finalize for ResolvingFunctions

    source§

    impl Finalize for Proxy

    source§

    impl Finalize for RegExpStringIterator

    source§

    impl Finalize for RegExp

    source§

    impl Finalize for OrderedSet

    source§

    impl Finalize for SetLock

    source§

    impl Finalize for SetIterator

    source§

    impl Finalize for StringIterator

    source§

    impl Finalize for Calendar

    source§

    impl Finalize for Duration

    source§

    impl Finalize for Instant

    source§

    impl Finalize for PlainDate

    source§

    impl Finalize for PlainDateTime

    source§

    impl Finalize for PlainMonthDay

    source§

    impl Finalize for PlainYearMonth

    source§

    impl Finalize for TimeZone

    source§

    impl Finalize for ZonedDateTime

    source§

    impl Finalize for TypedArray

    source§

    impl Finalize for UriFunctions

    source§

    impl Finalize for WeakRef

    source§

    impl Finalize for boa_engine::builtins::weak_map::WeakMap

    source§

    impl Finalize for WeakSet

    source§

    impl Finalize for IntrinsicObjects

    source§

    impl Finalize for Intrinsics

    source§

    impl Finalize for ObjectTemplates

    source§

    impl Finalize for StandardConstructor

    source§

    impl Finalize for StandardConstructors

    source§

    impl Finalize for CompileTimeEnvironment

    source§

    impl Finalize for FunctionEnvironment

    source§

    impl Finalize for FunctionSlots

    source§

    impl Finalize for GlobalEnvironment

    source§

    impl Finalize for LexicalEnvironment

    source§

    impl Finalize for IndirectBinding

    source§

    impl Finalize for ModuleEnvironment

    source§

    impl Finalize for DeclarativeEnvironment

    source§

    impl Finalize for PoisonableEnvironment

    source§

    impl Finalize for PrivateEnvironment

    source§

    impl Finalize for BindingLocator

    source§

    impl Finalize for EnvironmentStack

    source§

    impl Finalize for JsErasedError

    source§

    impl Finalize for JsErasedNativeError

    source§

    impl Finalize for JsError

    source§

    impl Finalize for JsNativeError

    source§

    impl Finalize for HostDefined

    source§

    impl Finalize for JobCallback

    source§

    impl Finalize for ModuleNamespace

    source§

    impl Finalize for DfsInfo

    source§

    impl Finalize for boa_engine::module::source::Inner

    source§

    impl Finalize for SourceTextContext

    source§

    impl Finalize for SourceTextModule

    source§

    impl Finalize for Module

    source§

    impl Finalize for ModuleRepr

    source§

    impl Finalize for boa_engine::module::synthetic::Inner

    source§

    impl Finalize for SyntheticModule

    source§

    impl Finalize for SyntheticModuleInitializer

    source§

    impl Finalize for NativeFunction

    source§

    impl Finalize for NativeFunctionObject

    source§

    impl Finalize for JsArray

    source§

    impl Finalize for JsArrayBuffer

    source§

    impl Finalize for JsDataView

    source§

    impl Finalize for JsDate

    source§

    impl Finalize for JsFunction

    source§

    impl Finalize for JsGenerator

    source§

    impl Finalize for JsMap

    source§

    impl Finalize for JsMapIterator

    source§

    impl Finalize for boa_engine::object::builtins::jspromise::Inner

    source§

    impl Finalize for JsPromise

    source§

    impl Finalize for JsProxy

    source§

    impl Finalize for JsRevocableProxy

    source§

    impl Finalize for JsRegExp

    source§

    impl Finalize for JsSet

    source§

    impl Finalize for JsSetIterator

    source§

    impl Finalize for JsSharedArrayBuffer

    source§

    impl Finalize for JsFloat32Array

    source§

    impl Finalize for JsFloat64Array

    source§

    impl Finalize for JsInt8Array

    source§

    impl Finalize for JsInt16Array

    source§

    impl Finalize for JsInt32Array

    source§

    impl Finalize for JsTypedArray

    source§

    impl Finalize for JsUint8Array

    source§

    impl Finalize for JsUint16Array

    source§

    impl Finalize for JsUint32Array

    source§

    impl Finalize for JsObject

    source§

    impl Finalize for PropertyMap

    source§

    impl Finalize for RootShape

    source§

    impl Finalize for ForwardTransition

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::forward_transition::Inner

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::Inner

    source§

    impl Finalize for ShapeFlags

    source§

    impl Finalize for SharedShape

    source§

    impl Finalize for TransitionKey

    source§

    impl Finalize for WeakSharedShape

    source§

    impl Finalize for ObjectTemplate

    source§

    impl Finalize for Shape

    source§

    impl Finalize for boa_engine::object::shape::unique_shape::Inner

    source§

    impl Finalize for UniqueShape

    source§

    impl Finalize for WeakUniqueShape

    source§

    impl Finalize for PrivateName

    source§

    impl Finalize for PropertyDescriptor

    source§

    impl Finalize for boa_engine::realm::Inner

    source§

    impl Finalize for Realm

    source§

    impl Finalize for boa_engine::script::Inner

    source§

    impl Finalize for Script

    source§

    impl Finalize for JsString

    source§

    impl Finalize for JsSymbol

    source§

    impl Finalize for CallFrame

    source§

    impl Finalize for CodeBlock

    source§

    impl Finalize for CodeBlockFlags

    source§

    impl Finalize for InlineCache

    source§

    impl<F, T> Finalize for Callback<F, T>where + E: Trace,

    source§

    impl Finalize for AtomicU16

    source§

    impl<T> Finalize for Option<T>where + T: Trace,

    source§

    impl<Ret, A> Finalize for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl Finalize for String

    source§

    impl<T> Finalize for Cow<'static, T>where + T: ToOwned + Trace + ?Sized,

    source§

    impl Finalize for NonZeroU128

    source§

    impl Finalize for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl Finalize for AtomicI32

    source§

    impl<Ret, A, B, C, D> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<T> Finalize for ThinVec<T>where + T: Trace,

    source§

    impl<Ret, A, B> Finalize for fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> Finalize for (A, B, C, D, E, F, G, H, I, J, K)

    source§

    impl Finalize for NonZeroU8

    source§

    impl<Ret, A, B, C, D, E, F, G> Finalize for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Finalize for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Finalize for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C> Finalize for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B> Finalize for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<T> Finalize for PhantomData<T>

    source§

    impl<Ret, A, B> Finalize for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<A, B> Finalize for (A, B)

    source§

    impl Finalize for Sym

    Implementors§

    source§

    impl Finalize for ErrorObject

    source§

    impl Finalize for ClassFieldDefinition

    source§

    impl Finalize for ThisMode

    source§

    impl Finalize for GeneratorState

    source§

    impl Finalize for PromiseState

    source§

    impl Finalize for DeclarativeEnvironmentKind

    source§

    impl Finalize for ThisBindingStatus

    source§

    impl Finalize for BindingType

    source§

    impl Finalize for Environment

    source§

    impl Finalize for ErasedRepr

    source§

    impl Finalize for JsErasedNativeErrorKind

    source§

    impl Finalize for JsNativeErrorKind

    source§

    impl Finalize for Repr

    source§

    impl Finalize for ModuleKind

    source§

    impl Finalize for Status

    source§

    impl Finalize for PrivateElement

    source§

    impl Finalize for IndexedProperties

    source§

    impl Finalize for boa_engine::object::shape::Inner

    source§

    impl Finalize for WeakShape

    source§

    impl Finalize for DescriptorKind

    source§

    impl Finalize for PropertyKey

    source§

    impl Finalize for JsValue

    source§

    impl Finalize for Constant

    source§

    impl Finalize for CompletionRecord

    source§

    impl Finalize for ActiveRunnable

    source§

    impl Finalize for JsBigInt

    source§

    impl Finalize for ArrayIterator

    source§

    impl Finalize for Array

    source§

    impl Finalize for SharedArrayBuffer

    source§

    impl Finalize for ArrayBuffer

    source§

    impl Finalize for AsyncGenerator

    source§

    impl Finalize for AsyncGeneratorRequest

    source§

    impl Finalize for DataView

    source§

    impl Finalize for Date

    source§

    impl Finalize for MappedArguments

    source§

    impl Finalize for UnmappedArguments

    source§

    impl Finalize for BoundFunction

    source§

    impl Finalize for OrdinaryFunction

    source§

    impl Finalize for Generator

    source§

    impl Finalize for GeneratorContext

    source§

    impl Finalize for Collator

    source§

    impl Finalize for DateTimeFormat

    source§

    impl Finalize for ListFormat

    source§

    impl Finalize for PluralRules

    source§

    impl Finalize for SegmentIterator

    source§

    impl Finalize for Segments

    source§

    impl Finalize for Segmenter

    source§

    impl Finalize for AsyncFromSyncIterator

    source§

    impl Finalize for IteratorPrototypes

    source§

    impl Finalize for IteratorRecord

    source§

    impl Finalize for IteratorResult

    source§

    impl Finalize for MapIterator

    source§

    impl Finalize for MapLock

    source§

    impl Finalize for ForInIterator

    source§

    impl Finalize for OrdinaryObject

    source§

    impl Finalize for Promise

    source§

    impl Finalize for PromiseCapability

    source§

    impl Finalize for ReactionRecord

    source§

    impl Finalize for ResolvingFunctions

    source§

    impl Finalize for Proxy

    source§

    impl Finalize for RegExpStringIterator

    source§

    impl Finalize for RegExp

    source§

    impl Finalize for OrderedSet

    source§

    impl Finalize for SetLock

    source§

    impl Finalize for SetIterator

    source§

    impl Finalize for StringIterator

    source§

    impl Finalize for Calendar

    source§

    impl Finalize for Duration

    source§

    impl Finalize for Instant

    source§

    impl Finalize for PlainDate

    source§

    impl Finalize for PlainDateTime

    source§

    impl Finalize for PlainMonthDay

    source§

    impl Finalize for PlainYearMonth

    source§

    impl Finalize for TimeZone

    source§

    impl Finalize for ZonedDateTime

    source§

    impl Finalize for TypedArray

    source§

    impl Finalize for UriFunctions

    source§

    impl Finalize for WeakRef

    source§

    impl Finalize for boa_engine::builtins::weak_map::WeakMap

    source§

    impl Finalize for WeakSet

    source§

    impl Finalize for IntrinsicObjects

    source§

    impl Finalize for Intrinsics

    source§

    impl Finalize for ObjectTemplates

    source§

    impl Finalize for StandardConstructor

    source§

    impl Finalize for StandardConstructors

    source§

    impl Finalize for CompileTimeEnvironment

    source§

    impl Finalize for FunctionEnvironment

    source§

    impl Finalize for FunctionSlots

    source§

    impl Finalize for GlobalEnvironment

    source§

    impl Finalize for LexicalEnvironment

    source§

    impl Finalize for IndirectBinding

    source§

    impl Finalize for ModuleEnvironment

    source§

    impl Finalize for DeclarativeEnvironment

    source§

    impl Finalize for PoisonableEnvironment

    source§

    impl Finalize for PrivateEnvironment

    source§

    impl Finalize for BindingLocator

    source§

    impl Finalize for EnvironmentStack

    source§

    impl Finalize for JsErasedError

    source§

    impl Finalize for JsErasedNativeError

    source§

    impl Finalize for JsError

    source§

    impl Finalize for JsNativeError

    source§

    impl Finalize for HostDefined

    source§

    impl Finalize for JobCallback

    source§

    impl Finalize for ModuleNamespace

    source§

    impl Finalize for DfsInfo

    source§

    impl Finalize for boa_engine::module::source::Inner

    source§

    impl Finalize for SourceTextContext

    source§

    impl Finalize for SourceTextModule

    source§

    impl Finalize for Module

    source§

    impl Finalize for ModuleRepr

    source§

    impl Finalize for boa_engine::module::synthetic::Inner

    source§

    impl Finalize for SyntheticModule

    source§

    impl Finalize for SyntheticModuleInitializer

    source§

    impl Finalize for NativeFunction

    source§

    impl Finalize for NativeFunctionObject

    source§

    impl Finalize for JsArray

    source§

    impl Finalize for JsArrayBuffer

    source§

    impl Finalize for JsDataView

    source§

    impl Finalize for JsDate

    source§

    impl Finalize for JsFunction

    source§

    impl Finalize for JsGenerator

    source§

    impl Finalize for JsMap

    source§

    impl Finalize for JsMapIterator

    source§

    impl Finalize for boa_engine::object::builtins::jspromise::Inner

    source§

    impl Finalize for JsPromise

    source§

    impl Finalize for JsProxy

    source§

    impl Finalize for JsRevocableProxy

    source§

    impl Finalize for JsRegExp

    source§

    impl Finalize for JsSet

    source§

    impl Finalize for JsSetIterator

    source§

    impl Finalize for JsSharedArrayBuffer

    source§

    impl Finalize for JsFloat32Array

    source§

    impl Finalize for JsFloat64Array

    source§

    impl Finalize for JsInt8Array

    source§

    impl Finalize for JsInt16Array

    source§

    impl Finalize for JsInt32Array

    source§

    impl Finalize for JsTypedArray

    source§

    impl Finalize for JsUint8Array

    source§

    impl Finalize for JsUint16Array

    source§

    impl Finalize for JsUint32Array

    source§

    impl Finalize for JsObject

    source§

    impl Finalize for PropertyMap

    source§

    impl Finalize for RootShape

    source§

    impl Finalize for ForwardTransition

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::forward_transition::Inner

    source§

    impl Finalize for boa_engine::object::shape::shared_shape::Inner

    source§

    impl Finalize for ShapeFlags

    source§

    impl Finalize for SharedShape

    source§

    impl Finalize for TransitionKey

    source§

    impl Finalize for WeakSharedShape

    source§

    impl Finalize for ObjectTemplate

    source§

    impl Finalize for Shape

    source§

    impl Finalize for boa_engine::object::shape::unique_shape::Inner

    source§

    impl Finalize for UniqueShape

    source§

    impl Finalize for WeakUniqueShape

    source§

    impl Finalize for PrivateName

    source§

    impl Finalize for PropertyDescriptor

    source§

    impl Finalize for boa_engine::realm::Inner

    source§

    impl Finalize for Realm

    source§

    impl Finalize for boa_engine::script::Inner

    source§

    impl Finalize for Script

    source§

    impl Finalize for JsString

    source§

    impl Finalize for JsSymbol

    source§

    impl Finalize for CallFrame

    source§

    impl Finalize for CodeBlock

    source§

    impl Finalize for CodeBlockFlags

    source§

    impl Finalize for InlineCache

    source§

    impl<F, T> Finalize for Callback<F, T>where F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>, T: Trace,

    source§

    impl<F, T> Finalize for Closure<F, T>where F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>, - T: Trace,

    §

    impl<K, V> Finalize for Ephemeron<K, V>where + T: Trace,

    source§

    impl<K, V> Finalize for Ephemeron<K, V>where K: Trace + ?Sized, - V: Trace,

    §

    impl<K, V> Finalize for WeakMap<K, V>where + V: Trace,

    source§

    impl<K, V> Finalize for boa_gc::pointers::weak_map::WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    source§

    impl<K: Trace> Finalize for OrderedHashMap<K>

    §

    impl<T> Finalize for Gc<T>where - T: Trace + ?Sized,

    §

    impl<T> Finalize for GcRefCell<T>where - T: Trace + ?Sized,

    §

    impl<T> Finalize for WeakGc<T>where + V: Trace + 'static,

    source§

    impl<K: Trace> Finalize for OrderedHashMap<K>

    source§

    impl<T> Finalize for GcRefCell<T>where + T: Trace + ?Sized,

    source§

    impl<T> Finalize for Gc<T>where + T: Trace + ?Sized,

    source§

    impl<T> Finalize for WeakGc<T>where T: Trace + 'static + ?Sized,

    source§

    impl<T: Debug + Trace + Finalize> Finalize for TransitionMap<T>

    source§

    impl<T: NativeObject + ?Sized> Finalize for VTableObject<T>

    source§

    impl<T: ?Sized> Finalize for Object<T>

    source§

    impl<V> Finalize for OrderedMap<V>

    \ No newline at end of file diff --git a/doc/boa_engine/trait.Trace.html b/doc/boa_engine/trait.Trace.html index 1d7d06c53fa..0bb7c7cc215 100644 --- a/doc/boa_engine/trait.Trace.html +++ b/doc/boa_engine/trait.Trace.html @@ -1,4 +1,4 @@ -Trace in boa_engine - Rust

    Trait boa_engine::Trace

    pub unsafe trait Trace: Finalize {
    +Trace in boa_engine - Rust

    Trait boa_engine::Trace

    source ·
    pub unsafe trait Trace: Finalize {
         // Required methods
         unsafe fn trace(&self);
         fn trace_non_roots(&self);
    @@ -15,35 +15,35 @@ 

    Safety

    can result in Undefined Behaviour.

    -

    Required Methods§

    unsafe fn trace(&self)

    Marks all contained Gcs.

    +

    Required Methods§

    source

    unsafe fn trace(&self)

    Marks all contained Gcs.

    Safety

    See Trace.

    -

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.

    -

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    source

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.

    +
    source

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    -

    Implementations on Foreign Types§

    §

    impl<A, B, C, D, E> Trace for (A, B, C, D, E)where +

    Implementations on Foreign Types§

    source§

    impl<A, B, C, D, E> Trace for (A, B, C, D, E)where A: Trace, B: Trace, C: Trace, D: Trace, - E: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for LinkedList<T, Global>where - T: Eq + Hash + Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for f64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T, E> Trace for Result<T, E>where + E: Trace,

    source§

    impl Trace for NonZeroI64

    source§

    impl Trace for u8

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<T> Trace for LinkedList<T, Global>where + T: Eq + Hash + Trace,

    source§

    impl Trace for f64

    source§

    impl<T, E> Trace for Result<T, E>where T: Trace, - E: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D> Trace for (A, B, C, D)where + E: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl<A, B, C, D> Trace for (A, B, C, D)where A: Trace, B: Trace, C: Trace, - D: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroUsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<K, V, S> Trace for HashMap<K, V, S>where + D: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl Trace for NonZeroU8

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl Trace for NonZeroUsize

    source§

    impl Trace for NonZeroI32

    source§

    impl<K, V, S> Trace for HashMap<K, V, S>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<K, V, S> Trace for HashMap<K, V, S, Global>where + S: BuildHasher,

    source§

    impl<Ret, A, B, C, D, E, F> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<K, V, S> Trace for HashMap<K, V, S, Global>where K: Eq + Hash + Trace, V: Trace, - S: BuildHasher,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Cell<Option<T>>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for BTreeSet<T, Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for String

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<K, V> Trace for BTreeMap<K, V, Global>where + S: BuildHasher,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<T> Trace for Cell<Option<T>>where + T: Trace,

    source§

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl Trace for i16

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Trace for NonZeroI128

    source§

    impl<T> Trace for BTreeSet<T, Global>where + T: Trace,

    source§

    impl Trace for String

    source§

    impl<Ret> Trace for fn() -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<K, V> Trace for BTreeMap<K, V, Global>where K: Trace, - V: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for unsafe fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I> Trace for (A, B, C, D, E, F, G, H, I)where + V: Trace,

    source§

    impl<Ret, A, B, C> Trace for unsafe fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I> Trace for (A, B, C, D, E, F, G, H, I)where A: Trace, B: Trace, C: Trace, @@ -52,14 +52,14 @@
    Safety
    F: Trace, G: Trace, H: Trace, - I: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for char

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicUsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G> Trace for (A, B, C, D, E, F, G)where + I: Trace,

    source§

    impl Trace for char

    source§

    impl Trace for NonZeroU128

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B> Trace for fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D> Trace for fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Trace for NonZeroU64

    source§

    impl Trace for AtomicUsize

    source§

    impl<A, B, C, D, E, F, G> Trace for (A, B, C, D, E, F, G)where A: Trace, B: Trace, C: Trace, D: Trace, E: Trace, F: Trace, - G: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicBool

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for extern "C" fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Locale

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for PathBuf

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Trace for (A, B, C, D, E, F, G, H, I, J, K, L)where + G: Trace,

    source§

    impl<Ret, A, B, C, D> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl Trace for AtomicU64

    source§

    impl<Ret, A, B, C, D, E> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl Trace for AtomicBool

    source§

    impl<Ret> Trace for extern "C" fn() -> Ret

    source§

    impl Trace for Locale

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl Trace for PathBuf

    source§

    impl Trace for u64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<Ret, A, B, C> Trace for extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K, L> Trace for (A, B, C, D, E, F, G, H, I, J, K, L)where A: Trace, B: Trace, C: Trace, @@ -71,17 +71,17 @@
    Safety
    I: Trace, J: Trace, K: Trace, - L: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for extern "C" fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C> Trace for (A, B, C)where + L: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl<Ret, A> Trace for extern "C" fn(_: A) -> Ret

    source§

    impl<A, B, C> Trace for (A, B, C)where A: Trace, B: Trace, - C: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B> Trace for (A, B)where + C: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, ...) -> Ret

    source§

    impl<A, B> Trace for (A, B)where A: Trace, - B: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for usize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for TypeId

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for ThinVec<T>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Path

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Option<T>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for isize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Cow<'static, T>where + B: Trace,

    source§

    impl Trace for AtomicI8

    source§

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A) -> Ret

    source§

    impl<Ret, A> Trace for unsafe extern "C" fn(_: A, ...) -> Ret

    source§

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L, ...) -> Ret

    source§

    impl Trace for usize

    source§

    impl Trace for TypeId

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<T> Trace for ThinVec<T>where + T: Trace,

    source§

    impl Trace for Path

    source§

    impl<T> Trace for Option<T>where + T: Trace,

    source§

    impl Trace for NonZeroU32

    source§

    impl Trace for isize

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, ...) -> Ret

    source§

    impl Trace for AtomicU32

    source§

    impl<Ret, A, B, C, D, E> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl<T> Trace for Cow<'static, T>where T: ToOwned + Trace + ?Sized, - <T as ToOwned>::Owned: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for VecDeque<T, Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I, J> Trace for (A, B, C, D, E, F, G, H, I, J)where + <T as ToOwned>::Owned: Trace,

    source§

    impl<T> Trace for VecDeque<T, Global>where + T: Trace,

    source§

    impl<A, B, C, D, E, F, G, H, I, J> Trace for (A, B, C, D, E, F, G, H, I, J)where A: Trace, B: Trace, C: Trace, @@ -91,7 +91,7 @@
    Safety
    G: Trace, H: Trace, I: Trace, - J: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for unsafe fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for extern "C" fn(_: A, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H> Trace for (A, B, C, D, E, F, G, H)where + J: Trace,

    source§

    impl<Ret> Trace for unsafe fn() -> Ret

    source§

    impl<Ret, A, B> Trace for unsafe extern "C" fn(_: A, _: B, ...) -> Ret

    source§

    impl<Ret, A> Trace for extern "C" fn(_: A, ...) -> Ret

    source§

    impl Trace for i64

    source§

    impl<Ret, A, B, C, D, E> Trace for fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<A, B, C, D, E, F, G, H> Trace for (A, B, C, D, E, F, G, H)where A: Trace, B: Trace, C: Trace, @@ -99,17 +99,17 @@
    Safety
    E: Trace, F: Trace, G: Trace, - H: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret> Trace for unsafe extern "C" fn() -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T, const N: usize> Trace for [T; N]where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI64

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroU16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Box<T, Global>where - T: Trace + ?Sized,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for ()

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F> Trace for (A, B, C, D, E, F)where + H: Trace,

    source§

    impl Trace for u32

    source§

    impl<Ret, A, B, C, D> Trace for unsafe fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret> Trace for unsafe extern "C" fn() -> Ret

    source§

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C) -> Ret

    source§

    impl<Ret, A> Trace for fn(_: A) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<T, const N: usize> Trace for [T; N]where + T: Trace,

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl Trace for AtomicI64

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl Trace for NonZeroU16

    source§

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, ...) -> Ret

    source§

    impl Trace for NonZeroI16

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl Trace for AtomicI32

    source§

    impl Trace for u16

    source§

    impl<Ret, A, B, C, D, E> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E) -> Ret

    source§

    impl<T> Trace for Box<T, Global>where + T: Trace + ?Sized,

    source§

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl Trace for ()

    source§

    impl<Ret, A, B, C, D, E, F> Trace for fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl Trace for AtomicU16

    source§

    impl<Ret, A, B, C, D, E, F> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, ...) -> Ret

    source§

    impl<A, B, C, D, E, F> Trace for (A, B, C, D, E, F)where A: Trace, B: Trace, C: Trace, D: Trace, E: Trace, - F: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicU8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroIsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicIsize

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Vec<T, Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for &'static Twhere - T: ?Sized,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Rc<str, Global>

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for f32

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A, B, C, D, E, F, G, H, I, J, K> Trace for (A, B, C, D, E, F, G, H, I, J, K)where + F: Trace,

    source§

    impl Trace for i32

    source§

    impl Trace for AtomicU8

    source§

    impl Trace for i128

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J) -> Ret

    source§

    impl<Ret, A, B, C, D> Trace for extern "C" fn(_: A, _: B, _: C, _: D, ...) -> Ret

    source§

    impl Trace for NonZeroIsize

    source§

    impl Trace for AtomicIsize

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K, L> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K, _: L) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, ...) -> Ret

    source§

    impl<T> Trace for Vec<T, Global>where + T: Trace,

    source§

    impl<T> Trace for &'static Twhere + T: ?Sized,

    source§

    impl Trace for Rc<str, Global>

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl Trace for f32

    source§

    impl<A, B, C, D, E, F, G, H, I, J, K> Trace for (A, B, C, D, E, F, G, H, I, J, K)where A: Trace, B: Trace, C: Trace, @@ -120,12 +120,12 @@
    Safety
    H: Trace, I: Trace, J: Trace, - K: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for Box<str, Global>

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for i8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for PhantomData<T>

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T, S> Trace for HashSet<T, S>where + K: Trace,

    source§

    impl Trace for Box<str, Global>

    source§

    impl Trace for i8

    source§

    impl<Ret, A, B, C, D, E, F, G, H> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H) -> Ret

    source§

    impl<Ret, A, B, C> Trace for unsafe extern "C" fn(_: A, _: B, _: C, ...) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F, G> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, ...) -> Ret

    source§

    impl<T> Trace for PhantomData<T>

    source§

    impl<T, S> Trace for HashSet<T, S>where T: Eq + Hash + Trace, - S: BuildHasher,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for Box<[T], Global>where - T: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A> Trace for unsafe fn(_: A) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<A> Trace for (A,)where - A: Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<T> Trace for BinaryHeap<T, Global>where - T: Ord + Trace,

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for LanguageIdentifier

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B> Trace for unsafe fn(_: A, _: B) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C> Trace for fn(_: A, _: B, _: C) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for u128

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for bool

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for NonZeroI8

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    §

    impl Trace for AtomicI16

    §

    unsafe fn trace(&self)

    §

    fn trace_non_roots(&self)

    §

    fn run_finalizer(&self)

    source§

    impl Trace for Sym

    Implementors§

    source§

    impl Trace for ErrorObjectwhere + S: BuildHasher,

    source§

    impl<T> Trace for Box<[T], Global>where + T: Trace,

    source§

    impl<Ret, A> Trace for unsafe fn(_: A) -> Ret

    source§

    impl<A> Trace for (A,)where + A: Trace,

    source§

    impl<T> Trace for BinaryHeap<T, Global>where + T: Ord + Trace,

    source§

    impl Trace for LanguageIdentifier

    source§

    impl<Ret, A, B> Trace for extern "C" fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B> Trace for unsafe fn(_: A, _: B) -> Ret

    source§

    impl<Ret, A, B, C, D, E, F> Trace for unsafe extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F) -> Ret

    source§

    impl<Ret, A, B, C> Trace for fn(_: A, _: B, _: C) -> Ret

    source§

    impl Trace for u128

    source§

    impl Trace for bool

    source§

    impl<Ret, A, B, C, D, E, F, G, H, I, J, K> Trace for extern "C" fn(_: A, _: B, _: C, _: D, _: E, _: F, _: G, _: H, _: I, _: J, _: K) -> Ret

    source§

    impl Trace for NonZeroI8

    source§

    impl Trace for AtomicI16

    source§

    impl Trace for Sym

    Implementors§

    source§

    impl Trace for ErrorObjectwhere Self: Copy,

    source§

    impl Trace for ClassFieldDefinition

    source§

    impl Trace for ThisMode

    source§

    impl Trace for GeneratorState

    source§

    impl Trace for PromiseState

    source§

    impl Trace for DeclarativeEnvironmentKind

    source§

    impl Trace for ThisBindingStatus

    source§

    impl Trace for BindingType

    source§

    impl Trace for Environment

    source§

    impl Trace for ErasedRepr

    source§

    impl Trace for JsErasedNativeErrorKind

    source§

    impl Trace for JsNativeErrorKind

    source§

    impl Trace for Repr

    source§

    impl Trace for ModuleKind

    source§

    impl Trace for Status

    source§

    impl Trace for PrivateElement

    source§

    impl Trace for IndexedProperties

    source§

    impl Trace for boa_engine::object::shape::Inner

    source§

    impl Trace for WeakShape

    source§

    impl Trace for DescriptorKind

    source§

    impl Trace for JsValue

    source§

    impl Trace for Constant

    source§

    impl Trace for CompletionRecord

    source§

    impl Trace for ActiveRunnable

    source§

    impl Trace for JsBigInt

    source§

    impl Trace for ArrayIterator

    source§

    impl Trace for Arraywhere Self: Copy,

    source§

    impl Trace for SharedArrayBuffer

    source§

    impl Trace for ArrayBuffer

    source§

    impl Trace for AsyncGenerator

    source§

    impl Trace for AsyncGeneratorRequest

    source§

    impl Trace for DataView

    source§

    impl Trace for Datewhere Self: Copy,

    source§

    impl Trace for MappedArguments

    source§

    impl Trace for UnmappedArgumentswhere @@ -135,14 +135,14 @@
    Safety
    F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>, T: Trace + Trace,

    source§

    impl<F, T> Trace for Closure<F, T>where F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>, - T: Trace + Trace,

    §

    impl<K, V> Trace for Ephemeron<K, V>where + T: Trace + Trace,

    source§

    impl<K, V> Trace for Ephemeron<K, V>where K: Trace + ?Sized, - V: Trace,

    §

    impl<K, V> Trace for WeakMap<K, V>where + V: Trace,

    source§

    impl<K, V> Trace for boa_gc::pointers::weak_map::WeakMap<K, V>where K: Trace + 'static + ?Sized, - V: Trace + 'static,

    source§

    impl<K: Trace> Trace for OrderedHashMap<K>

    §

    impl<T> Trace for Gc<T>where - T: Trace + ?Sized,

    §

    impl<T> Trace for GcRefCell<T>where - T: Trace + ?Sized,

    §

    impl<T> Trace for WeakGc<T>where + V: Trace + 'static,

    source§

    impl<K: Trace> Trace for OrderedHashMap<K>

    source§

    impl<T> Trace for GcRefCell<T>where + T: Trace + ?Sized,

    source§

    impl<T> Trace for Gc<T>where + T: Trace + ?Sized,

    source§

    impl<T> Trace for WeakGc<T>where T: Trace + 'static + ?Sized, - Ephemeron<T, ()>: Trace,

    source§

    impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where - FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,

    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where - GcRefCell<Object<T>>: Trace,

    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    impl<V: Trace> Trace for OrderedMap<V>

    \ No newline at end of file + Ephemeron<T, ()>: Trace,
    source§

    impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where + FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,

    source§

    impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where + GcRefCell<Object<T>>: Trace,

    source§

    impl<T: Trace + ?Sized> Trace for Object<T>

    source§

    impl<V: Trace> Trace for OrderedMap<V>

    \ No newline at end of file diff --git a/doc/boa_engine/type.JsResult.html b/doc/boa_engine/type.JsResult.html index b84a27068cc..40e7dc03317 100644 --- a/doc/boa_engine/type.JsResult.html +++ b/doc/boa_engine/type.JsResult.html @@ -4,9 +4,9 @@ Err(JsError), }

    Variants§

    §1.0.0

    Ok(T)

    Contains the success value

    §1.0.0

    Err(JsError)

    Contains the error value

    -

    Trait Implementations§

    §

    impl<T, E> Finalize for Result<T, E>where +

    Trait Implementations§

    source§

    impl<T, E> Finalize for Result<T, E>where T: Trace, - E: Trace,

    §

    fn finalize(&self)

    Cleanup logic for a type.
    §

    impl<T, E> Trace for Result<T, E>where + E: Trace,

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl<T, E> Trace for Result<T, E>where T: Trace, - E: Trace,

    §

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    §

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    §

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all + E: Trace,
    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl<T, E> JsData for Result<T, E>

    \ No newline at end of file diff --git a/doc/boa_engine/value/enum.JsValue.html b/doc/boa_engine/value/enum.JsValue.html index a9d5d6fcc6d..51c94648ff6 100644 --- a/doc/boa_engine/value/enum.JsValue.html +++ b/doc/boa_engine/value/enum.JsValue.html @@ -394,7 +394,7 @@
    Examples
    source§

    impl JsValue

    source

    pub(crate) fn to_generator_resume_kind(&self) -> GeneratorResumeKind

    Convert value to GeneratorResumeKind.

    Panics

    If not a integer type or not in the range 1..=2.

    -

    Trait Implementations§

    source§

    impl Clone for JsValue

    source§

    fn clone(&self) -> JsValue

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsValue

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Equivalent<MapKey> for JsValue

    source§

    fn equivalent(&self, key: &MapKey) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl Finalize for JsValue

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&PropertyKey> for JsValue

    source§

    fn from(property_key: &PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<()> for JsValue

    source§

    fn from(_: ()) -> Self

    Converts to this type from the input type.
    source§

    impl From<GeneratorResumeKind> for JsValue

    source§

    fn from(value: GeneratorResumeKind) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsValue

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsValue

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsBigInt> for JsValue

    source§

    fn from(value: JsBigInt) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsValue

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsValue

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsValue

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsValue

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsValue

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsValue

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsValue

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsValue

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsValue

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsValue

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsValue

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsObject> for JsValue

    source§

    fn from(object: JsObject) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsValue

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsValue

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsValue

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsValue

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsValue

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsValue

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for JsValue

    source§

    fn from(value: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for JsValue

    source§

    fn from(value: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsValue

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsValue

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsValue

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsValue

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<Numeric> for JsValue

    source§

    fn from(value: Numeric) -> Self

    Converts to this type from the input type.
    source§

    impl From<PropertyKey> for JsValue

    source§

    fn from(property_key: PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<TypedArrayElement> for JsValue

    source§

    fn from(value: TypedArrayElement) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for JsValue

    source§

    fn from(value: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<char> for JsValue

    source§

    fn from(value: char) -> Self

    Converts to this type from the input type.
    source§

    impl From<f32> for JsValue

    source§

    fn from(value: f32) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for JsValue

    source§

    fn from(value: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i16> for JsValue

    source§

    fn from(value: i16) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for JsValue

    source§

    fn from(value: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for JsValue

    source§

    fn from(value: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i8> for JsValue

    source§

    fn from(value: i8) -> Self

    Converts to this type from the input type.
    source§

    impl From<u16> for JsValue

    source§

    fn from(value: u16) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for JsValue

    source§

    fn from(value: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for JsValue

    source§

    fn from(value: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for JsValue

    source§

    fn from(value: u8) -> Self

    Converts to this type from the input type.
    source§

    impl From<usize> for JsValue

    source§

    fn from(value: usize) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsValue

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where +

    Trait Implementations§

    source§

    impl Clone for JsValue

    source§

    fn clone(&self) -> JsValue

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for JsValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for JsValue

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Equivalent<MapKey> for JsValue

    source§

    fn equivalent(&self, key: &MapKey) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl Finalize for JsValue

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<&PropertyKey> for JsValue

    source§

    fn from(property_key: &PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<()> for JsValue

    source§

    fn from(_: ()) -> Self

    Converts to this type from the input type.
    source§

    impl From<GeneratorResumeKind> for JsValue

    source§

    fn from(value: GeneratorResumeKind) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArray> for JsValue

    source§

    fn from(o: JsArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsArrayBuffer> for JsValue

    source§

    fn from(o: JsArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsBigInt> for JsValue

    source§

    fn from(value: JsBigInt) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDataView> for JsValue

    source§

    fn from(o: JsDataView) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsDate> for JsValue

    source§

    fn from(o: JsDate) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat32Array> for JsValue

    source§

    fn from(o: JsFloat32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFloat64Array> for JsValue

    source§

    fn from(o: JsFloat64Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsFunction> for JsValue

    source§

    fn from(o: JsFunction) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsGenerator> for JsValue

    source§

    fn from(o: JsGenerator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt16Array> for JsValue

    source§

    fn from(o: JsInt16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt32Array> for JsValue

    source§

    fn from(o: JsInt32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsInt8Array> for JsValue

    source§

    fn from(o: JsInt8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMap> for JsValue

    source§

    fn from(o: JsMap) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsMapIterator> for JsValue

    source§

    fn from(o: JsMapIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsObject> for JsValue

    source§

    fn from(object: JsObject) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsPromise> for JsValue

    source§

    fn from(o: JsPromise) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsProxy> for JsValue

    source§

    fn from(o: JsProxy) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsRegExp> for JsValue

    source§

    fn from(o: JsRegExp) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSet> for JsValue

    source§

    fn from(o: JsSet) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSetIterator> for JsValue

    source§

    fn from(o: JsSetIterator) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSharedArrayBuffer> for JsValue

    source§

    fn from(o: JsSharedArrayBuffer) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsString> for JsValue

    source§

    fn from(value: JsString) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsSymbol> for JsValue

    source§

    fn from(value: JsSymbol) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsTypedArray> for JsValue

    source§

    fn from(o: JsTypedArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint16Array> for JsValue

    source§

    fn from(o: JsUint16Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint32Array> for JsValue

    source§

    fn from(o: JsUint32Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<JsUint8Array> for JsValue

    source§

    fn from(o: JsUint8Array) -> Self

    Converts to this type from the input type.
    source§

    impl From<Numeric> for JsValue

    source§

    fn from(value: Numeric) -> Self

    Converts to this type from the input type.
    source§

    impl From<PropertyKey> for JsValue

    source§

    fn from(property_key: PropertyKey) -> Self

    Converts to this type from the input type.
    source§

    impl From<TypedArrayElement> for JsValue

    source§

    fn from(value: TypedArrayElement) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for JsValue

    source§

    fn from(value: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<char> for JsValue

    source§

    fn from(value: char) -> Self

    Converts to this type from the input type.
    source§

    impl From<f32> for JsValue

    source§

    fn from(value: f32) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for JsValue

    source§

    fn from(value: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i16> for JsValue

    source§

    fn from(value: i16) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for JsValue

    source§

    fn from(value: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for JsValue

    source§

    fn from(value: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i8> for JsValue

    source§

    fn from(value: i8) -> Self

    Converts to this type from the input type.
    source§

    impl From<u16> for JsValue

    source§

    fn from(value: u16) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for JsValue

    source§

    fn from(value: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for JsValue

    source§

    fn from(value: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for JsValue

    source§

    fn from(value: u8) -> Self

    Converts to this type from the input type.
    source§

    impl From<usize> for JsValue

    source§

    fn from(value: usize) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for JsValue

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq<JsValue> for JsValue

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/doc/boa_engine/vm/call_frame/struct.CallFrame.html b/doc/boa_engine/vm/call_frame/struct.CallFrame.html index 48e5b7228be..6c860c3b09e 100644 --- a/doc/boa_engine/vm/call_frame/struct.CallFrame.html +++ b/doc/boa_engine/vm/call_frame/struct.CallFrame.html @@ -1,5 +1,5 @@ CallFrame in boa_engine::vm::call_frame - Rust
    pub struct CallFrame {
    Show 14 fields - pub(crate) code_block: Gc<CodeBlock>, + pub(crate) code_block: Gc<CodeBlock>, pub(crate) pc: u32, pub(crate) fp: u32, pub(crate) env_fp: u32, @@ -14,12 +14,12 @@ pub(crate) realm: Realm, pub(crate) flags: CallFrameFlags,
    }
    Expand description

    A CallFrame holds the state of a function call.

    -

    Fields§

    §code_block: Gc<CodeBlock>§pc: u32§fp: u32§env_fp: u32§argument_count: u32§promise_capability: Option<PromiseCapability>§async_generator: Option<JsObject>§iterators: ThinVec<IteratorRecord>§binding_stack: Vec<BindingLocator>§loop_iteration_count: u64

    How many iterations a loop has done.

    +

    Fields§

    §code_block: Gc<CodeBlock>§pc: u32§fp: u32§env_fp: u32§argument_count: u32§promise_capability: Option<PromiseCapability>§async_generator: Option<JsObject>§iterators: ThinVec<IteratorRecord>§binding_stack: Vec<BindingLocator>§loop_iteration_count: u64

    How many iterations a loop has done.

    §active_runnable: Option<ActiveRunnable>

    [[ScriptOrModule]]

    §environments: EnvironmentStack

    [[Environment]]

    §realm: Realm

    [[Realm]]

    §flags: CallFrameFlags

    Implementations§

    source§

    impl CallFrame

    –– CallFrame public API ––

    -
    source

    pub const fn code_block(&self) -> &Gc<CodeBlock>

    Retrieves the CodeBlock of this call frame.

    +
    source

    pub const fn code_block(&self) -> &Gc<CodeBlock>

    Retrieves the CodeBlock of this call frame.

    source§

    impl CallFrame

    –– CallFrame creation methods ––

    source

    pub(crate) const FUNCTION_PROLOGUE: usize = 2usize

    This is the size of the function prologue.

    The position of the elements are relative to the CallFrame::fp.

    @@ -32,7 +32,7 @@ | function prolugue
    source

    pub(crate) const THIS_POSITION: usize = 0usize

    source

    pub(crate) const FUNCTION_POSITION: usize = 1usize

    source

    pub(crate) const FIRST_ARGUMENT_POSITION: usize = 2usize

    source

    pub(crate) fn new( - code_block: Gc<CodeBlock>, + code_block: Gc<CodeBlock>, active_runnable: Option<ActiveRunnable>, environments: EnvironmentStack, realm: Realm @@ -44,7 +44,7 @@

    source

    pub(crate) fn set_exit_early(&mut self, early_exit: bool)

    source

    pub(crate) fn construct(&self) -> bool

    Does this have the CallFrameFlags::CONSTRUCT flag.

    source§

    impl CallFrame

    –– CallFrame stack methods ––

    -
    source

    pub(crate) fn set_frame_pointer(&mut self, pointer: u32)

    Trait Implementations§

    source§

    impl Clone for CallFrame

    source§

    fn clone(&self) -> CallFrame

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CallFrame

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CallFrame

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CallFrame

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CallFrame

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source

    pub(crate) fn set_frame_pointer(&mut self, pointer: u32)

    Trait Implementations§

    source§

    impl Clone for CallFrame

    source§

    fn clone(&self) -> CallFrame

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CallFrame

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CallFrame

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CallFrame

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CallFrame

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/vm/code_block/enum.Constant.html b/doc/boa_engine/vm/code_block/enum.Constant.html index c87c1ded993..a42918778bf 100644 --- a/doc/boa_engine/vm/code_block/enum.Constant.html +++ b/doc/boa_engine/vm/code_block/enum.Constant.html @@ -1,11 +1,11 @@ Constant in boa_engine::vm::code_block - Rust
    pub(crate) enum Constant {
         String(JsString),
    -    Function(Gc<CodeBlock>),
    +    Function(Gc<CodeBlock>),
         BigInt(JsBigInt),
         CompileTimeEnvironment(Rc<CompileTimeEnvironment>),
     }

    Variants§

    §

    String(JsString)

    Property field names and private names [[description]]s.

    -
    §

    Function(Gc<CodeBlock>)

    §

    BigInt(JsBigInt)

    §

    CompileTimeEnvironment(Rc<CompileTimeEnvironment>)

    Compile time environments in this function.

    -

    Trait Implementations§

    source§

    impl Clone for Constant

    source§

    fn clone(&self) -> Constant

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Constant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Constant

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Constant

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Constant

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    §

    Function(Gc<CodeBlock>)

    §

    BigInt(JsBigInt)

    §

    CompileTimeEnvironment(Rc<CompileTimeEnvironment>)

    Compile time environments in this function.

    +

    Trait Implementations§

    source§

    impl Clone for Constant

    source§

    fn clone(&self) -> Constant

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Constant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Constant

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Constant

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Constant

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/vm/code_block/fn.create_function_object.html b/doc/boa_engine/vm/code_block/fn.create_function_object.html index 7701041e05e..b3e72442eca 100644 --- a/doc/boa_engine/vm/code_block/fn.create_function_object.html +++ b/doc/boa_engine/vm/code_block/fn.create_function_object.html @@ -1,5 +1,5 @@ create_function_object in boa_engine::vm::code_block - Rust
    pub(crate) fn create_function_object(
    -    code: Gc<CodeBlock>,
    +    code: Gc<CodeBlock>,
         prototype: JsObject,
         context: &mut Context
     ) -> JsObject
    Expand description

    Creates a new function object.

    diff --git a/doc/boa_engine/vm/code_block/fn.create_function_object_fast.html b/doc/boa_engine/vm/code_block/fn.create_function_object_fast.html index 5b94aa20799..e9a8917c714 100644 --- a/doc/boa_engine/vm/code_block/fn.create_function_object_fast.html +++ b/doc/boa_engine/vm/code_block/fn.create_function_object_fast.html @@ -1,5 +1,5 @@ create_function_object_fast in boa_engine::vm::code_block - Rust
    pub(crate) fn create_function_object_fast(
    -    code: Gc<CodeBlock>,
    +    code: Gc<CodeBlock>,
         context: &mut Context
     ) -> JsObject
    Expand description

    Creates a new function object.

    This is prefered over create_function_object if prototype is None, diff --git a/doc/boa_engine/vm/code_block/struct.CodeBlock.html b/doc/boa_engine/vm/code_block/struct.CodeBlock.html index 329cb882b2a..e058899a52e 100644 --- a/doc/boa_engine/vm/code_block/struct.CodeBlock.html +++ b/doc/boa_engine/vm/code_block/struct.CodeBlock.html @@ -3,7 +3,7 @@ pub(crate) flags: Cell<CodeBlockFlags>, pub(crate) length: u32, pub(crate) this_mode: ThisMode, - pub(crate) params: FormalParameterList, + pub(crate) params: FormalParameterList, pub(crate) bytecode: Box<[u8]>, pub(crate) constants: ThinVec<Constant>, pub(crate) bindings: Box<[BindingLocator]>, @@ -16,7 +16,7 @@

    Fields§

    §name: JsString

    Name of this function

    §flags: Cell<CodeBlockFlags>§length: u32

    The number of arguments expected.

    §this_mode: ThisMode

    [[ThisMode]]

    -
    §params: FormalParameterList

    Parameters passed to this function.

    +
    §params: FormalParameterList

    Parameters passed to this function.

    §bytecode: Box<[u8]>

    Bytecode

    §constants: ThinVec<Constant>§bindings: Box<[BindingLocator]>

    Locators for all bindings in the codeblock.

    §handlers: ThinVec<Handler>

    Exception Handlers.

    @@ -40,7 +40,7 @@
    Panics

    If the type of the Constant is not Constant::String. Or index is greater or equal to length of constants.

    -
    source

    pub(crate) fn constant_function(&self, index: usize) -> Gc<Self>

    Get the function ([Gc<CodeBlock>]) constant from the CodeBlock.

    +
    source

    pub(crate) fn constant_function(&self, index: usize) -> Gc<Self>

    Get the function (Gc<CodeBlock>) constant from the CodeBlock.

    Panics

    If the type of the Constant is not Constant::Function. Or index is greater or equal to length of constants.

    @@ -62,7 +62,7 @@
    Safety
    Modifies the pc to point to the next instruction.

    Returns an empty String if no operands are present.

    source§

    impl CodeBlock

    source

    pub fn to_graph(&self, graph: &mut SubGraph)

    Output the CodeBlock VM instructions into a Graph.

    -

    Trait Implementations§

    source§

    impl Clone for CodeBlock

    source§

    fn clone(&self) -> CodeBlock

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CodeBlock

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CodeBlock

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CodeBlock

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for CodeBlock

    source§

    fn clone(&self) -> CodeBlock

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CodeBlock

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CodeBlock

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CodeBlock

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/vm/code_block/struct.CodeBlockFlags.html b/doc/boa_engine/vm/code_block/struct.CodeBlockFlags.html index baa9b1cd732..84f63446ea9 100644 --- a/doc/boa_engine/vm/code_block/struct.CodeBlockFlags.html +++ b/doc/boa_engine/vm/code_block/struct.CodeBlockFlags.html @@ -47,7 +47,7 @@

    source§

    impl BitXor<CodeBlockFlags> for CodeBlockFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    §

    type Output = CodeBlockFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign<CodeBlockFlags> for CodeBlockFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    source§

    impl Clone for CodeBlockFlags

    source§

    fn clone(&self) -> CodeBlockFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CodeBlockFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<CodeBlockFlags> for CodeBlockFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Finalize for CodeBlockFlags

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Flags for CodeBlockFlags

    source§

    const FLAGS: &'static [Flag<CodeBlockFlags>] = _

    The set of defined flags.
    §

    type Bits = u16

    The underlying bits type.
    source§

    fn bits(&self) -> u16

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u16) -> CodeBlockFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> boolwhere +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Finalize for CodeBlockFlags

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Flags for CodeBlockFlags

    source§

    const FLAGS: &'static [Flag<CodeBlockFlags>] = _

    The set of defined flags.
    §

    type Bits = u16

    The underlying bits type.
    source§

    fn bits(&self) -> u16

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u16) -> CodeBlockFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> boolwhere Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> boolwhere Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)where diff --git a/doc/boa_engine/vm/code_block/struct.InlineCache.html b/doc/boa_engine/vm/code_block/struct.InlineCache.html index bc342c15b28..6eb817bea4c 100644 --- a/doc/boa_engine/vm/code_block/struct.InlineCache.html +++ b/doc/boa_engine/vm/code_block/struct.InlineCache.html @@ -1,12 +1,12 @@ InlineCache in boa_engine::vm::code_block - Rust
    pub(crate) struct InlineCache {
         pub(crate) name: JsString,
    -    pub(crate) shape: GcRefCell<WeakShape>,
    +    pub(crate) shape: GcRefCell<WeakShape>,
         pub(crate) slot: Cell<Slot>,
     }
    Expand description

    An inline cache entry for a property access.

    Fields§

    §name: JsString

    The property that is accessed.

    -
    §shape: GcRefCell<WeakShape>

    A pointer is kept to the shape to avoid the shape from being deallocated.

    +
    §shape: GcRefCell<WeakShape>

    A pointer is kept to the shape to avoid the shape from being deallocated.

    §slot: Cell<Slot>

    The Slot of the property.

    -

    Implementations§

    source§

    impl InlineCache

    source

    pub(crate) const fn new(name: JsString) -> Self

    source

    pub(crate) fn set(&self, shape: &Shape, slot: Slot)

    source

    pub(crate) fn slot(&self) -> Slot

    source

    pub(crate) fn matches(&self, shape: &Shape) -> bool

    Trait Implementations§

    source§

    impl Clone for InlineCache

    source§

    fn clone(&self) -> InlineCache

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InlineCache

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for InlineCache

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for InlineCache

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for InlineCache

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Implementations§

    source§

    impl InlineCache

    source

    pub(crate) const fn new(name: JsString) -> Self

    source

    pub(crate) fn set(&self, shape: &Shape, slot: Slot)

    source

    pub(crate) fn slot(&self) -> Slot

    source

    pub(crate) fn matches(&self, shape: &Shape) -> bool

    Trait Implementations§

    source§

    impl Clone for InlineCache

    source§

    fn clone(&self) -> InlineCache

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InlineCache

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for InlineCache

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for InlineCache

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for InlineCache

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/vm/completion_record/enum.CompletionRecord.html b/doc/boa_engine/vm/completion_record/enum.CompletionRecord.html index c203072b55c..f5d67138711 100644 --- a/doc/boa_engine/vm/completion_record/enum.CompletionRecord.html +++ b/doc/boa_engine/vm/completion_record/enum.CompletionRecord.html @@ -5,7 +5,7 @@ }
    Expand description

    An implementation of the ECMAScript’s CompletionRecord specification for Boa’s VM output Completion and Result.

    Variants§

    §

    Normal(JsValue)

    §

    Return(JsValue)

    §

    Throw(JsError)

    Implementations§

    source§

    impl CompletionRecord

    source

    pub(crate) const fn is_throw_completion(&self) -> bool

    source

    pub(crate) fn consume(self) -> JsResult<JsValue>

    This function will consume the current CompletionRecord and return a JsResult<JsValue>

    -

    Trait Implementations§

    source§

    impl Clone for CompletionRecord

    source§

    fn clone(&self) -> CompletionRecord

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CompletionRecord

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for CompletionRecord

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CompletionRecord

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for CompletionRecord

    source§

    fn clone(&self) -> CompletionRecord

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CompletionRecord

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for CompletionRecord

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CompletionRecord

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/vm/enum.ActiveRunnable.html b/doc/boa_engine/vm/enum.ActiveRunnable.html index 1f88ab9b78b..a54d24e6f3f 100644 --- a/doc/boa_engine/vm/enum.ActiveRunnable.html +++ b/doc/boa_engine/vm/enum.ActiveRunnable.html @@ -2,7 +2,7 @@ Script(Script), Module(Module), }
    Expand description

    Active runnable in the current vm context.

    -

    Variants§

    §

    Script(Script)

    §

    Module(Module)

    Trait Implementations§

    source§

    impl Clone for ActiveRunnable

    source§

    fn clone(&self) -> ActiveRunnable

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ActiveRunnable

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ActiveRunnable

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<ActiveRunnable> for Referrer

    source§

    fn from(value: ActiveRunnable) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for ActiveRunnable

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Variants§

    §

    Script(Script)

    §

    Module(Module)

    Trait Implementations§

    source§

    impl Clone for ActiveRunnable

    source§

    fn clone(&self) -> ActiveRunnable

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ActiveRunnable

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Finalize for ActiveRunnable

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl From<ActiveRunnable> for Referrer

    source§

    fn from(value: ActiveRunnable) -> Self

    Converts to this type from the input type.
    source§

    impl Trace for ActiveRunnable

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/vm/struct.CallFrame.html b/doc/boa_engine/vm/struct.CallFrame.html index 41db5287a7b..5a4ad5d5a82 100644 --- a/doc/boa_engine/vm/struct.CallFrame.html +++ b/doc/boa_engine/vm/struct.CallFrame.html @@ -1,5 +1,5 @@ CallFrame in boa_engine::vm - Rust

    Struct boa_engine::vm::CallFrame

    source ·
    pub struct CallFrame {
    Show 14 fields - pub(crate) code_block: Gc<CodeBlock>, + pub(crate) code_block: Gc<CodeBlock>, pub(crate) pc: u32, pub(crate) fp: u32, pub(crate) env_fp: u32, @@ -14,12 +14,12 @@ pub(crate) realm: Realm, pub(crate) flags: CallFrameFlags,
    }
    Expand description

    A CallFrame holds the state of a function call.

    -

    Fields§

    §code_block: Gc<CodeBlock>§pc: u32§fp: u32§env_fp: u32§argument_count: u32§promise_capability: Option<PromiseCapability>§async_generator: Option<JsObject>§iterators: ThinVec<IteratorRecord>§binding_stack: Vec<BindingLocator>§loop_iteration_count: u64

    How many iterations a loop has done.

    +

    Fields§

    §code_block: Gc<CodeBlock>§pc: u32§fp: u32§env_fp: u32§argument_count: u32§promise_capability: Option<PromiseCapability>§async_generator: Option<JsObject>§iterators: ThinVec<IteratorRecord>§binding_stack: Vec<BindingLocator>§loop_iteration_count: u64

    How many iterations a loop has done.

    §active_runnable: Option<ActiveRunnable>

    [[ScriptOrModule]]

    §environments: EnvironmentStack

    [[Environment]]

    §realm: Realm

    [[Realm]]

    §flags: CallFrameFlags

    Implementations§

    source§

    impl CallFrame

    –– CallFrame public API ––

    -
    source

    pub const fn code_block(&self) -> &Gc<CodeBlock>

    Retrieves the CodeBlock of this call frame.

    +
    source

    pub const fn code_block(&self) -> &Gc<CodeBlock>

    Retrieves the CodeBlock of this call frame.

    source§

    impl CallFrame

    –– CallFrame creation methods ––

    source

    pub(crate) const FUNCTION_PROLOGUE: usize = 2usize

    This is the size of the function prologue.

    The position of the elements are relative to the CallFrame::fp.

    @@ -32,7 +32,7 @@ | function prolugue
    source

    pub(crate) const THIS_POSITION: usize = 0usize

    source

    pub(crate) const FUNCTION_POSITION: usize = 1usize

    source

    pub(crate) const FIRST_ARGUMENT_POSITION: usize = 2usize

    source

    pub(crate) fn new( - code_block: Gc<CodeBlock>, + code_block: Gc<CodeBlock>, active_runnable: Option<ActiveRunnable>, environments: EnvironmentStack, realm: Realm @@ -44,7 +44,7 @@

    source

    pub(crate) fn set_exit_early(&mut self, early_exit: bool)

    source

    pub(crate) fn construct(&self) -> bool

    Does this have the CallFrameFlags::CONSTRUCT flag.

    source§

    impl CallFrame

    –– CallFrame stack methods ––

    -
    source

    pub(crate) fn set_frame_pointer(&mut self, pointer: u32)

    Trait Implementations§

    source§

    impl Clone for CallFrame

    source§

    fn clone(&self) -> CallFrame

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CallFrame

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CallFrame

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CallFrame

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CallFrame

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +
    source

    pub(crate) fn set_frame_pointer(&mut self, pointer: u32)

    Trait Implementations§

    source§

    impl Clone for CallFrame

    source§

    fn clone(&self) -> CallFrame

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CallFrame

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CallFrame

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CallFrame

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CallFrame

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_engine/vm/struct.CodeBlock.html b/doc/boa_engine/vm/struct.CodeBlock.html index 76186ee4ec0..a43f497e6c8 100644 --- a/doc/boa_engine/vm/struct.CodeBlock.html +++ b/doc/boa_engine/vm/struct.CodeBlock.html @@ -3,7 +3,7 @@ pub(crate) flags: Cell<CodeBlockFlags>, pub(crate) length: u32, pub(crate) this_mode: ThisMode, - pub(crate) params: FormalParameterList, + pub(crate) params: FormalParameterList, pub(crate) bytecode: Box<[u8]>, pub(crate) constants: ThinVec<Constant>, pub(crate) bindings: Box<[BindingLocator]>, @@ -16,7 +16,7 @@

    Fields§

    §name: JsString

    Name of this function

    §flags: Cell<CodeBlockFlags>§length: u32

    The number of arguments expected.

    §this_mode: ThisMode

    [[ThisMode]]

    -
    §params: FormalParameterList

    Parameters passed to this function.

    +
    §params: FormalParameterList

    Parameters passed to this function.

    §bytecode: Box<[u8]>

    Bytecode

    §constants: ThinVec<Constant>§bindings: Box<[BindingLocator]>

    Locators for all bindings in the codeblock.

    §handlers: ThinVec<Handler>

    Exception Handlers.

    @@ -40,7 +40,7 @@
    Panics

    If the type of the Constant is not Constant::String. Or index is greater or equal to length of constants.

    -
    source

    pub(crate) fn constant_function(&self, index: usize) -> Gc<Self>

    Get the function ([Gc<CodeBlock>]) constant from the CodeBlock.

    +
    source

    pub(crate) fn constant_function(&self, index: usize) -> Gc<Self>

    Get the function (Gc<CodeBlock>) constant from the CodeBlock.

    Panics

    If the type of the Constant is not Constant::Function. Or index is greater or equal to length of constants.

    @@ -62,7 +62,7 @@
    Safety
    Modifies the pc to point to the next instruction.

    Returns an empty String if no operands are present.

    source§

    impl CodeBlock

    source

    pub fn to_graph(&self, graph: &mut SubGraph)

    Output the CodeBlock VM instructions into a Graph.

    -

    Trait Implementations§

    source§

    impl Clone for CodeBlock

    source§

    fn clone(&self) -> CodeBlock

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CodeBlock

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CodeBlock

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CodeBlock

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all +

    Trait Implementations§

    source§

    impl Clone for CodeBlock

    source§

    fn clone(&self) -> CodeBlock

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CodeBlock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for CodeBlock

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for CodeBlock

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for CodeBlock

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_interner/struct.Sym.html b/doc/boa_interner/struct.Sym.html index d8b0d42515e..78d7e652851 100644 --- a/doc/boa_interner/struct.Sym.html +++ b/doc/boa_interner/struct.Sym.html @@ -81,7 +81,7 @@
    Safety

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Sym

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Sym

    source§

    fn clone(&self) -> Sym

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Sym

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Sym

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Finalize for Sym

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Sym

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Finalize for Sym

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Sym

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Sym

    source§

    fn cmp(&self, other: &Sym) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere @@ -91,7 +91,7 @@
    Safety
    sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd<Sym> for Sym

    source§

    fn partial_cmp(&self, other: &Sym) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Serialize for Sym

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Trace for Sym

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    source§

    impl Trace for Sym

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Copy for Sym

    source§

    impl Eq for Sym

    source§

    impl StructuralEq for Sym

    source§

    impl StructuralPartialEq for Sym

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Sym

    §

    impl Send for Sym

    §

    impl Sync for Sym

    §

    impl Unpin for Sym

    §

    impl UnwindSafe for Sym

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_interner/sym/struct.Sym.html b/doc/boa_interner/sym/struct.Sym.html index 26625b56e81..81a5d03a8f5 100644 --- a/doc/boa_interner/sym/struct.Sym.html +++ b/doc/boa_interner/sym/struct.Sym.html @@ -81,7 +81,7 @@
    Safety

    Trait Implementations§

    source§

    impl<'arbitrary> Arbitrary<'arbitrary> for Sym

    source§

    fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    source§

    fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    source§

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    source§

    impl Clone for Sym

    source§

    fn clone(&self) -> Sym

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Sym

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Sym

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Finalize for Sym

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Sym

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Finalize for Sym

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Hash for Sym

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Sym

    source§

    fn cmp(&self, other: &Sym) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Selfwhere Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Selfwhere @@ -91,7 +91,7 @@
    Safety
    sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd<Sym> for Sym

    source§

    fn partial_cmp(&self, other: &Sym) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl Serialize for Sym

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Trace for Sym

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all + __S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    source§

    impl Trace for Sym

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl Copy for Sym

    source§

    impl Eq for Sym

    source§

    impl StructuralEq for Sym

    source§

    impl StructuralPartialEq for Sym

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Sym

    §

    impl Send for Sym

    §

    impl Sync for Sym

    §

    impl Unpin for Sym

    §

    impl UnwindSafe for Sym

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere diff --git a/doc/boa_runtime/console/struct.Console.html b/doc/boa_runtime/console/struct.Console.html index 37e6dc0b5b7..189ea1a9e8d 100644 --- a/doc/boa_runtime/console/struct.Console.html +++ b/doc/boa_runtime/console/struct.Console.html @@ -199,7 +199,7 @@
  • MDN documentation
  • WHATWG console specification
  • -

    Trait Implementations§

    source§

    impl Debug for Console

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Console

    source§

    fn default() -> Console

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Console

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Console

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Console

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all +

    Trait Implementations§

    source§

    impl Debug for Console

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Console

    source§

    fn default() -> Console

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Console

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Console

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Console

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Console

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Console

    §

    impl !Send for Console

    §

    impl !Sync for Console

    §

    impl Unpin for Console

    §

    impl !UnwindSafe for Console

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere @@ -213,7 +213,7 @@

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    §

    impl<T> NativeObject for Twhere - T: Any + Trace + JsData,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    fn type_name_of_value(&self) -> &'static str

    Gets the type name of the value.
    §

    impl<T> Pipe for Twhere + T: Any + Trace + JsData,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    fn type_name_of_value(&self) -> &'static str

    Gets the type name of the value.
    §

    impl<T> Pipe for Twhere T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,

    Pipes by value. This is generally the method you want to use. Read more
    §

    fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,

    Borrows self and passes that borrow into the pipe function. Read more
    §

    fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere diff --git a/doc/boa_runtime/struct.Console.html b/doc/boa_runtime/struct.Console.html index ab0faf389b0..ef49a69321a 100644 --- a/doc/boa_runtime/struct.Console.html +++ b/doc/boa_runtime/struct.Console.html @@ -199,7 +199,7 @@
  • MDN documentation
  • WHATWG console specification
  • -

    Trait Implementations§

    source§

    impl Debug for Console

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Console

    source§

    fn default() -> Console

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Console

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Console

    §

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Console

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs [Finalize::finalize] on this object and all +

    Trait Implementations§

    source§

    impl Debug for Console

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Console

    source§

    fn default() -> Console

    Returns the “default value” for a type. Read more
    source§

    impl Drop for Console

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Finalize for Console

    source§

    fn finalize(&self)

    Cleanup logic for a type.
    source§

    impl Trace for Console

    source§

    unsafe fn trace(&self)

    Marks all contained Gcs. Read more
    source§

    fn trace_non_roots(&self)

    Trace handles located in GC heap, and mark them as non root.
    source§

    fn run_finalizer(&self)

    Runs Finalize::finalize on this object and all contained subobjects.
    source§

    impl JsData for Console

    Auto Trait Implementations§

    §

    impl !RefUnwindSafe for Console

    §

    impl !Send for Console

    §

    impl !Sync for Console

    §

    impl Unpin for Console

    §

    impl !UnwindSafe for Console

    Blanket Implementations§

    source§

    impl<T> Any for Twhere T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for Twhere T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for Twhere @@ -213,7 +213,7 @@

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    §

    impl<T> NativeObject for Twhere - T: Any + Trace + JsData,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    fn type_name_of_value(&self) -> &'static str

    Gets the type name of the value.
    §

    impl<T> Pipe for Twhere + T: Any + Trace + JsData,

    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &dyn Any.
    §

    fn as_mut_any(&mut self) -> &mut (dyn Any + 'static)

    Convert the Rust type which implements NativeObject to a &mut dyn Any.
    §

    fn type_name_of_value(&self) -> &'static str

    Gets the type name of the value.
    §

    impl<T> Pipe for Twhere T: ?Sized,

    §

    fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere Self: Sized,

    Pipes by value. This is generally the method you want to use. Read more
    §

    fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere R: 'a,

    Borrows self and passes that borrow into the pipe function. Read more
    §

    fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere diff --git a/doc/boa_tester/exec/fn.is_error_type.html b/doc/boa_tester/exec/fn.is_error_type.html index 39ba037ef5e..1df56ca00a2 100644 --- a/doc/boa_tester/exec/fn.is_error_type.html +++ b/doc/boa_tester/exec/fn.is_error_type.html @@ -1,6 +1,6 @@ is_error_type in boa_tester::exec - Rust

    Function boa_tester::exec::is_error_type

    source ·
    fn is_error_type(
    -    error: &JsError,
    +    error: &JsError,
         target_type: ErrorType,
    -    context: &mut Context
    +    context: &mut Context
     ) -> bool
    Expand description

    Returns true if error is a target_type error.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/fn.register_print_fn.html b/doc/boa_tester/exec/fn.register_print_fn.html index cd71135864e..988b3ebec9b 100644 --- a/doc/boa_tester/exec/fn.register_print_fn.html +++ b/doc/boa_tester/exec/fn.register_print_fn.html @@ -1,2 +1,2 @@ -register_print_fn in boa_tester::exec - Rust
    fn register_print_fn(context: &mut Context, async_result: AsyncResult)
    Expand description

    Registers the print function in the context.

    +register_print_fn in boa_tester::exec - Rust
    fn register_print_fn(context: &mut Context, async_result: AsyncResult)
    Expand description

    Registers the print function in the context.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.agent_obj.html b/doc/boa_tester/exec/js262/fn.agent_obj.html index 4b0ed3a72b1..65287a1d4ab 100644 --- a/doc/boa_tester/exec/js262/fn.agent_obj.html +++ b/doc/boa_tester/exec/js262/fn.agent_obj.html @@ -1,2 +1,2 @@ -agent_obj in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::agent_obj

    source ·
    fn agent_obj(handles: WorkerHandles, context: &mut Context) -> JsObject
    Expand description

    Initializes the $262.agent object in the main agent.

    +agent_obj in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::agent_obj

    source ·
    fn agent_obj(handles: WorkerHandles, context: &mut Context) -> JsObject
    Expand description

    Initializes the $262.agent object in the main agent.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.create_realm.html b/doc/boa_tester/exec/js262/fn.create_realm.html index ca393f58122..40ff4e45f48 100644 --- a/doc/boa_tester/exec/js262/fn.create_realm.html +++ b/doc/boa_tester/exec/js262/fn.create_realm.html @@ -1,8 +1,8 @@ create_realm in boa_tester::exec::js262 - Rust
    fn create_realm(
    -    _: &JsValue,
    -    _: &[JsValue],
    -    _: &mut Context
    -) -> JsResult<JsValue>
    Expand description

    The $262.createRealm() function.

    + _: &JsValue, + _: &[JsValue], + _: &mut Context +) -> JsResult<JsValue>
    Expand description

    The $262.createRealm() function.

    Creates a new ECMAScript Realm, defines this API on the new realm’s global object, and returns the $262 property of the new realm’s global object.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.detach_array_buffer.html b/doc/boa_tester/exec/js262/fn.detach_array_buffer.html index 179c5497b4f..d5bd90bb2b6 100644 --- a/doc/boa_tester/exec/js262/fn.detach_array_buffer.html +++ b/doc/boa_tester/exec/js262/fn.detach_array_buffer.html @@ -1,7 +1,7 @@ detach_array_buffer in boa_tester::exec::js262 - Rust
    fn detach_array_buffer(
    -    _: &JsValue,
    -    args: &[JsValue],
    -    _: &mut Context
    -) -> JsResult<JsValue>
    Expand description

    The $262.detachArrayBuffer() function.

    + _: &JsValue, + args: &[JsValue], + _: &mut Context +) -> JsResult<JsValue>
    Expand description

    The $262.detachArrayBuffer() function.

    Implements the DetachArrayBuffer abstract operation.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.eval_script.html b/doc/boa_tester/exec/js262/fn.eval_script.html index 0034ed09993..4ba39fd8161 100644 --- a/doc/boa_tester/exec/js262/fn.eval_script.html +++ b/doc/boa_tester/exec/js262/fn.eval_script.html @@ -1,7 +1,7 @@ eval_script in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::eval_script

    source ·
    fn eval_script(
    -    _this: &JsValue,
    -    args: &[JsValue],
    -    context: &mut Context
    -) -> JsResult<JsValue>
    Expand description

    The $262.evalScript() function.

    + _this: &JsValue, + args: &[JsValue], + context: &mut Context +) -> JsResult<JsValue>
    Expand description

    The $262.evalScript() function.

    Accepts a string value as its first argument and executes it as an ECMAScript script.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.gc.html b/doc/boa_tester/exec/js262/fn.gc.html index 2b3e594130b..4778572bbb9 100644 --- a/doc/boa_tester/exec/js262/fn.gc.html +++ b/doc/boa_tester/exec/js262/fn.gc.html @@ -1,8 +1,8 @@ gc in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::gc

    source ·
    fn gc(
    -    _this: &JsValue,
    -    _: &[JsValue],
    -    _context: &mut Context
    -) -> JsResult<JsValue>
    Expand description

    The $262.gc() function.

    + _this: &JsValue, + _: &[JsValue], + _context: &mut Context +) -> JsResult<JsValue>
    Expand description

    The $262.gc() function.

    Wraps the host’s garbage collection invocation mechanism, if such a capability exists. Must throw an exception if no capability exists. This is necessary for testing the semantics of any feature that relies on garbage collection, e.g. the WeakRef API.

    diff --git a/doc/boa_tester/exec/js262/fn.monotonic_now.html b/doc/boa_tester/exec/js262/fn.monotonic_now.html index 2adb5c4461a..1797fb76ba3 100644 --- a/doc/boa_tester/exec/js262/fn.monotonic_now.html +++ b/doc/boa_tester/exec/js262/fn.monotonic_now.html @@ -1,6 +1,6 @@ monotonic_now in boa_tester::exec::js262 - Rust
    fn monotonic_now(
    -    _: &JsValue,
    -    _: &[JsValue],
    -    _: &mut Context
    -) -> JsResult<JsValue>
    Expand description

    The $262.agent.monotonicNow() function.

    + _: &JsValue, + _: &[JsValue], + _: &mut Context +) -> JsResult<JsValue>
    Expand description

    The $262.agent.monotonicNow() function.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.register_js262.html b/doc/boa_tester/exec/js262/fn.register_js262.html index 2ad40115de9..d6cfca2d3c1 100644 --- a/doc/boa_tester/exec/js262/fn.register_js262.html +++ b/doc/boa_tester/exec/js262/fn.register_js262.html @@ -1,5 +1,5 @@ register_js262 in boa_tester::exec::js262 - Rust
    pub(super) fn register_js262(
         handles: WorkerHandles,
    -    context: &mut Context
    -) -> JsObject
    Expand description

    Creates the object $262 in the context.

    + context: &mut Context +) -> JsObject
    Expand description

    Creates the object $262 in the context.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.register_js262_worker.html b/doc/boa_tester/exec/js262/fn.register_js262_worker.html index 11c2ca99c9c..19cc3277c7a 100644 --- a/doc/boa_tester/exec/js262/fn.register_js262_worker.html +++ b/doc/boa_tester/exec/js262/fn.register_js262_worker.html @@ -1,6 +1,6 @@ register_js262_worker in boa_tester::exec::js262 - Rust
    fn register_js262_worker(
    -    rx: BusReader<SharedArrayBuffer>,
    +    rx: BusReader<SharedArrayBuffer>,
         tx: Sender<Vec<u16>>,
    -    context: &mut Context
    +    context: &mut Context
     )
    Expand description

    Initializes the $262 object in a worker agent.

    \ No newline at end of file diff --git a/doc/boa_tester/exec/js262/fn.sleep.html b/doc/boa_tester/exec/js262/fn.sleep.html index ee651475c70..8beec8affb5 100644 --- a/doc/boa_tester/exec/js262/fn.sleep.html +++ b/doc/boa_tester/exec/js262/fn.sleep.html @@ -1,6 +1,6 @@ sleep in boa_tester::exec::js262 - Rust

    Function boa_tester::exec::js262::sleep

    source ·
    fn sleep(
    -    _: &JsValue,
    -    args: &[JsValue],
    -    context: &mut Context
    -) -> JsResult<JsValue>
    Expand description

    The $262.agent.sleep() function.

    + _: &JsValue, + args: &[JsValue], + context: &mut Context +) -> JsResult<JsValue>
    Expand description

    The $262.agent.sleep() function.

    \ No newline at end of file diff --git a/doc/boa_tester/fn.run_test_suite.html b/doc/boa_tester/fn.run_test_suite.html index e6288f9736b..4b1f72ef88f 100644 --- a/doc/boa_tester/fn.run_test_suite.html +++ b/doc/boa_tester/fn.run_test_suite.html @@ -7,7 +7,7 @@ output: Option<&Path>, edition: SpecEdition, versioned: bool, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> Result<()>
    Expand description

    Runs the full test suite.

    \ No newline at end of file diff --git a/doc/boa_tester/struct.Test.html b/doc/boa_tester/struct.Test.html index 96008812c0e..e920c18c15b 100644 --- a/doc/boa_tester/struct.Test.html +++ b/doc/boa_tester/struct.Test.html @@ -16,7 +16,7 @@ &self, harness: &Harness, verbose: u8, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> Vec<TestResult>

    Runs the test.

    source

    fn run_once( @@ -24,13 +24,13 @@ harness: &Harness, strict: bool, verbose: u8, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> TestResult

    Runs the test once, in strict or non-strict mode

    source

    fn set_up_env( &self, harness: &Harness, - context: &mut Context, + context: &mut Context, async_result: AsyncResult, handles: WorkerHandles, console: bool diff --git a/doc/boa_tester/struct.TestSuite.html b/doc/boa_tester/struct.TestSuite.html index 12633a2a892..1260b12a7c5 100644 --- a/doc/boa_tester/struct.TestSuite.html +++ b/doc/boa_tester/struct.TestSuite.html @@ -10,7 +10,7 @@ verbose: u8, parallel: bool, max_edition: SpecEdition, - optimizer_options: OptimizerOptions, + optimizer_options: OptimizerOptions, console: bool ) -> SuiteResult

    Runs the test suite.

    Trait Implementations§

    source§

    impl Clone for TestSuite

    source§

    fn clone(&self) -> TestSuite

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TestSuite

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for TestSuite

    §

    impl Send for TestSuite

    §

    impl Sync for TestSuite

    §

    impl Unpin for TestSuite

    §

    impl UnwindSafe for TestSuite

    Blanket Implementations§

    source§

    impl<T> Any for Twhere diff --git a/doc/implementors/boa_ast/visitor/trait.VisitorMut.js b/doc/implementors/boa_ast/visitor/trait.VisitorMut.js index b19be75b4f9..8741ec3278c 100644 --- a/doc/implementors/boa_ast/visitor/trait.VisitorMut.js +++ b/doc/implementors/boa_ast/visitor/trait.VisitorMut.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"boa_engine":[["impl<'ast> VisitorMut<'ast> for Optimizer<'_>"],["impl<'ast, F> VisitorMut<'ast> for Walker<F>where\n F: FnMut(&mut Expression) -> PassAction<Expression>,"]] +"boa_engine":[["impl<'ast> VisitorMut<'ast> for Optimizer<'_>"],["impl<'ast, F> VisitorMut<'ast> for Walker<F>where\n F: FnMut(&mut Expression) -> PassAction<Expression>,"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/boa_gc/trace/trait.Finalize.js b/doc/implementors/boa_gc/trace/trait.Finalize.js index 7b77c7e11cc..b125ae84fb2 100644 --- a/doc/implementors/boa_gc/trace/trait.Finalize.js +++ b/doc/implementors/boa_gc/trace/trait.Finalize.js @@ -1,6 +1,6 @@ (function() {var implementors = { "boa_engine":[["impl Finalize for Proxy"],["impl Finalize for DeclarativeEnvironmentKind"],["impl Finalize for JobCallback"],["impl Finalize for StandardConstructor"],["impl Finalize for SourceTextContext"],["impl Finalize for JsInt16Array"],["impl Finalize for FunctionSlots"],["impl Finalize for Repr"],["impl Finalize for DataView"],["impl Finalize for DfsInfo"],["impl Finalize for CompletionRecord"],["impl Finalize for PropertyDescriptor"],["impl Finalize for JsFunction"],["impl Finalize for OrdinaryObject"],["impl Finalize for IntrinsicObjects"],["impl Finalize for RegExpStringIterator"],["impl Finalize for MapIterator"],["impl Finalize for WeakMap"],["impl Finalize for ClassFieldDefinition"],["impl Finalize for WeakSet"],["impl Finalize for Intrinsics"],["impl Finalize for Realm"],["impl Finalize for IteratorRecord"],["impl Finalize for JsSymbol"],["impl Finalize for UnmappedArguments"],["impl Finalize for CodeBlockFlags"],["impl Finalize for ShapeFlags"],["impl Finalize for CallFrame"],["impl Finalize for Environment"],["impl Finalize for Date"],["impl Finalize for JsMap"],["impl Finalize for Inner"],["impl Finalize for SyntheticModuleInitializer"],["impl Finalize for Inner"],["impl Finalize for Inner"],["impl Finalize for BoundFunction"],["impl Finalize for TypedArray"],["impl Finalize for ResolvingFunctions"],["impl Finalize for PlainDateTime"],["impl Finalize for PropertyMap"],["impl Finalize for JsDate"],["impl Finalize for ModuleNamespace"],["impl<K: Trace> Finalize for OrderedHashMap<K>"],["impl Finalize for IteratorPrototypes"],["impl Finalize for ErasedRepr"],["impl<F, T> Finalize for Callback<F, T>where\n F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>,\n T: Trace,"],["impl Finalize for Inner"],["impl<F, T> Finalize for Closure<F, T>where\n F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>,\n T: Trace,"],["impl Finalize for PropertyKey"],["impl Finalize for ModuleKind"],["impl Finalize for JsProxy"],["impl Finalize for BindingType"],["impl Finalize for IndexedProperties"],["impl Finalize for Inner"],["impl Finalize for JsValue"],["impl Finalize for Array"],["impl Finalize for ArrayIterator"],["impl Finalize for PrivateName"],["impl Finalize for SetIterator"],["impl Finalize for UniqueShape"],["impl Finalize for SourceTextModule"],["impl Finalize for Module"],["impl Finalize for JsFloat32Array"],["impl Finalize for Duration"],["impl Finalize for JsInt8Array"],["impl Finalize for PoisonableEnvironment"],["impl Finalize for Collator"],["impl Finalize for Calendar"],["impl Finalize for ThisMode"],["impl Finalize for Status"],["impl Finalize for JsArrayBuffer"],["impl Finalize for ModuleEnvironment"],["impl Finalize for JsString"],["impl Finalize for WeakRef"],["impl Finalize for GeneratorContext"],["impl Finalize for JsFloat64Array"],["impl Finalize for Instant"],["impl Finalize for JsBigInt"],["impl Finalize for EnvironmentStack"],["impl Finalize for GlobalEnvironment"],["impl Finalize for Inner"],["impl Finalize for PromiseState"],["impl Finalize for ModuleRepr"],["impl Finalize for Promise"],["impl Finalize for ZonedDateTime"],["impl Finalize for Generator"],["impl Finalize for Inner"],["impl Finalize for JsGenerator"],["impl<V> Finalize for OrderedMap<V>"],["impl Finalize for JsErasedNativeError"],["impl<T: NativeObject + ?Sized> Finalize for VTableObject<T>"],["impl Finalize for AsyncGeneratorRequest"],["impl Finalize for ErrorObject"],["impl Finalize for JsPromise"],["impl Finalize for LexicalEnvironment"],["impl Finalize for JsNativeError"],["impl Finalize for ForwardTransition"],["impl Finalize for JsError"],["impl Finalize for JsSet"],["impl Finalize for Inner"],["impl Finalize for MappedArguments"],["impl Finalize for OrdinaryFunction"],["impl Finalize for JsSharedArrayBuffer"],["impl Finalize for ReactionRecord"],["impl Finalize for WeakShape"],["impl Finalize for FunctionEnvironment"],["impl Finalize for SegmentIterator"],["impl Finalize for UriFunctions"],["impl Finalize for TransitionKey"],["impl Finalize for RootShape"],["impl Finalize for DateTimeFormat"],["impl Finalize for PromiseCapability"],["impl Finalize for GeneratorState"],["impl Finalize for JsErasedError"],["impl Finalize for WeakUniqueShape"],["impl Finalize for JsUint8Array"],["impl Finalize for TimeZone"],["impl Finalize for PluralRules"],["impl Finalize for DeclarativeEnvironment"],["impl Finalize for PlainDate"],["impl Finalize for JsDataView"],["impl Finalize for SyntheticModule"],["impl Finalize for RegExp"],["impl Finalize for JsMapIterator"],["impl Finalize for JsNativeErrorKind"],["impl Finalize for PlainYearMonth"],["impl Finalize for Constant"],["impl Finalize for PrivateEnvironment"],["impl Finalize for OrderedSet"],["impl Finalize for JsRevocableProxy"],["impl Finalize for JsInt32Array"],["impl Finalize for Shape"],["impl Finalize for BindingLocator"],["impl Finalize for IndirectBinding"],["impl Finalize for ObjectTemplate"],["impl Finalize for DescriptorKind"],["impl Finalize for CodeBlock"],["impl Finalize for JsArray"],["impl Finalize for ObjectTemplates"],["impl Finalize for Inner"],["impl Finalize for SharedShape"],["impl Finalize for Segmenter"],["impl Finalize for ForInIterator"],["impl Finalize for JsUint32Array"],["impl Finalize for CompileTimeEnvironment"],["impl Finalize for JsUint16Array"],["impl Finalize for IteratorResult"],["impl Finalize for SetLock"],["impl Finalize for WeakSharedShape"],["impl Finalize for HostDefined"],["impl Finalize for AsyncGenerator"],["impl Finalize for AsyncFromSyncIterator"],["impl Finalize for Segments"],["impl Finalize for ArrayBuffer"],["impl<T: Debug + Trace + Finalize> Finalize for TransitionMap<T>"],["impl Finalize for PrivateElement"],["impl Finalize for ThisBindingStatus"],["impl Finalize for Script"],["impl Finalize for JsErasedNativeErrorKind"],["impl Finalize for SharedArrayBuffer"],["impl Finalize for StringIterator"],["impl Finalize for JsRegExp"],["impl Finalize for JsObject"],["impl Finalize for NativeFunction"],["impl Finalize for PlainMonthDay"],["impl Finalize for MapLock"],["impl Finalize for ActiveRunnable"],["impl Finalize for ListFormat"],["impl Finalize for JsTypedArray"],["impl Finalize for NativeFunctionObject"],["impl Finalize for StandardConstructors"],["impl Finalize for JsSetIterator"],["impl Finalize for InlineCache"],["impl<T: ?Sized> Finalize for Object<T>"]], "boa_gc":[], -"boa_interner":[["impl Finalize for Sym"]], -"boa_runtime":[["impl Finalize for Console"]] +"boa_interner":[["impl Finalize for Sym"]], +"boa_runtime":[["impl Finalize for Console"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/boa_gc/trace/trait.Trace.js b/doc/implementors/boa_gc/trace/trait.Trace.js index b39003e92d5..eb15bf77ee9 100644 --- a/doc/implementors/boa_gc/trace/trait.Trace.js +++ b/doc/implementors/boa_gc/trace/trait.Trace.js @@ -1,6 +1,6 @@ (function() {var implementors = { -"boa_engine":[["impl Trace for WeakSharedShape"],["impl Trace for SetIterator"],["impl Trace for PlainDate"],["impl Trace for JsInt16Array"],["impl Trace for PlainMonthDay"],["impl Trace for SourceTextContext"],["impl Trace for IndexedProperties"],["impl Trace for PromiseState"],["impl Trace for PrivateName"],["impl Trace for JsInt32Array"],["impl Trace for InlineCache"],["impl Trace for UnmappedArgumentswhere\n Self: Copy,"],["impl Trace for ThisBindingStatus"],["impl Trace for BindingType"],["impl Trace for JsErasedNativeErrorKind"],["impl Trace for SegmentIterator"],["impl Trace for SyntheticModule"],["impl Trace for Instant"],["impl Trace for JsSymbol"],["impl Trace for ClassFieldDefinition"],["impl Trace for LexicalEnvironment"],["impl Trace for ModuleEnvironment"],["impl Trace for CodeBlockFlags"],["impl Trace for Segmenter"],["impl Trace for WeakSet"],["impl Trace for JsInt8Array"],["impl Trace for BoundFunction"],["impl Trace for ForwardTransition"],["impl Trace for RegExpStringIterator"],["impl Trace for Proxy"],["impl<V: Trace> Trace for OrderedMap<V>"],["impl Trace for Environment"],["impl Trace for JsError"],["impl Trace for ShapeFlags"],["impl Trace for JsUint8Array"],["impl Trace for JsFunction"],["impl Trace for DescriptorKind"],["impl Trace for ListFormat"],["impl Trace for ActiveRunnable"],["impl Trace for WeakShape"],["impl Trace for FunctionEnvironment"],["impl Trace for SetLock"],["impl Trace for JsFloat64Array"],["impl Trace for ErrorObjectwhere\n Self: Copy,"],["impl Trace for OrdinaryObjectwhere\n Self: Copy,"],["impl Trace for PrivateEnvironment"],["impl Trace for JsBigInt"],["impl Trace for CompletionRecord"],["impl Trace for TimeZone"],["impl Trace for JsSetIterator"],["impl Trace for JsFloat32Array"],["impl Trace for RootShape"],["impl Trace for MappedArguments"],["impl Trace for JsMap"],["impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where\n GcRefCell<Object<T>>: Trace,"],["impl Trace for JsValue"],["impl Trace for ZonedDateTime"],["impl Trace for Module"],["impl Trace for ForInIterator"],["impl Trace for MapIterator"],["impl Trace for JsRegExp"],["impl Trace for JsNativeErrorKind"],["impl Trace for JsProxy"],["impl Trace for JsUint32Array"],["impl Trace for PromiseCapability"],["impl Trace for DeclarativeEnvironmentKind"],["impl Trace for GeneratorState"],["impl Trace for BindingLocator"],["impl Trace for ErasedRepr"],["impl Trace for AsyncGeneratorRequest"],["impl Trace for GeneratorContext"],["impl Trace for Durationwhere\n Self: Copy,"],["impl Trace for Inner"],["impl Trace for PlainDateTime"],["impl Trace for PluralRules"],["impl Trace for Segments"],["impl Trace for JsErasedError"],["impl Trace for Inner"],["impl Trace for ArrayBuffer"],["impl Trace for JsString"],["impl Trace for OrderedSet"],["impl Trace for JsNativeError"],["impl Trace for CompileTimeEnvironment"],["impl Trace for TransitionKey"],["impl Trace for ModuleNamespace"],["impl Trace for DfsInfo"],["impl<F, T> Trace for Closure<F, T>where\n F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>,\n T: Trace + Trace,"],["impl Trace for DateTimeFormat"],["impl Trace for JsErasedNativeError"],["impl Trace for StandardConstructors"],["impl Trace for JobCallback"],["impl<F, T> Trace for Callback<F, T>where\n F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>,\n T: Trace + Trace,"],["impl Trace for Inner"],["impl Trace for UriFunctions"],["impl Trace for Inner"],["impl Trace for SharedShape"],["impl Trace for StandardConstructor"],["impl Trace for IntrinsicObjects"],["impl Trace for ResolvingFunctions"],["impl Trace for JsDate"],["impl Trace for JsMapIterator"],["impl Trace for ObjectTemplates"],["impl Trace for EnvironmentStack"],["impl Trace for DataView"],["impl Trace for AsyncGenerator"],["impl Trace for Generator"],["impl Trace for JsPromise"],["impl Trace for Realm"],["impl Trace for AsyncFromSyncIterator"],["impl Trace for NativeFunction"],["impl<K: Trace> Trace for OrderedHashMap<K>"],["impl Trace for JsSharedArrayBuffer"],["impl Trace for FunctionSlots"],["impl Trace for PoisonableEnvironment"],["impl Trace for NativeFunctionObject"],["impl Trace for Constant"],["impl Trace for HostDefined"],["impl Trace for JsArrayBuffer"],["impl Trace for ReactionRecord"],["impl Trace for GlobalEnvironment"],["impl Trace for Calendar"],["impl Trace for Datewhere\n Self: Copy,"],["impl Trace for JsArray"],["impl Trace for Inner"],["impl Trace for JsTypedArray"],["impl Trace for PlainYearMonth"],["impl Trace for ModuleKind"],["impl Trace for IteratorRecord"],["impl Trace for PropertyDescriptor"],["impl Trace for Status"],["impl Trace for OrdinaryFunction"],["impl Trace for MapLock"],["impl Trace for PrivateElement"],["impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where\n FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,"],["impl Trace for Inner"],["impl Trace for ThisMode"],["impl Trace for TypedArray"],["impl Trace for Inner"],["impl Trace for WeakRef"],["impl Trace for Inner"],["impl Trace for IndirectBinding"],["impl Trace for Promise"],["impl Trace for RegExp"],["impl Trace for IteratorPrototypes"],["impl Trace for SourceTextModule"],["impl Trace for ObjectTemplate"],["impl Trace for UniqueShape"],["impl Trace for CodeBlock"],["impl Trace for Script"],["impl Trace for Collator"],["impl Trace for JsSet"],["impl Trace for JsGenerator"],["impl Trace for JsRevocableProxy"],["impl Trace for Inner"],["impl Trace for ModuleRepr"],["impl Trace for Repr"],["impl Trace for JsUint16Array"],["impl Trace for IteratorResult"],["impl Trace for ArrayIterator"],["impl Trace for WeakUniqueShape"],["impl Trace for PropertyMap"],["impl Trace for Shape"],["impl Trace for Intrinsics"],["impl Trace for DeclarativeEnvironment"],["impl Trace for WeakMap"],["impl Trace for Arraywhere\n Self: Copy,"],["impl Trace for SharedArrayBuffer"],["impl Trace for StringIterator"],["impl Trace for JsObject"],["impl Trace for SyntheticModuleInitializer"],["impl Trace for CallFrame"],["impl Trace for JsDataView"],["impl<T: Trace + ?Sized> Trace for Object<T>"]], +"boa_engine":[["impl Trace for WeakSharedShape"],["impl Trace for SetIterator"],["impl Trace for PlainDate"],["impl Trace for JsInt16Array"],["impl Trace for PlainMonthDay"],["impl Trace for SourceTextContext"],["impl Trace for IndexedProperties"],["impl Trace for PromiseState"],["impl Trace for PrivateName"],["impl Trace for JsInt32Array"],["impl Trace for InlineCache"],["impl Trace for UnmappedArgumentswhere\n Self: Copy,"],["impl Trace for ThisBindingStatus"],["impl Trace for BindingType"],["impl Trace for JsErasedNativeErrorKind"],["impl Trace for SegmentIterator"],["impl Trace for SyntheticModule"],["impl Trace for Instant"],["impl Trace for JsSymbol"],["impl Trace for ClassFieldDefinition"],["impl Trace for LexicalEnvironment"],["impl Trace for ModuleEnvironment"],["impl Trace for CodeBlockFlags"],["impl Trace for Segmenter"],["impl Trace for WeakSet"],["impl Trace for JsInt8Array"],["impl Trace for BoundFunction"],["impl Trace for ForwardTransition"],["impl Trace for RegExpStringIterator"],["impl Trace for Proxy"],["impl<V: Trace> Trace for OrderedMap<V>"],["impl Trace for Environment"],["impl Trace for JsError"],["impl Trace for ShapeFlags"],["impl Trace for JsUint8Array"],["impl Trace for JsFunction"],["impl Trace for DescriptorKind"],["impl Trace for ListFormat"],["impl Trace for ActiveRunnable"],["impl Trace for WeakShape"],["impl Trace for FunctionEnvironment"],["impl Trace for SetLock"],["impl Trace for JsFloat64Array"],["impl Trace for ErrorObjectwhere\n Self: Copy,"],["impl Trace for OrdinaryObjectwhere\n Self: Copy,"],["impl Trace for PrivateEnvironment"],["impl Trace for JsBigInt"],["impl Trace for CompletionRecord"],["impl Trace for TimeZone"],["impl Trace for JsSetIterator"],["impl Trace for JsFloat32Array"],["impl Trace for RootShape"],["impl Trace for MappedArguments"],["impl Trace for JsMap"],["impl<T: NativeObject + ?Sized> Trace for VTableObject<T>where\n GcRefCell<Object<T>>: Trace,"],["impl Trace for JsValue"],["impl Trace for ZonedDateTime"],["impl Trace for Module"],["impl Trace for ForInIterator"],["impl Trace for MapIterator"],["impl Trace for JsRegExp"],["impl Trace for JsNativeErrorKind"],["impl Trace for JsProxy"],["impl Trace for JsUint32Array"],["impl Trace for PromiseCapability"],["impl Trace for DeclarativeEnvironmentKind"],["impl Trace for GeneratorState"],["impl Trace for BindingLocator"],["impl Trace for ErasedRepr"],["impl Trace for AsyncGeneratorRequest"],["impl Trace for GeneratorContext"],["impl Trace for Durationwhere\n Self: Copy,"],["impl Trace for Inner"],["impl Trace for PlainDateTime"],["impl Trace for PluralRules"],["impl Trace for Segments"],["impl Trace for JsErasedError"],["impl Trace for Inner"],["impl Trace for ArrayBuffer"],["impl Trace for JsString"],["impl Trace for OrderedSet"],["impl Trace for JsNativeError"],["impl Trace for CompileTimeEnvironment"],["impl Trace for TransitionKey"],["impl Trace for ModuleNamespace"],["impl Trace for DfsInfo"],["impl<F, T> Trace for Closure<F, T>where\n F: Fn(&JsValue, &[JsValue], &T, &mut Context) -> JsResult<JsValue>,\n T: Trace + Trace,"],["impl Trace for DateTimeFormat"],["impl Trace for JsErasedNativeError"],["impl Trace for StandardConstructors"],["impl Trace for JobCallback"],["impl<F, T> Trace for Callback<F, T>where\n F: Fn(&SyntheticModule, &T, &mut Context) -> JsResult<()>,\n T: Trace + Trace,"],["impl Trace for Inner"],["impl Trace for UriFunctions"],["impl Trace for Inner"],["impl Trace for SharedShape"],["impl Trace for StandardConstructor"],["impl Trace for IntrinsicObjects"],["impl Trace for ResolvingFunctions"],["impl Trace for JsDate"],["impl Trace for JsMapIterator"],["impl Trace for ObjectTemplates"],["impl Trace for EnvironmentStack"],["impl Trace for DataView"],["impl Trace for AsyncGenerator"],["impl Trace for Generator"],["impl Trace for JsPromise"],["impl Trace for Realm"],["impl Trace for AsyncFromSyncIterator"],["impl Trace for NativeFunction"],["impl<K: Trace> Trace for OrderedHashMap<K>"],["impl Trace for JsSharedArrayBuffer"],["impl Trace for FunctionSlots"],["impl Trace for PoisonableEnvironment"],["impl Trace for NativeFunctionObject"],["impl Trace for Constant"],["impl Trace for HostDefined"],["impl Trace for JsArrayBuffer"],["impl Trace for ReactionRecord"],["impl Trace for GlobalEnvironment"],["impl Trace for Calendar"],["impl Trace for Datewhere\n Self: Copy,"],["impl Trace for JsArray"],["impl Trace for Inner"],["impl Trace for JsTypedArray"],["impl Trace for PlainYearMonth"],["impl Trace for ModuleKind"],["impl Trace for IteratorRecord"],["impl Trace for PropertyDescriptor"],["impl Trace for Status"],["impl Trace for OrdinaryFunction"],["impl Trace for MapLock"],["impl Trace for PrivateElement"],["impl<T: Debug + Trace + Finalize> Trace for TransitionMap<T>where\n FxHashMap<T, WeakGc<SharedShapeInner>>: Trace,"],["impl Trace for Inner"],["impl Trace for ThisMode"],["impl Trace for TypedArray"],["impl Trace for Inner"],["impl Trace for WeakRef"],["impl Trace for Inner"],["impl Trace for IndirectBinding"],["impl Trace for Promise"],["impl Trace for RegExp"],["impl Trace for IteratorPrototypes"],["impl Trace for SourceTextModule"],["impl Trace for ObjectTemplate"],["impl Trace for UniqueShape"],["impl Trace for CodeBlock"],["impl Trace for Script"],["impl Trace for Collator"],["impl Trace for JsSet"],["impl Trace for JsGenerator"],["impl Trace for JsRevocableProxy"],["impl Trace for Inner"],["impl Trace for ModuleRepr"],["impl Trace for Repr"],["impl Trace for JsUint16Array"],["impl Trace for IteratorResult"],["impl Trace for ArrayIterator"],["impl Trace for WeakUniqueShape"],["impl Trace for PropertyMap"],["impl Trace for Shape"],["impl Trace for Intrinsics"],["impl Trace for DeclarativeEnvironment"],["impl Trace for WeakMap"],["impl Trace for Arraywhere\n Self: Copy,"],["impl Trace for SharedArrayBuffer"],["impl Trace for StringIterator"],["impl Trace for JsObject"],["impl Trace for SyntheticModuleInitializer"],["impl Trace for CallFrame"],["impl Trace for JsDataView"],["impl<T: Trace + ?Sized> Trace for Object<T>"]], "boa_gc":[], -"boa_interner":[["impl Trace for Sym"]], -"boa_runtime":[["impl Trace for Console"]] +"boa_interner":[["impl Trace for Sym"]], +"boa_runtime":[["impl Trace for Console"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/boa_temporal/components/calendar/trait.CalendarProtocol.js b/doc/implementors/boa_temporal/components/calendar/trait.CalendarProtocol.js index dda6157a8de..db778abb9cd 100644 --- a/doc/implementors/boa_temporal/components/calendar/trait.CalendarProtocol.js +++ b/doc/implementors/boa_temporal/components/calendar/trait.CalendarProtocol.js @@ -1,4 +1,4 @@ (function() {var implementors = { -"boa_engine":[["impl CalendarProtocol for CustomRuntimeCalendar"]], +"boa_engine":[["impl CalendarProtocol for CustomRuntimeCalendar"]], "boa_temporal":[] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/core/convert/trait.AsRef.js b/doc/implementors/core/convert/trait.AsRef.js index f97fc75e14f..0e09051e5b2 100644 --- a/doc/implementors/core/convert/trait.AsRef.js +++ b/doc/implementors/core/convert/trait.AsRef.js @@ -1,5 +1,5 @@ (function() {var implementors = { "boa_ast":[["impl AsRef<[Option<Expression>]> for ArrayLiteral"],["impl AsRef<[FormalParameter]> for FormalParameterList"],["impl AsRef<[Variable]> for VariableList"]], -"boa_engine":[["impl AsRef<GcRefCell<Object<dyn NativeObject>>> for JsObject"],["impl AsRef<[u16]> for JsString"]], +"boa_engine":[["impl AsRef<GcRefCell<Object<dyn NativeObject>>> for JsObject"],["impl AsRef<[u16]> for JsString"]], "boa_gc":[["impl<T: Trace + ?Sized> AsRef<T> for Gc<T>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/doc/implementors/core/convert/trait.From.js b/doc/implementors/core/convert/trait.From.js index 86b828ece30..feb4b1a717b 100644 --- a/doc/implementors/core/convert/trait.From.js +++ b/doc/implementors/core/convert/trait.From.js @@ -1,6 +1,6 @@ (function() {var implementors = { "boa_ast":[["impl From<Spread> for Expression"],["impl<'a> From<&'a mut ImportCall> for NodeRefMut<'a>"],["impl<'a> From<&'a mut TemplateLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a WhileLoop> for NodeRef<'a>"],["impl<'a> From<&'a ExportDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a IterableLoopInitializer> for NodeRef<'a>"],["impl<'a> From<&'a mut VarDeclaration> for NodeRefMut<'a>"],["impl From<RelationalOp> for BinaryOp"],["impl<'a> From<&'a Binary> for NodeRef<'a>"],["impl From<Sym> for ModuleSpecifier"],["impl<'a> From<&'a Block> for NodeRef<'a>"],["impl<'a> From<&'a Variable> for NodeRef<'a>"],["impl<'a> From<&'a Identifier> for NodeRef<'a>"],["impl From<Yield> for Expression"],["impl<'a> From<&'a LexicalDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a Update> for NodeRef<'a>"],["impl<'a> From<&'a mut New> for NodeRefMut<'a>"],["impl<'a> From<&'a mut SuperCall> for NodeRefMut<'a>"],["impl<'a> From<&'a mut AssignTarget> for NodeRefMut<'a>"],["impl<'a> From<&'a SuperCall> for NodeRef<'a>"],["impl<'a> From<&'a VarDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a PropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a mut MethodDefinition> for NodeRefMut<'a>"],["impl<'a> From<&'a Finally> for NodeRef<'a>"],["impl From<WhileLoop> for Statement"],["impl<'a> From<&'a ForInLoop> for NodeRef<'a>"],["impl<'a> From<&'a Spread> for NodeRef<'a>"],["impl From<SuperPropertyAccess> for PropertyAccess"],["impl From<TaggedTemplate> for Expression"],["impl<'a> From<&'a BinaryInPrivate> for NodeRef<'a>"],["impl From<LexicalDeclaration> for ForLoopInitializer"],["impl<'a> From<&'a mut Sym> for NodeRefMut<'a>"],["impl<'a> From<&'a Switch> for NodeRef<'a>"],["impl<'a> From<&'a mut SimplePropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Binding> for NodeRefMut<'a>"],["impl<'a> From<&'a OptionalOperation> for NodeRef<'a>"],["impl<'a> From<&'a Sym> for NodeRef<'a>"],["impl From<Function> for Declaration"],["impl<'a> From<&'a ForOfLoop> for NodeRef<'a>"],["impl<'a> From<&'a mut OptionalOperation> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ReExportKind> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ForLoopInitializer> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ExportSpecifier> for NodeRefMut<'a>"],["impl<'a> From<&'a PropertyDefinition> for NodeRef<'a>"],["impl<'a> From<&'a ModuleSpecifier> for NodeRef<'a>"],["impl<'a> From<&'a mut Labelled> for NodeRefMut<'a>"],["impl<'a> From<&'a Function> for NodeRef<'a>"],["impl<'a> From<&'a mut Unary> for NodeRefMut<'a>"],["impl<'a> From<&'a Script> for NodeRef<'a>"],["impl<'a> From<&'a Expression> for NodeRef<'a>"],["impl From<ForOfLoop> for Statement"],["impl<'a> From<&'a New> for NodeRef<'a>"],["impl<'a> From<&'a mut AsyncFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Parenthesized> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ImportSpecifier> for NodeRefMut<'a>"],["impl From<Expression> for PropertyName"],["impl From<Break> for Statement"],["impl<'a> From<&'a AsyncArrowFunction> for NodeRef<'a>"],["impl<'a> From<&'a DoWhileLoop> for NodeRef<'a>"],["impl<'a> From<&'a mut TaggedTemplate> for NodeRefMut<'a>"],["impl From<RegExpLiteral> for Expression"],["impl From<Return> for Statement"],["impl<'a> From<&'a AsyncGenerator> for NodeRef<'a>"],["impl<'a> From<&'a mut LabelledItem> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ExportDeclaration> for NodeRefMut<'a>"],["impl<'a> From<&'a ObjectPatternElement> for NodeRef<'a>"],["impl<'a> From<&'a ArrayPattern> for NodeRef<'a>"],["impl<'a> From<&'a mut Statement> for NodeRefMut<'a>"],["impl From<Pattern> for Binding"],["impl<'a> From<&'a ImportKind> for NodeRef<'a>"],["impl<'a> From<&'a mut ForOfLoop> for NodeRefMut<'a>"],["impl From<AsyncGenerator> for Expression"],["impl<'a> From<&'a mut Assign> for NodeRefMut<'a>"],["impl<'a> From<&'a ImportCall> for NodeRef<'a>"],["impl<'a> From<&'a mut Spread> for NodeRefMut<'a>"],["impl<'a> From<&'a Optional> for NodeRef<'a>"],["impl From<Expression> for PropertyAccessField"],["impl From<Function> for Expression"],["impl<'a> From<&'a mut ModuleItemList> for NodeRefMut<'a>"],["impl From<Literal> for Expression"],["impl<'a> From<&'a Conditional> for NodeRef<'a>"],["impl From<AsyncFunction> for Expression"],["impl<'a> From<&'a ModuleItemList> for NodeRef<'a>"],["impl From<Expression> for Statement"],["impl<'a> From<&'a mut ObjectPatternElement> for NodeRefMut<'a>"],["impl<'a> From<&'a TaggedTemplate> for NodeRef<'a>"],["impl From<Sym> for Literal"],["impl From<ObjectPattern> for Pattern"],["impl<'a> From<&'a mut ArrayLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a mut PropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a ArrowFunction> for NodeRef<'a>"],["impl From<Switch> for Statement"],["impl<'a> From<&'a Unary> for NodeRef<'a>"],["impl<'a> From<&'a mut PrivatePropertyAccess> for NodeRefMut<'a>"],["impl From<If> for Statement"],["impl From<Call> for New"],["impl From<Assign> for Expression"],["impl<'a> From<&'a mut PrivateName> for NodeRefMut<'a>"],["impl From<Statement> for LabelledItem"],["impl<'a> From<&'a mut Throw> for NodeRefMut<'a>"],["impl From<SuperCall> for Expression"],["impl From<LexicalDeclaration> for Declaration"],["impl From<VarDeclaration> for Statement"],["impl From<Update> for Expression"],["impl<'a> From<&'a PrivateName> for NodeRef<'a>"],["impl From<Sym> for Identifier"],["impl<'a> From<&'a mut Yield> for NodeRefMut<'a>"],["impl From<Function> for LabelledItem"],["impl<'a> From<&'a mut ArrowFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a PropertyName> for NodeRef<'a>"],["impl<'a> From<&'a MethodDefinition> for NodeRef<'a>"],["impl From<Generator> for Expression"],["impl<T> From<T> for Blockwhere\n T: Into<StatementList>,"],["impl From<f64> for Literal"],["impl<'a> From<&'a mut Module> for NodeRefMut<'a>"],["impl From<Expression> for ForLoopInitializer"],["impl<'a> From<&'a mut FormalParameter> for NodeRefMut<'a>"],["impl<'a> From<&'a ImportSpecifier> for NodeRef<'a>"],["impl From<Vec<ObjectPatternElement, Global>> for ObjectPattern"],["impl<'a> From<&'a ObjectLiteral> for NodeRef<'a>"],["impl<'a> From<&'a AsyncFunction> for NodeRef<'a>"],["impl From<ForLoop> for Statement"],["impl<'a> From<&'a mut RegExpLiteral> for NodeRefMut<'a>"],["impl<'a> From<&'a Assign> for NodeRef<'a>"],["impl From<TemplateLiteral> for Expression"],["impl From<Try> for Statement"],["impl<'a> From<&'a mut Case> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Identifier> for NodeRefMut<'a>"],["impl From<BinaryInPrivate> for Expression"],["impl<'a> From<&'a StatementList> for NodeRef<'a>"],["impl<'a> From<&'a ForLoopInitializer> for NodeRef<'a>"],["impl<'a> From<&'a mut Return> for NodeRefMut<'a>"],["impl From<Class> for Declaration"],["impl From<PropertyAccess> for Expression"],["impl From<AsyncArrowFunction> for Expression"],["impl From<DoWhileLoop> for Statement"],["impl<'a> From<&'a mut ObjectLiteral> for NodeRefMut<'a>"],["impl From<ArithmeticOp> for BinaryOp"],["impl From<Throw> for Statement"],["impl<'a> From<&'a VariableList> for NodeRef<'a>"],["impl<'a> From<&'a mut Try> for NodeRefMut<'a>"],["impl<'a> From<&'a FormalParameter> for NodeRef<'a>"],["impl<'a> From<&'a mut Continue> for NodeRefMut<'a>"],["impl From<Optional> for Expression"],["impl<'a> From<&'a mut Class> for NodeRefMut<'a>"],["impl<'a> From<&'a ForLoop> for NodeRef<'a>"],["impl<'a> From<&'a mut With> for NodeRefMut<'a>"],["impl From<Await> for Expression"],["impl<'a> From<&'a SimplePropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a mut Block> for NodeRefMut<'a>"],["impl<'a> From<&'a Binding> for NodeRef<'a>"],["impl From<Call> for Expression"],["impl From<AsyncFunction> for Declaration"],["impl<'a> From<&'a ReExportKind> for NodeRef<'a>"],["impl<'a> From<&'a OptionalOperationKind> for NodeRef<'a>"],["impl<'a> From<&'a Literal> for NodeRef<'a>"],["impl<'a> From<&'a TemplateElement> for NodeRef<'a>"],["impl<'a> From<&'a ExportSpecifier> for NodeRef<'a>"],["impl From<ObjectLiteral> for Expression"],["impl<'a> From<&'a Case> for NodeRef<'a>"],["impl From<Position> for Span"],["impl<T> From<T> for ArrayLiteralwhere\n T: Into<Box<[Option<Expression>]>>,"],["impl From<Vec<FormalParameter, Global>> for FormalParameterList"],["impl From<Sym> for PropertyName"],["impl<'a> From<&'a mut Catch> for NodeRefMut<'a>"],["impl<'a> From<&'a Try> for NodeRef<'a>"],["impl<'a> From<&'a mut StatementListItem> for NodeRefMut<'a>"],["impl<'a> From<&'a FormalParameterList> for NodeRef<'a>"],["impl From<ForInLoop> for Statement"],["impl From<PrivatePropertyAccess> for PropertyAccess"],["impl From<IndirectExportEntry> for ExportEntry"],["impl<'a> From<&'a mut Pattern> for NodeRefMut<'a>"],["impl<'a> From<&'a PrivatePropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a Yield> for NodeRef<'a>"],["impl From<Binary> for Expression"],["impl<'a> From<&'a mut Finally> for NodeRefMut<'a>"],["impl From<LocalExportEntry> for ExportEntry"],["impl<'a> From<&'a TemplateLiteral> for NodeRef<'a>"],["impl<'a> From<&'a mut Break> for NodeRefMut<'a>"],["impl From<Generator> for Declaration"],["impl From<Vec<ObjectPatternElement, Global>> for Pattern"],["impl<'a> From<&'a ClassElement> for NodeRef<'a>"],["impl From<SimplePropertyAccess> for PropertyAccess"],["impl From<With> for Statement"],["impl<'a> From<&'a mut PropertyAccessField> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ForInLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ImportKind> for NodeRefMut<'a>"],["impl From<ImportCall> for Expression"],["impl From<Identifier> for Binding"],["impl<'a> From<&'a SuperPropertyAccess> for NodeRef<'a>"],["impl<'a> From<&'a Catch> for NodeRef<'a>"],["impl<'a> From<&'a mut Call> for NodeRefMut<'a>"],["impl<'a> From<&'a mut LexicalDeclaration> for NodeRefMut<'a>"],["impl From<Identifier> for Expression"],["impl<T> From<T> for Awaitwhere\n T: Into<Box<Expression>>,"],["impl From<ArrayPattern> for Pattern"],["impl<'a> From<&'a mut OptionalOperationKind> for NodeRefMut<'a>"],["impl From<VarDeclaration> for ForLoopInitializer"],["impl<T> From<T> for ObjectLiteralwhere\n T: Into<Box<[PropertyDefinition]>>,"],["impl From<Class> for Expression"],["impl From<Block> for Statement"],["impl<'a> From<&'a ArrayLiteral> for NodeRef<'a>"],["impl<'a> From<&'a Class> for NodeRef<'a>"],["impl From<AsyncGenerator> for Declaration"],["impl From<ArrayLiteral> for Expression"],["impl<'a> From<&'a Parenthesized> for NodeRef<'a>"],["impl<'a> From<&'a mut BinaryInPrivate> for NodeRefMut<'a>"],["impl From<BigInt> for Literal"],["impl<'a> From<&'a RegExpLiteral> for NodeRef<'a>"],["impl<'a> From<&'a mut Literal> for NodeRefMut<'a>"],["impl<'a> From<&'a mut If> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Function> for NodeRefMut<'a>"],["impl From<LogicalOp> for BinaryOp"],["impl<'a> From<&'a Generator> for NodeRef<'a>"],["impl From<Vec<ArrayPatternElement, Global>> for Pattern"],["impl From<BitwiseOp> for BinaryOp"],["impl From<Labelled> for Statement"],["impl<'a> From<&'a mut TemplateElement> for NodeRefMut<'a>"],["impl<'a> From<&'a LabelledItem> for NodeRef<'a>"],["impl From<Statement> for StatementListItem"],["impl<'a> From<&'a mut ArrayPattern> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Declaration> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Binary> for NodeRefMut<'a>"],["impl<'a> From<&'a Call> for NodeRef<'a>"],["impl<'a> From<&'a mut ModuleItem> for NodeRefMut<'a>"],["impl<'a> From<&'a mut AsyncArrowFunction> for NodeRefMut<'a>"],["impl<'a> From<&'a Declaration> for NodeRef<'a>"],["impl From<FormalParameter> for FormalParameterList"],["impl From<Box<BigInt, Global>> for Literal"],["impl<'a> From<&'a mut Script> for NodeRefMut<'a>"],["impl<'a> From<&'a Statement> for NodeRef<'a>"],["impl From<Vec<ArrayPatternElement, Global>> for ArrayPattern"],["impl<'a> From<&'a Pattern> for NodeRef<'a>"],["impl From<New> for Expression"],["impl<'a> From<&'a mut Update> for NodeRefMut<'a>"],["impl<'a> From<&'a StatementListItem> for NodeRef<'a>"],["impl<'a> From<&'a mut ArrayPatternElement> for NodeRefMut<'a>"],["impl From<Block> for Finally"],["impl<'a> From<&'a mut Conditional> for NodeRefMut<'a>"],["impl From<Continue> for Statement"],["impl<'a> From<&'a ObjectPattern> for NodeRef<'a>"],["impl<'a> From<&'a mut Await> for NodeRefMut<'a>"],["impl<'a> From<&'a mut PropertyDefinition> for NodeRefMut<'a>"],["impl From<i32> for Literal"],["impl<'a> From<&'a mut ForLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a mut WhileLoop> for NodeRefMut<'a>"],["impl<'a> From<&'a Throw> for NodeRef<'a>"],["impl From<Declaration> for StatementListItem"],["impl<'a> From<&'a mut IterableLoopInitializer> for NodeRefMut<'a>"],["impl<'a> From<&'a mut VariableList> for NodeRefMut<'a>"],["impl<'a> From<&'a mut FormalParameterList> for NodeRefMut<'a>"],["impl<'a> From<&'a mut SuperPropertyAccess> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ModuleSpecifier> for NodeRefMut<'a>"],["impl<'a> From<&'a Break> for NodeRef<'a>"],["impl<'a> From<&'a If> for NodeRef<'a>"],["impl<'a> From<&'a mut ClassElement> for NodeRefMut<'a>"],["impl<'a> From<&'a mut ImportDeclaration> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Variable> for NodeRefMut<'a>"],["impl<'a> From<&'a mut StatementList> for NodeRefMut<'a>"],["impl From<Punctuator> for Box<str>"],["impl<'a> From<&'a Await> for NodeRef<'a>"],["impl<'a> From<&'a mut Expression> for NodeRefMut<'a>"],["impl<'a> From<&'a With> for NodeRef<'a>"],["impl<'a> From<&'a PropertyAccessField> for NodeRef<'a>"],["impl<T> From<T> for ModuleItemListwhere\n T: Into<Box<[ModuleItem]>>,"],["impl<'a> From<&'a mut ObjectPattern> for NodeRefMut<'a>"],["impl<'a> From<&'a mut Optional> for NodeRefMut<'a>"],["impl<'ast> From<&'ast Declaration> for LexicallyScopedDeclaration<'ast>"],["impl<'a> From<&'a Labelled> for NodeRef<'a>"],["impl<'a> From<&'a AssignTarget> for NodeRef<'a>"],["impl<'a> From<&'a Continue> for NodeRef<'a>"],["impl<'a> From<&'a Return> for NodeRef<'a>"],["impl From<Conditional> for Expression"],["impl<'a> From<&'a mut Switch> for NodeRefMut<'a>"],["impl<'a> From<&'a Module> for NodeRef<'a>"],["impl From<Parenthesized> for Expression"],["impl From<Sym> for PropertyAccessField"],["impl From<ArrowFunction> for Expression"],["impl<'a> From<&'a ImportDeclaration> for NodeRef<'a>"],["impl<'a> From<&'a mut Generator> for NodeRefMut<'a>"],["impl<'a> From<&'a ArrayPatternElement> for NodeRef<'a>"],["impl From<bool> for Literal"],["impl<'a> From<&'a mut PropertyName> for NodeRefMut<'a>"],["impl<'a> From<&'a mut DoWhileLoop> for NodeRefMut<'a>"],["impl From<Vec<StatementListItem, Global>> for StatementList"],["impl From<Box<[StatementListItem], Global>> for StatementList"],["impl<'a> From<&'a ModuleItem> for NodeRef<'a>"],["impl<'a> From<&'a mut AsyncGenerator> for NodeRefMut<'a>"],["impl From<Identifier> for AssignTarget"],["impl From<Unary> for Expression"]], -"boa_engine":[["impl From<usize> for JsValue"],["impl From<i32> for JsBigInt"],["impl From<i32> for TypedArrayElement"],["impl From<JsFloat64Array> for JsObject"],["impl From<f64> for Numeric"],["impl From<JsGenerator> for JsValue"],["impl From<JsGenerator> for JsObject"],["impl From<JsMapIterator> for JsObject"],["impl From<&UniqueShape> for WeakUniqueShape"],["impl From<JsUint32Array> for JsValue"],["impl From<JsBigInt> for Numeric"],["impl From<JsObject> for JsValue"],["impl From<JsUint16Array> for JsObject"],["impl From<Error> for JsError"],["impl<'a> From<&'a AsyncFunction> for FunctionSpec<'a>"],["impl From<ClampedU8> for Numeric"],["impl From<Numeric> for JsValue"],["impl From<JsMap> for JsValue"],["impl<'a> From<&'a AsyncArrowFunction> for FunctionSpec<'a>"],["impl From<i128> for JsBigInt"],["impl From<&PropertyKey> for JsValue"],["impl From<isize> for JsBigInt"],["impl From<u32> for JsBigInt"],["impl<'context> From<&'context mut Context> for InternalMethodContext<'context>"],["impl From<u32> for Numeric"],["impl From<JsFunction> for JsValue"],["impl From<u16> for JsBigInt"],["impl From<JsRegExp> for JsObject"],["impl From<JsString> for PropertyKey"],["impl From<GeneratorResumeKind> for JsValue"],["impl From<i64> for TypedArrayElement"],["impl From<Box<BigInt, Global>> for JsBigInt"],["impl From<JsTypedArray> for JsValue"],["impl From<ClampedU8> for TypedArrayElement"],["impl From<JsInt8Array> for JsObject"],["impl From<i16> for JsBigInt"],["impl From<DataError> for IcuError"],["impl From<JsString> for JsValue"],["impl From<f64> for JsValue"],["impl From<&[u16]> for PropertyKey"],["impl From<u16> for TypedArrayElement"],["impl<'a> From<&'a [AtomicU8]> for SliceRefMut<'a>"],["impl From<JsFloat32Array> for JsValue"],["impl From<usize> for JsBigInt"],["impl From<i64> for JsValue"],["impl From<JsPromise> for JsValue"],["impl From<JsArray> for JsValue"],["impl From<i32> for JsValue"],["impl From<i64> for JsBigInt"],["impl From<Gc<VTableObject<dyn NativeObject>>> for JsObject"],["impl From<u8> for Numeric"],["impl From<JsTypedArray> for JsObject"],["impl From<f64> for IntegerOrInfinity"],["impl From<f32> for JsValue"],["impl From<SharedShape> for Shape"],["impl From<JsUint8Array> for JsObject"],["impl From<JsSet> for JsObject"],["impl From<JsArrayBuffer> for JsObject"],["impl From<u64> for TypedArrayElement"],["impl From<JsSymbol> for JsValue"],["impl From<i8> for TypedArrayElement"],["impl From<usize> for PropertyKey"],["impl From<BigInt> for JsBigInt"],["impl From<JsInt8Array> for JsValue"],["impl From<u8> for TypedArrayElement"],["impl From<JsUint8Array> for JsValue"],["impl From<JsSharedArrayBuffer> for JsValue"],["impl From<isize> for PropertyKey"],["impl From<TypedArrayElement> for JsValue"],["impl From<JsDataView> for JsValue"],["impl From<LocaleTransformError> for IcuError"],["impl From<NormalizerError> for IcuError"],["impl From<JsInt16Array> for JsValue"],["impl From<JsSymbol> for FunctionBinding"],["impl From<u8> for PropertyKey"],["impl From<u32> for PropertyKey"],["impl From<JsArrayBuffer> for JsValue"],["impl From<u8> for JsBigInt"],["impl From<PropertyDescriptorBuilder> for PropertyDescriptor"],["impl From<JsArray> for JsObject"],["impl From<ActiveRunnable> for Referrer"],["impl From<f64> for PropertyKey"],["impl From<i64> for Numeric"],["impl From<f32> for Numeric"],["impl From<JsProxy> for JsObject"],["impl From<u16> for PropertyKey"],["impl From<JsSharedArrayBuffer> for JsObject"],["impl From<bool> for AbstractRelation"],["impl From<u16> for Numeric"],["impl From<&str> for JsString"],["impl From<JsMap> for JsObject"],["impl From<f32> for TypedArrayElement"],["impl From<char> for JsValue"],["impl From<JsSetIterator> for JsValue"],["impl<const N: usize> From<&[u16; N]> for JsString"],["impl From<u16> for JsValue"],["impl From<JsString> for FunctionBinding"],["impl From<u64> for PropertyKey"],["impl From<i16> for Numeric"],["impl From<Vec<u16, Global>> for JsString"],["impl From<JsSymbol> for PropertyKey"],["impl From<UniqueShape> for Shape"],["impl From<JsUint16Array> for JsValue"],["impl<B, N> From<(B, N)> for FunctionBindingwhere\n B: Into<PropertyKey>,\n N: Into<JsString>,"],["impl<'a> From<&'a [u8]> for SliceRef<'a>"],["impl From<u128> for JsBigInt"],["impl From<JsInt16Array> for JsObject"],["impl From<JsFloat32Array> for JsObject"],["impl<'a> From<&'a AsyncGenerator> for FunctionSpec<'a>"],["impl<'a> From<&'a mut [u8]> for SliceRefMut<'a>"],["impl From<&[u16]> for JsString"],["impl From<u64> for Numeric"],["impl<'a> From<&'a [AtomicU8]> for SliceRef<'a>"],["impl From<TemporalError> for JsError"],["impl From<JsDataView> for JsObject"],["impl<'a> From<&'a ArrowFunction> for FunctionSpec<'a>"],["impl From<JsFloat64Array> for JsValue"],["impl From<u32> for TypedArrayElement"],["impl From<Error> for JsNativeError"],["impl From<u32> for JsValue"],["impl<'a> From<&'a Generator> for FunctionSpec<'a>"],["impl From<JsSetIterator> for JsObject"],["impl From<JsNativeError> for JsError"],["impl From<u64> for JsValue"],["impl From<PropertyKey> for JsValue"],["impl<'a> From<&'a Function> for FunctionSpec<'a>"],["impl From<JsMapIterator> for JsValue"],["impl From<JsRegExp> for JsValue"],["impl From<i16> for TypedArrayElement"],["impl From<()> for JsValue"],["impl From<JsSet> for JsValue"],["impl From<JsInt32Array> for JsObject"],["impl From<String> for JsString"],["impl From<TemporalError> for JsNativeError"],["impl From<JsDate> for JsObject"],["impl From<&SharedShape> for WeakSharedShape"],["impl From<JsDate> for JsValue"],["impl From<JsProxy> for JsValue"],["impl From<u8> for JsValue"],["impl From<i8> for JsBigInt"],["impl From<&Shape> for WeakShape"],["impl From<JsFunction> for JsObject"],["impl From<u8> for Opcode"],["impl From<IntegerOrInfinity> for IntegerOrNan"],["impl From<i32> for PropertyKey"],["impl From<WellKnown> for u8"],["impl From<u64> for JsBigInt"],["impl From<JsPromise> for JsObject"],["impl From<i64> for PropertyKey"],["impl From<i8> for Numeric"],["impl From<i16> for JsValue"],["impl From<i32> for Numeric"],["impl From<f64> for TypedArrayElement"],["impl From<JsInt32Array> for JsValue"],["impl From<JsBigInt> for JsValue"],["impl From<JsUint32Array> for JsObject"],["impl From<bool> for JsValue"],["impl From<i8> for JsValue"]], +"boa_engine":[["impl From<usize> for JsValue"],["impl From<i32> for JsBigInt"],["impl From<i32> for TypedArrayElement"],["impl From<JsFloat64Array> for JsObject"],["impl From<f64> for Numeric"],["impl From<JsGenerator> for JsValue"],["impl From<JsGenerator> for JsObject"],["impl From<JsMapIterator> for JsObject"],["impl From<&UniqueShape> for WeakUniqueShape"],["impl From<JsUint32Array> for JsValue"],["impl From<JsBigInt> for Numeric"],["impl From<JsObject> for JsValue"],["impl From<JsUint16Array> for JsObject"],["impl From<Error> for JsError"],["impl<'a> From<&'a AsyncFunction> for FunctionSpec<'a>"],["impl From<ClampedU8> for Numeric"],["impl From<Numeric> for JsValue"],["impl From<JsMap> for JsValue"],["impl<'a> From<&'a AsyncArrowFunction> for FunctionSpec<'a>"],["impl From<i128> for JsBigInt"],["impl From<&PropertyKey> for JsValue"],["impl From<isize> for JsBigInt"],["impl From<u32> for JsBigInt"],["impl<'context> From<&'context mut Context> for InternalMethodContext<'context>"],["impl From<u32> for Numeric"],["impl From<JsFunction> for JsValue"],["impl From<u16> for JsBigInt"],["impl From<JsRegExp> for JsObject"],["impl From<JsString> for PropertyKey"],["impl From<GeneratorResumeKind> for JsValue"],["impl From<i64> for TypedArrayElement"],["impl From<Box<BigInt, Global>> for JsBigInt"],["impl From<JsTypedArray> for JsValue"],["impl From<ClampedU8> for TypedArrayElement"],["impl From<JsInt8Array> for JsObject"],["impl From<i16> for JsBigInt"],["impl From<DataError> for IcuError"],["impl From<JsString> for JsValue"],["impl From<f64> for JsValue"],["impl From<&[u16]> for PropertyKey"],["impl From<u16> for TypedArrayElement"],["impl<'a> From<&'a [AtomicU8]> for SliceRefMut<'a>"],["impl From<JsFloat32Array> for JsValue"],["impl From<usize> for JsBigInt"],["impl From<i64> for JsValue"],["impl From<JsPromise> for JsValue"],["impl From<JsArray> for JsValue"],["impl From<i32> for JsValue"],["impl From<i64> for JsBigInt"],["impl From<Gc<VTableObject<dyn NativeObject>>> for JsObject"],["impl From<u8> for Numeric"],["impl From<JsTypedArray> for JsObject"],["impl From<f64> for IntegerOrInfinity"],["impl From<f32> for JsValue"],["impl From<SharedShape> for Shape"],["impl From<JsUint8Array> for JsObject"],["impl From<JsSet> for JsObject"],["impl From<JsArrayBuffer> for JsObject"],["impl From<u64> for TypedArrayElement"],["impl From<JsSymbol> for JsValue"],["impl From<i8> for TypedArrayElement"],["impl From<usize> for PropertyKey"],["impl From<BigInt> for JsBigInt"],["impl From<JsInt8Array> for JsValue"],["impl From<u8> for TypedArrayElement"],["impl From<JsUint8Array> for JsValue"],["impl From<JsSharedArrayBuffer> for JsValue"],["impl From<isize> for PropertyKey"],["impl From<TypedArrayElement> for JsValue"],["impl From<JsDataView> for JsValue"],["impl From<LocaleTransformError> for IcuError"],["impl From<NormalizerError> for IcuError"],["impl From<JsInt16Array> for JsValue"],["impl From<JsSymbol> for FunctionBinding"],["impl From<u8> for PropertyKey"],["impl From<u32> for PropertyKey"],["impl From<JsArrayBuffer> for JsValue"],["impl From<u8> for JsBigInt"],["impl From<PropertyDescriptorBuilder> for PropertyDescriptor"],["impl From<JsArray> for JsObject"],["impl From<ActiveRunnable> for Referrer"],["impl From<f64> for PropertyKey"],["impl From<i64> for Numeric"],["impl From<f32> for Numeric"],["impl From<JsProxy> for JsObject"],["impl From<u16> for PropertyKey"],["impl From<JsSharedArrayBuffer> for JsObject"],["impl From<bool> for AbstractRelation"],["impl From<u16> for Numeric"],["impl From<&str> for JsString"],["impl From<JsMap> for JsObject"],["impl From<f32> for TypedArrayElement"],["impl From<char> for JsValue"],["impl From<JsSetIterator> for JsValue"],["impl<const N: usize> From<&[u16; N]> for JsString"],["impl From<u16> for JsValue"],["impl From<JsString> for FunctionBinding"],["impl From<u64> for PropertyKey"],["impl From<i16> for Numeric"],["impl From<Vec<u16, Global>> for JsString"],["impl From<JsSymbol> for PropertyKey"],["impl From<UniqueShape> for Shape"],["impl From<JsUint16Array> for JsValue"],["impl<B, N> From<(B, N)> for FunctionBindingwhere\n B: Into<PropertyKey>,\n N: Into<JsString>,"],["impl<'a> From<&'a [u8]> for SliceRef<'a>"],["impl From<u128> for JsBigInt"],["impl From<JsInt16Array> for JsObject"],["impl From<JsFloat32Array> for JsObject"],["impl<'a> From<&'a AsyncGenerator> for FunctionSpec<'a>"],["impl<'a> From<&'a mut [u8]> for SliceRefMut<'a>"],["impl From<&[u16]> for JsString"],["impl From<u64> for Numeric"],["impl<'a> From<&'a [AtomicU8]> for SliceRef<'a>"],["impl From<TemporalError> for JsError"],["impl From<JsDataView> for JsObject"],["impl<'a> From<&'a ArrowFunction> for FunctionSpec<'a>"],["impl From<JsFloat64Array> for JsValue"],["impl From<u32> for TypedArrayElement"],["impl From<Error> for JsNativeError"],["impl From<u32> for JsValue"],["impl<'a> From<&'a Generator> for FunctionSpec<'a>"],["impl From<JsSetIterator> for JsObject"],["impl From<JsNativeError> for JsError"],["impl From<u64> for JsValue"],["impl From<PropertyKey> for JsValue"],["impl<'a> From<&'a Function> for FunctionSpec<'a>"],["impl From<JsMapIterator> for JsValue"],["impl From<JsRegExp> for JsValue"],["impl From<i16> for TypedArrayElement"],["impl From<()> for JsValue"],["impl From<JsSet> for JsValue"],["impl From<JsInt32Array> for JsObject"],["impl From<String> for JsString"],["impl From<TemporalError> for JsNativeError"],["impl From<JsDate> for JsObject"],["impl From<&SharedShape> for WeakSharedShape"],["impl From<JsDate> for JsValue"],["impl From<JsProxy> for JsValue"],["impl From<u8> for JsValue"],["impl From<i8> for JsBigInt"],["impl From<&Shape> for WeakShape"],["impl From<JsFunction> for JsObject"],["impl From<u8> for Opcode"],["impl From<IntegerOrInfinity> for IntegerOrNan"],["impl From<i32> for PropertyKey"],["impl From<WellKnown> for u8"],["impl From<u64> for JsBigInt"],["impl From<JsPromise> for JsObject"],["impl From<i64> for PropertyKey"],["impl From<i8> for Numeric"],["impl From<i16> for JsValue"],["impl From<i32> for Numeric"],["impl From<f64> for TypedArrayElement"],["impl From<JsInt32Array> for JsValue"],["impl From<JsBigInt> for JsValue"],["impl From<JsUint32Array> for JsObject"],["impl From<bool> for JsValue"],["impl From<i8> for JsValue"]], "boa_gc":[["impl<T: Trace> From<Ephemeron<T, ()>> for WeakGc<T>"]], "boa_interner":[["impl<'a, const N: usize> From<&'a [u16; N]> for JStrRef<'a>"],["impl<'a> From<&'a str> for JStrRef<'a>"],["impl<'a> From<&'a [u16]> for JStrRef<'a>"]], "boa_parser":[["impl From<Error> for Error"],["impl From<bool> for AllowYield"],["impl<R> From<R> for BufferedLexer<R>where\n R: Read,"],["impl From<BigInt> for Numeric"],["impl From<(Keyword, bool)> for TokenKind"],["impl From<Punctuator> for TokenKind"],["impl From<RegExpFlags> for Flags"],["impl From<bool> for AllowDefault"],["impl From<i32> for Numeric"],["impl From<Error> for Error"],["impl From<bool> for AllowReturn"],["impl From<f64> for Numeric"],["impl From<bool> for AllowIn"],["impl<R> From<Lexer<R>> for BufferedLexer<R>where\n R: Read,"],["impl From<bool> for TokenKind"],["impl From<bool> for AllowAwait"],["impl From<Numeric> for TokenKind"]],