Struct parity_wasm::builder::ExportBuilder
source · pub struct ExportBuilder<F = Identity> { /* private fields */ }
Expand description
Export entry builder
Implementations§
source§impl ExportBuilder
impl ExportBuilder
source§impl<F> ExportBuilder<F>
impl<F> ExportBuilder<F>
sourcepub fn with_callback(callback: F) -> Self
pub fn with_callback(callback: F) -> Self
New export entry builder in the specified chained context
sourcepub fn with_internal(self, external: Internal) -> Self
pub fn with_internal(self, external: Internal) -> Self
Specify the internal module mapping for this entry
sourcepub fn internal(self) -> ExportInternalBuilder<Self>
pub fn internal(self) -> ExportInternalBuilder<Self>
Start the internal builder for this export entry