Enum wast::AliasSource[][src]

pub enum AliasSource<'a> {
    InstanceExport {
        instance: ItemRef<'a, instance>,
        export: &'a str,
    },
    Outer {
        module: Index<'a>,
        index: Index<'a>,
    },
}

Variants

InstanceExport

Fields of InstanceExport

instance: ItemRef<'a, instance>export: &'a str
Outer

Fields of Outer

module: Index<'a>

The index of the module that this reference is referring to.

index: Index<'a>

The index of the item within module that this alias is referering to.

Trait Implementations

Formats the value using the given formatter. 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.