Enum wast::DataKind [−][src]
pub enum DataKind<'a> {
Passive,
Active {
memory: ItemRef<'a, memory>,
offset: Expression<'a>,
},
}
Expand description
Different kinds of data segments, either passive or active.
Variants
A passive data segment which isn’t associated with a memory and is referenced from various instructions.
An active data segment which is associated and loaded into a particular memory on module instantiation.
Fields of Active
memory: ItemRef<'a, memory>
The memory that this Data
will be associated with.
offset: Expression<'a>
Initial offset to load this data segment at