Struct wain_ast::ElemSegment
source · pub struct ElemSegment {
pub start: usize,
pub idx: TableIdx,
pub offset: Vec<Instruction>,
pub init: Vec<FuncIdx>,
}
Fields§
§start: usize
§idx: TableIdx
§offset: Vec<Instruction>
§init: Vec<FuncIdx>
Trait Implementations§
source§impl Clone for ElemSegment
impl Clone for ElemSegment
source§fn clone(&self) -> ElemSegment
fn clone(&self) -> ElemSegment
Returns a copy 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 moresource§impl Debug for ElemSegment
impl Debug for ElemSegment
source§impl PartialEq for ElemSegment
impl PartialEq for ElemSegment
source§fn eq(&self, other: &ElemSegment) -> bool
fn eq(&self, other: &ElemSegment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ElemSegment
Auto Trait Implementations§
impl RefUnwindSafe for ElemSegment
impl Send for ElemSegment
impl Sync for ElemSegment
impl Unpin for ElemSegment
impl UnwindSafe for ElemSegment
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