Struct swc_plugin_shared::SwcPlugin_Prefix[][src]

#[repr(C)]
pub struct SwcPlugin_Prefix { pub get_js_ast_version: extern "C" fn() -> RString, pub new_js_transform: extern "C" fn() -> JsTransformBox, // some fields omitted }
Expand description

This is the prefix fields of SwcPlugin, accessible through SwcPluginRef, with .0.prefix().

This is automatically generated documentation,by the StableAbi derive macro.

Fields

get_js_ast_version: extern "C" fn() -> RStringnew_js_transform: extern "C" fn() -> JsTransformBox

Trait Implementations

Whether this type has a single invalid bit-pattern.

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.