Struct swc_plugin_shared::JsTransform_TO[][src]

#[repr(transparent)]
pub struct JsTransform_TO<'lt, _ErasedPtr> where
    _ErasedPtr: __GetPointerKind
{ pub obj: JsTransform_Backend<'lt, _ErasedPtr>, // some fields omitted }
Expand description

The trait object for JsTransform.

There are extra methods on the obj field.

Fields

obj: JsTransform_Backend<'lt, _ErasedPtr>

Implementations

Constructs this trait object from a pointer to a type that implements JsTransform.

unerasability describes whether the trait object can be converted back into the original type or not.
Its possible values are TU_Unerasable and TU_Opaque.

Constructs this trait object from its underlying implementation.

Reborrows this trait object to a reference-based trait object.

Reborrows this trait object to a mutable-reference-based trait object.

Constructs this trait from a type that implements JsTransform.

unerasability describes whether the trait object can be converted back into the original type or not.
Its possible values are TU_Unerasable and TU_Opaque.

Constructs this trait from a constant of a type that implements JsTransform.

You can construct the vtable_for parameter with JsTransform_MV::VTABLE.

unerasability describes whether the trait object can be converted back into the original type or not.
Its possible values are TU_Unerasable and TU_Opaque.

This is the inherent equivalent of the trait method of the same name

Trait Implementations

Should return ast as json string,

Whether this type has a single invalid bit-pattern. Read more

The layout of the type provided by implementors.

const-equivalents of the associated types.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

This is always WithMetadata_<Self, Self>

Performs the conversion.

Represents Self by using a VariantPhantom, using the syntax Type::T to pass it in methods with _:VariantPhantom<T> parameters. Read more

Represents Self by using a VariantDropPhantom,for specialized cases. Read more

Asserts that other is the same type as self.

Asserts that other is the same type as self.

Asserts that other is the same type as self.

Equivalent to SelfOps::T,as a method. Read more

Equivalent to [Self::ty_],for specialized cases. Read more

Equivalent to [Self::ty_] with an invariant type.

Equivalent to [Self::ty_] with an invariant lifetime.

Identity comparison to another value of the same type. Read more

Emulates the pipeline operator,allowing method syntax in more places. Read more

The same as piped except that the function takes &Self Useful for functions that take &Self instead of Self. Read more

The same as piped except that the function takes &mut Self. Useful for functions that take &mut Self instead of Self. Read more

Mutates self using a closure taking self by mutable reference, passing it along the method chain. Read more

Observes the value of self passing it along unmodified. Useful in a long method chain. Read more

Performs a conversion using Into. Read more

Performs a reference to reference conversion using AsRef, using the turbofish .as_ref_::<_>() syntax. Read more

Performs a mutable reference to mutable reference conversion using AsMut, using the turbofish .as_mut_::<_>() syntax. Read more

Drops self using method notation. Alternative to std::mem::drop. Read more

Transmutes the element type of this pointer.. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The error type returned when the conversion fails.

Performs the conversion

The same type as Self. Read more

Converts a value back to the original type.

Converts a reference back to the original type.

Converts a mutable reference back to the original type.

Converts a box back to the original type.

Converts an Arc back to the original type.

Converts an Rc back to the original type.

Converts a value back to the original type.

Converts a reference back to the original type.

Converts a mutable reference back to the original type.

Converts a box back to the original type.

Converts an Arc back to the original type.

Converts an Rc back to the original type.