Enum wast::ElemPayload [−][src]
pub enum ElemPayload<'a> { Indices(Vec<ItemRef<'a, func>>), Exprs { ty: RefType<'a>, exprs: Vec<Expression<'a>>, }, }
Expand description
Different ways to define the element segment payload in a module.
Variants
This element segment has a contiguous list of function indices
This element segment has a list of optional function indices,
represented as expressions using ref.func
and ref.null
.
Fields of Exprs
ty: RefType<'a>
The desired type of each expression below.
exprs: Vec<Expression<'a>>
The expressions in this segment.