Enum wast::MemoryKind [−][src]
pub enum MemoryKind<'a> {
Import {
import: InlineImport<'a>,
ty: MemoryType,
},
Normal(MemoryType),
Inline {
is_32: bool,
data: Vec<DataVal<'a>>,
},
}
Expand description
Different syntactical ways a memory can be defined in a module.
Variants
This memory is actually an inlined import definition.
Fields of Import
import: InlineImport<'a>
ty: MemoryType
Normal(MemoryType)
A typical memory definition which simply says the limits of the memory
Tuple Fields of Normal
0: MemoryType
The data of this memory, starting from 0, explicitly listed