pub struct Helpers { /* private fields */ }
Expand description

Tracks used helper methods. (e.g. __extends)

Implementations§

source§

impl Helpers

source

pub fn new(external: bool) -> Self

source

pub const fn mark(&self) -> Mark

source

pub const fn external(&self) -> bool

source§

impl Helpers

source

pub fn apply_decorated_descriptor(&self)

source

pub fn array_like_to_array(&self)

source

pub fn array_with_holes(&self)

source

pub fn array_without_holes(&self)

source

pub fn assert_this_initialized(&self)

source

pub fn async_generator(&self)

source

pub fn async_generator_delegate(&self)

source

pub fn async_iterator(&self)

source

pub fn async_to_generator(&self)

source

pub fn await_async_generator(&self)

source

pub fn await_value(&self)

source

pub fn check_private_redeclaration(&self)

source

pub fn class_apply_descriptor_destructure(&self)

source

pub fn class_apply_descriptor_get(&self)

source

pub fn class_apply_descriptor_set(&self)

source

pub fn class_apply_descriptor_update(&self)

source

pub fn class_call_check(&self)

source

pub fn class_check_private_static_field_descriptor(&self)

source

pub fn class_extract_field_descriptor(&self)

source

pub fn class_name_tdz_error(&self)

source

pub fn class_private_field_get(&self)

source

pub fn class_private_field_init(&self)

source

pub fn class_private_field_loose_base(&self)

source

pub fn class_private_field_loose_key(&self)

source

pub fn class_private_field_set(&self)

source

pub fn class_private_field_update(&self)

source

pub fn class_private_method_get(&self)

source

pub fn class_private_method_init(&self)

source

pub fn class_private_method_set(&self)

source

pub fn class_static_private_field_spec_get(&self)

source

pub fn class_static_private_field_spec_set(&self)

source

pub fn class_static_private_field_update(&self)

source

pub fn construct(&self)

source

pub fn create_class(&self)

source

pub fn decorate(&self)

source

pub fn defaults(&self)

source

pub fn define_enumerable_properties(&self)

source

pub fn define_property(&self)

source

pub fn export_star(&self)

source

pub fn extends(&self)

source

pub fn get(&self)

source

pub fn get_prototype_of(&self)

source

pub fn inherits(&self)

source

pub fn inherits_loose(&self)

source

pub fn initializer_define_property(&self)

source

pub fn initializer_warning_helper(&self)

source

pub fn instanceof(&self)

source

pub fn interop_require_default(&self)

source

pub fn interop_require_wildcard(&self)

source

pub fn is_native_function(&self)

source

pub fn iterable_to_array(&self)

source

pub fn iterable_to_array_limit(&self)

source

pub fn iterable_to_array_limit_loose(&self)

source

pub fn jsx(&self)

source

pub fn new_arrow_check(&self)

source

pub fn non_iterable_rest(&self)

source

pub fn non_iterable_spread(&self)

source

pub fn object_destructuring_empty(&self)

source

pub fn object_spread(&self)

source

pub fn object_spread_props(&self)

source

pub fn object_without_properties(&self)

source

pub fn object_without_properties_loose(&self)

source

pub fn possible_constructor_return(&self)

source

pub fn read_only_error(&self)

source

pub fn set(&self)

source

pub fn set_prototype_of(&self)

source

pub fn skip_first_generator_next(&self)

source

pub fn sliced_to_array(&self)

source

pub fn sliced_to_array_loose(&self)

source

pub fn super_prop_base(&self)

source

pub fn tagged_template_literal(&self)

source

pub fn tagged_template_literal_loose(&self)

source

pub fn throw(&self)

source

pub fn to_array(&self)

source

pub fn to_consumable_array(&self)

source

pub fn to_primitive(&self)

source

pub fn to_property_key(&self)

source

pub fn update(&self)

source

pub fn type_of(&self)

source

pub fn unsupported_iterable_to_array(&self)

source

pub fn wrap_async_generator(&self)

source

pub fn wrap_native_super(&self)

source

pub fn write_only_error(&self)

source

pub fn class_private_field_destructure(&self)

source

pub fn class_static_private_field_destructure(&self)

source

pub fn class_static_private_method_get(&self)

source

pub fn class_check_private_static_access(&self)

source

pub fn is_native_reflect_construct(&self)

source

pub fn create_super(&self)

source

pub fn create_for_of_iterator_helper_loose(&self)

source

pub fn ts_decorate(&self)

source

pub fn ts_generator(&self)

source

pub fn ts_metadata(&self)

source

pub fn ts_param(&self)

source

pub fn ts_values(&self)

source

pub fn apply_decs_2203_r(&self)

source

pub fn identity(&self)

source

pub fn dispose(&self)

source

pub fn using(&self)

source§

impl Helpers

source

pub fn extend_from(&self, other: &Self)

Trait Implementations§

source§

impl Debug for Helpers

source§

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

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

impl Default for Helpers

source§

fn default() -> Helpers

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

§

fn deserialize( &self, deserializer: &mut D ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Gets the layout of the type.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Pointee for T

§

type Metadata = ()

The type for metadata in pointers and references to Self.
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more