Enum wast::ElemPayload [−][src]
pub enum ElemPayload<'a> { Indices(Vec<ItemRef<'a, func>>), Exprs { ty: RefType<'a>, exprs: Vec<Option<ItemRef<'a, func>>>, }, }
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
.
Show fields
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ElemPayload<'a>
impl<'a> Send for ElemPayload<'a>
impl<'a> Sync for ElemPayload<'a>
impl<'a> Unpin for ElemPayload<'a>
impl<'a> UnwindSafe for ElemPayload<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more