Enum wast::ElemPayload [−][src]
pub enum ElemPayload<'a> {
Indices(Vec<ItemRef<'a, func>>),
Exprs {
ty: RefType<'a>,
exprs: Vec<Option<ItemRef<'a, func>>>,
},
}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.
Show fields
Trait Implementations
impl<'a> Clone for ElemPayload<'a>[src]
impl<'a> Clone for ElemPayload<'a>[src]