Struct parity_wasm::builder::ExportBuilder [−][src]
pub struct ExportBuilder<F = Identity> { /* fields omitted */ }
Export entry builder
Methods
impl ExportBuilder
[src]
impl ExportBuilder
impl<F> ExportBuilder<F>
[src]
impl<F> ExportBuilder<F>
pub fn with_callback(callback: F) -> Self
[src]
pub fn with_callback(callback: F) -> Self
New export entry builder in the specified chained context
pub fn field(self, field: &str) -> Self
[src]
pub fn field(self, field: &str) -> Self
Set the field name of the export entry
pub fn with_internal(self, external: Internal) -> Self
[src]
pub fn with_internal(self, external: Internal) -> Self
Specify the internal module mapping for this entry
pub fn internal(self) -> ExportInternalBuilder<Self>
[src]
pub fn internal(self) -> ExportInternalBuilder<Self>
Start the internal builder for this export entry
impl<F> ExportBuilder<F> where
F: Invoke<ExportEntry>,
[src]
impl<F> ExportBuilder<F> where
F: Invoke<ExportEntry>,
Auto Trait Implementations
impl<F> Send for ExportBuilder<F> where
F: Send,
impl<F> Send for ExportBuilder<F> where
F: Send,
impl<F> Sync for ExportBuilder<F> where
F: Sync,
impl<F> Sync for ExportBuilder<F> where
F: Sync,