Struct parity_wasm::elements::Module [] [src]

pub struct Module { /* fields omitted */ }

WebAssembly module

Methods

impl Module
[src]

New module with sections

Destructure the module, yielding sections

Version of module.

Sections list. Each known section is optional and may appear at most once.

Sections list (mutable) Each known section is optional and may appear at most once.

Code section, if any.

Types section, if any.

Imports section, if any.

Globals section, if any.

Exports section, if any.

Table section, if any.

Data section, if any.

Element section, if any.

Memory section, if any.

Functions signatures section, if any.

Start section, if any.

Trait Implementations

impl Default for Module
[src]

Returns the "default value" for a type. Read more

impl Deserialize for Module
[src]

Serialization error produced by deserialization routine.

Deserialize type from serial i/o

impl Serialize for Module
[src]

Serialization error produced by serialization routine.

Serialize type to serial i/o

impl From<ModuleScaffold> for Module
[src]

Performs the conversion.