Struct parity_wasm::builder::ExportBuilder [−][src]
Export entry builder
Implementations
impl ExportBuilder
[src]
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]
F: Invoke<ExportEntry>,
Auto Trait Implementations
impl<F> RefUnwindSafe for ExportBuilder<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for ExportBuilder<F> where
F: Send,
F: Send,
impl<F> Sync for ExportBuilder<F> where
F: Sync,
F: Sync,
impl<F> Unpin for ExportBuilder<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for ExportBuilder<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,