Enum wasmparser::ElementItem
source · pub enum ElementItem<'a> {
Func(u32),
Expr(ConstExpr<'a>),
}
Expand description
Represents an individual item of an element segment.
Variants§
Func(u32)
The item is a function index.
Expr(ConstExpr<'a>)
The item is an initialization expression.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ElementItem<'a>
impl<'a> Send for ElementItem<'a>
impl<'a> Sync for ElementItem<'a>
impl<'a> Unpin for ElementItem<'a>
impl<'a> UnwindSafe for ElementItem<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more