Struct sophon_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.

Trait Implementations

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

impl From<ModuleScaffold> for Module
[src]

[src]

Performs the conversion.