pub struct Module {
pub unknown: Option<String>,
pub types: Option<Vec<FuncType>>,
pub imports: Option<Vec<ImportEntry>>,
pub functions: Option<Vec<Function>>,
pub tables: Option<Vec<TableType>>,
pub memories: Option<Vec<MemoryType>>,
pub globals: Option<Vec<GlobalVariable>>,
pub exports: Option<Vec<ExportEntry>>,
pub start: Option<FunctionIndex>,
pub elements: Option<Vec<ElemSegment>>,
pub codes: Option<Vec<FunctionBody>>,
pub data: Option<Vec<DataSegment>>,
}
Fields§
§unknown: Option<String>
§types: Option<Vec<FuncType>>
§imports: Option<Vec<ImportEntry>>
§functions: Option<Vec<Function>>
§tables: Option<Vec<TableType>>
§memories: Option<Vec<MemoryType>>
§globals: Option<Vec<GlobalVariable>>
§exports: Option<Vec<ExportEntry>>
§start: Option<FunctionIndex>
§elements: Option<Vec<ElemSegment>>
§codes: Option<Vec<FunctionBody>>
§data: Option<Vec<DataSegment>>
Implementations§
Source§impl Module
impl Module
pub fn function_index_of( &self, i: ImportIndex, ) -> Result<FunctionSpaceIndex, ImportIndex>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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