pub struct WasiElementSegment {
pub name: Option<String>,
pub table_index: Option<u32>,
pub offset: Vec<WasiInstruction>,
pub elements: Vec<u32>,
}Expand description
元素段定义
Fields§
§name: Option<String>元素段名称(可选)
table_index: Option<u32>表索引(可选,默认为 0)
offset: Vec<WasiInstruction>偏移表达式
elements: Vec<u32>元素列表(函数索引)
Trait Implementations§
Source§impl Clone for WasiElementSegment
impl Clone for WasiElementSegment
Source§fn clone(&self) -> WasiElementSegment
fn clone(&self) -> WasiElementSegment
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 WasiElementSegment
impl RefUnwindSafe for WasiElementSegment
impl Send for WasiElementSegment
impl Sync for WasiElementSegment
impl Unpin for WasiElementSegment
impl UnsafeUnpin for WasiElementSegment
impl UnwindSafe for WasiElementSegment
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