Struct pwasm_utils::Module [−][src]
pub struct Module {
pub types: RefList<Type>,
pub funcs: RefList<Func>,
pub memory: RefList<Memory>,
pub tables: RefList<Table>,
pub globals: RefList<Global>,
pub start: Option<EntryRef<Func>>,
pub exports: Vec<Export>,
pub elements: Vec<ElementSegment>,
pub data: Vec<DataSegment>,
pub other: BTreeMap<usize, Section>,
}
Expand description
Module
Fields
types: RefList<Type>
Refence-tracking list of types.
funcs: RefList<Func>
Refence-tracking list of funcs.
memory: RefList<Memory>
Refence-tracking list of memory instances.
tables: RefList<Table>
Refence-tracking list of table instances.
globals: RefList<Global>
Refence-tracking list of globals.
start: Option<EntryRef<Func>>
Reference to start function.
exports: Vec<Export>
References to exported objects.
elements: Vec<ElementSegment>
List of element segments.
data: Vec<DataSegment>
List of data segments.
other: BTreeMap<usize, Section>
Other module functions that are not decoded or processed.