Module prelude

Module prelude 

Source

Re-exports§

pub use crate::primitives::Primitive;
pub use crate::types::CustomType;
pub use crate::types::Type;
pub use crate::types::TypeIdent;
pub use crate::types::TypeMap;
pub use crate::BindingConfig;
pub use crate::BindingsType;
pub use crate::RustPluginConfig;
pub use crate::RustPluginConfigValue;
pub use crate::TsRuntimeConfig;

Macros§

fp_bindgen
Generates bindings for the functions declared in the fp_import!{} and fp_export!{} blocks.
fp_export
Declares functions the plugin may export to the host runtime.
fp_import
Declares functions the plugin can import from the host runtime.

Structs§

Function
FunctionList
Maps from function name to the stringified function declaration.

Traits§

Serializable

Attribute Macros§

fp_export_impl
Exports an implementation of a specific provider function
fp_export_signature
Exports a signature in a provider crate. This is not meant to be used directly.
fp_import_signature
Imports a signature in a provider crate. This is not meant to be used directly.

Derive Macros§

Serializable
Used to annotate types (enums and structs) that can be passed across the Wasm bridge.