pub enum ElementItems {
Functions(Vec<FunctionId>),
Expressions(RefType, Vec<ConstExpr>),
}Expand description
Represents the items of an element segment.
Variants§
Functions(Vec<FunctionId>)
This element contains function indices.
Expressions(RefType, Vec<ConstExpr>)
This element contains constant expressions used to initialize the table.
Trait Implementations§
Source§impl Clone for ElementItems
impl Clone for ElementItems
Source§fn clone(&self) -> ElementItems
fn clone(&self) -> ElementItems
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ElementItems
impl RefUnwindSafe for ElementItems
impl Send for ElementItems
impl Sync for ElementItems
impl Unpin for ElementItems
impl UnwindSafe for ElementItems
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