Struct tetsy_wasm::builder::ExportBuilder[][src]

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

Export entry builder

Implementations

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(mut self: Self, field: &str) -> Self[src]

Set the field name of the export entry

pub fn with_internal(mut self: 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> RefUnwindSafe for ExportBuilder<F> where
    F: RefUnwindSafe
[src]

impl<F> Send for ExportBuilder<F> where
    F: Send
[src]

impl<F> Sync for ExportBuilder<F> where
    F: Sync
[src]

impl<F> Unpin for ExportBuilder<F> where
    F: Unpin
[src]

impl<F> UnwindSafe for ExportBuilder<F> where
    F: UnwindSafe
[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.