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

pub struct Module { /* fields omitted */ }

WebAssembly module

Methods

impl Module
[src]

[src]

New module with sections

[src]

Destructure the module, yielding sections

[src]

Version of module.

[src]

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

[src]

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

[src]

Code section, if any.

[src]

Types section, if any.

[src]

Imports section, if any.

[src]

Globals section, if any.

[src]

Exports section, if any.

[src]

Table section, if any.

[src]

Data section, if any.

[src]

Element section, if any.

[src]

Memory section, if any.

[src]

Functions signatures section, if any.

[src]

Start section, if any.

[src]

Try to parse name section in place Corresponding custom section with proper header will convert to name sections If some of them will fail to be decoded, Err variant is returned with the list of (index, Error) tuples of failed sections.

[src]

Count imports by provided type

[src]

Query functions space

[src]

Query globals space

[src]

Query table space

[src]

Query memory space

Trait Implementations

impl Debug for Module
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Module
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Module
[src]

[src]

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

impl Deserialize for Module
[src]

Serialization error produced by deserialization routine.

[src]

Deserialize type from serial i/o

impl Serialize for Module
[src]

Serialization error produced by serialization routine.

[src]

Serialize type to serial i/o

Auto Trait Implementations

impl Send for Module

impl Sync for Module