Struct wast::Wast[][src]

pub struct Wast<'a> {
    pub directives: Vec<WastDirective<'a>>,
}
Expand description

A parsed representation of a *.wast file.

WAST files are not officially specified but are used in the official test suite to write official spec tests for wasm. This type represents a parsed *.wast file which parses a list of directives in a file.

Fields

directives: Vec<WastDirective<'a>>

Trait Implementations

Attempts to parse Self from parser, returning an error if it could not be parsed. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.