Enum wast::ElemKind [−][src]
pub enum ElemKind<'a> {
Passive,
Declared,
Active {
table: ItemRef<'a, table>,
offset: Expression<'a>,
},
}
Expand description
Different ways to define an element segment in an mdoule.
Variants
A passive segment that isn’t associated with a table and can be used in various bulk-memory instructions.
A declared element segment that is purely used to declare function references.
An active segment associated with a table.
Fields of Active
table: ItemRef<'a, table>
The table this elem
is initializing.
offset: Expression<'a>
The offset within table
that we’ll initialize at.