Struct boa_engine::context::intrinsics::StandardConstructors
source · pub struct StandardConstructors { /* private fields */ }
Expand description
Cached core standard constructors.
Implementations§
source§impl StandardConstructors
impl StandardConstructors
sourcepub const fn async_generator_function(&self) -> &StandardConstructor
pub const fn async_generator_function(&self) -> &StandardConstructor
sourcepub const fn object(&self) -> &StandardConstructor
pub const fn object(&self) -> &StandardConstructor
sourcepub const fn proxy(&self) -> &StandardConstructor
pub const fn proxy(&self) -> &StandardConstructor
sourcepub const fn date(&self) -> &StandardConstructor
pub const fn date(&self) -> &StandardConstructor
sourcepub const fn function(&self) -> &StandardConstructor
pub const fn function(&self) -> &StandardConstructor
sourcepub const fn async_function(&self) -> &StandardConstructor
pub const fn async_function(&self) -> &StandardConstructor
sourcepub const fn generator_function(&self) -> &StandardConstructor
pub const fn generator_function(&self) -> &StandardConstructor
sourcepub const fn array(&self) -> &StandardConstructor
pub const fn array(&self) -> &StandardConstructor
sourcepub const fn bigint(&self) -> &StandardConstructor
pub const fn bigint(&self) -> &StandardConstructor
sourcepub const fn number(&self) -> &StandardConstructor
pub const fn number(&self) -> &StandardConstructor
sourcepub const fn boolean(&self) -> &StandardConstructor
pub const fn boolean(&self) -> &StandardConstructor
sourcepub const fn string(&self) -> &StandardConstructor
pub const fn string(&self) -> &StandardConstructor
sourcepub const fn regexp(&self) -> &StandardConstructor
pub const fn regexp(&self) -> &StandardConstructor
sourcepub const fn symbol(&self) -> &StandardConstructor
pub const fn symbol(&self) -> &StandardConstructor
sourcepub const fn error(&self) -> &StandardConstructor
pub const fn error(&self) -> &StandardConstructor
sourcepub const fn reference_error(&self) -> &StandardConstructor
pub const fn reference_error(&self) -> &StandardConstructor
sourcepub const fn type_error(&self) -> &StandardConstructor
pub const fn type_error(&self) -> &StandardConstructor
sourcepub const fn range_error(&self) -> &StandardConstructor
pub const fn range_error(&self) -> &StandardConstructor
sourcepub const fn syntax_error(&self) -> &StandardConstructor
pub const fn syntax_error(&self) -> &StandardConstructor
sourcepub const fn eval_error(&self) -> &StandardConstructor
pub const fn eval_error(&self) -> &StandardConstructor
sourcepub const fn uri_error(&self) -> &StandardConstructor
pub const fn uri_error(&self) -> &StandardConstructor
sourcepub const fn aggregate_error(&self) -> &StandardConstructor
pub const fn aggregate_error(&self) -> &StandardConstructor
sourcepub const fn map(&self) -> &StandardConstructor
pub const fn map(&self) -> &StandardConstructor
sourcepub const fn set(&self) -> &StandardConstructor
pub const fn set(&self) -> &StandardConstructor
sourcepub const fn typed_array(&self) -> &StandardConstructor
pub const fn typed_array(&self) -> &StandardConstructor
sourcepub const fn typed_int8_array(&self) -> &StandardConstructor
pub const fn typed_int8_array(&self) -> &StandardConstructor
sourcepub const fn typed_uint8_array(&self) -> &StandardConstructor
pub const fn typed_uint8_array(&self) -> &StandardConstructor
sourcepub const fn typed_uint8clamped_array(&self) -> &StandardConstructor
pub const fn typed_uint8clamped_array(&self) -> &StandardConstructor
sourcepub const fn typed_int16_array(&self) -> &StandardConstructor
pub const fn typed_int16_array(&self) -> &StandardConstructor
sourcepub const fn typed_uint16_array(&self) -> &StandardConstructor
pub const fn typed_uint16_array(&self) -> &StandardConstructor
sourcepub const fn typed_uint32_array(&self) -> &StandardConstructor
pub const fn typed_uint32_array(&self) -> &StandardConstructor
sourcepub const fn typed_int32_array(&self) -> &StandardConstructor
pub const fn typed_int32_array(&self) -> &StandardConstructor
sourcepub const fn typed_bigint64_array(&self) -> &StandardConstructor
pub const fn typed_bigint64_array(&self) -> &StandardConstructor
sourcepub const fn typed_biguint64_array(&self) -> &StandardConstructor
pub const fn typed_biguint64_array(&self) -> &StandardConstructor
sourcepub const fn typed_float32_array(&self) -> &StandardConstructor
pub const fn typed_float32_array(&self) -> &StandardConstructor
sourcepub const fn typed_float64_array(&self) -> &StandardConstructor
pub const fn typed_float64_array(&self) -> &StandardConstructor
sourcepub const fn array_buffer(&self) -> &StandardConstructor
pub const fn array_buffer(&self) -> &StandardConstructor
sourcepub const fn data_view(&self) -> &StandardConstructor
pub const fn data_view(&self) -> &StandardConstructor
sourcepub const fn date_time_format(&self) -> &StandardConstructor
pub const fn date_time_format(&self) -> &StandardConstructor
sourcepub const fn promise(&self) -> &StandardConstructor
pub const fn promise(&self) -> &StandardConstructor
sourcepub const fn weak_ref(&self) -> &StandardConstructor
pub const fn weak_ref(&self) -> &StandardConstructor
sourcepub const fn weak_map(&self) -> &StandardConstructor
pub const fn weak_map(&self) -> &StandardConstructor
sourcepub const fn weak_set(&self) -> &StandardConstructor
pub const fn weak_set(&self) -> &StandardConstructor
Trait Implementations§
source§impl Debug for StandardConstructors
impl Debug for StandardConstructors
source§impl Default for StandardConstructors
impl Default for StandardConstructors
source§impl Drop for StandardConstructors
impl Drop for StandardConstructors
source§impl Trace for StandardConstructors
impl Trace for StandardConstructors
source§unsafe fn trace_non_roots(&self)
unsafe fn trace_non_roots(&self)
Trace handles located in GC heap, and mark them as non root. Read more
source§fn run_finalizer(&self)
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: 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
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
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 moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.