pub struct Module<'s> {
pub start: usize,
pub id: Option<&'s str>,
pub types: Vec<FuncType>,
pub exports: Vec<Export<'s>>,
pub funcs: Vec<Func<'s>>,
pub elems: Vec<ElemSegment>,
pub tables: Vec<Table<'s>>,
pub data: Vec<DataSegment<'s>>,
pub memories: Vec<Memory<'s>>,
pub globals: Vec<Global<'s>>,
pub entrypoint: Option<StartFunction>,
}
Fields§
§start: usize
§id: Option<&'s str>
§types: Vec<FuncType>
§exports: Vec<Export<'s>>
§funcs: Vec<Func<'s>>
§elems: Vec<ElemSegment>
§tables: Vec<Table<'s>>
§data: Vec<DataSegment<'s>>
§memories: Vec<Memory<'s>>
§globals: Vec<Global<'s>>
§entrypoint: Option<StartFunction>
Trait Implementations§
source§impl<'s> PartialEq for Module<'s>
impl<'s> PartialEq for Module<'s>
impl<'s> StructuralPartialEq for Module<'s>
Auto Trait Implementations§
impl<'s> RefUnwindSafe for Module<'s>
impl<'s> Send for Module<'s>
impl<'s> Sync for Module<'s>
impl<'s> Unpin for Module<'s>
impl<'s> UnwindSafe for Module<'s>
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