[][src]Struct parity_wasm::builder::ExportBuilder

pub struct ExportBuilder<F = Identity> { /* fields omitted */ }

Export entry builder

Methods

impl ExportBuilder[src]

pub fn new() -> Self[src]

New export builder

impl<F> ExportBuilder<F>[src]

pub fn with_callback(callback: F) -> Self[src]

New export entry builder in the specified chained context

pub fn field(self, field: &str) -> Self[src]

Set the field name of the export entry

pub fn with_internal(self, external: Internal) -> Self[src]

Specify the internal module mapping for this entry

pub fn internal(self) -> ExportInternalBuilder<Self>[src]

Start the internal builder for this export entry

impl<F> ExportBuilder<F> where
    F: Invoke<ExportEntry>, 
[src]

pub fn build(self) -> F::Result[src]

Finalize export entry builder spawning the resulting struct

Auto Trait Implementations

impl<F> Send for ExportBuilder<F> where
    F: Send

impl<F> Sync for ExportBuilder<F> where
    F: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.