Struct wast::InstanceArg[][src]

pub struct InstanceArg<'a> {
    pub name: &'a str,
    pub index: ItemRef<'a, ExportKind>,
}
Expand description

Arguments to the instantiate instruction

Fields

name: &'a strindex: ItemRef<'a, ExportKind>

Trait Implementations

Formats the value using the given formatter. Read more

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.