Struct parity_wasm::builder::ExportBuilder
source · [−]pub struct ExportBuilder<F = Identity> { /* private fields */ }
Expand description
Export entry builder
Implementations
sourceimpl ExportBuilder
impl ExportBuilder
sourceimpl<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
sourceimpl<F> ExportBuilder<F> where
F: Invoke<ExportEntry>,
impl<F> ExportBuilder<F> where
F: Invoke<ExportEntry>,
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for ExportBuilder<F> where
F: RefUnwindSafe,
impl<F> Send for ExportBuilder<F> where
F: Send,
impl<F> Sync for ExportBuilder<F> where
F: Sync,
impl<F> Unpin for ExportBuilder<F> where
F: Unpin,
impl<F> UnwindSafe for ExportBuilder<F> where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more