[][src]Struct wit_text::Module

pub struct Module<'a> {
    pub core: Module<'a>,
    pub adapters: Vec<Adapter<'a>>,

A WebAssembly interface types-enhanced module.


core: Module<'a>

The core WebAssembly module which doesn't use interface types.

adapters: Vec<Adapter<'a>>

The various @interface adapter directives representing the wasm interface types of this module.


impl<'_> Module<'_>[src]

pub fn encode(&mut self) -> Result<Vec<u8>, Error>[src]

Encodes this Module into its binary form.

Trait Implementations

impl<'a> Parse<'a> for Module<'a>[src]

Auto Trait Implementations

impl<'a> Send for Module<'a>

impl<'a> Sync for Module<'a>

impl<'a> Unpin for Module<'a>

impl<'a> UnwindSafe for Module<'a>

impl<'a> RefUnwindSafe for Module<'a>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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