pub struct Module {Show 13 fields
pub type_section: Option<Vec<FuncType>>,
pub import_section: Option<Vec<Import>>,
pub function_section: Option<Vec<u32>>,
pub table_section: Option<Table>,
pub memory_section: Option<MemoryType>,
pub global_section: Option<Vec<Global>>,
pub export_section: Option<Vec<Export>>,
pub start_section: Option<u32>,
pub element_section: Option<Vec<Element>>,
pub code_section: Option<Vec<Function>>,
pub data_section: Option<Vec<Data>>,
pub name_section: Option<Vec<Name>>,
pub custom_sections: Option<Vec<(Cow<'static, str>, Vec<u8>)>>,
}
Fields§
§type_section: Option<Vec<FuncType>>
§import_section: Option<Vec<Import>>
§function_section: Option<Vec<u32>>
§table_section: Option<Table>
§memory_section: Option<MemoryType>
§global_section: Option<Vec<Global>>
§export_section: Option<Vec<Export>>
§start_section: Option<u32>
§element_section: Option<Vec<Element>>
§code_section: Option<Vec<Function>>
§data_section: Option<Vec<Data>>
§name_section: Option<Vec<Name>>
§custom_sections: Option<Vec<(Cow<'static, str>, Vec<u8>)>>
Implementations§
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