[][src]Struct wain_ast::Module

pub struct Module<'a> {
    pub start: usize,
    pub id: Option<&'a str>,
    pub types: Vec<FuncType>,
    pub exports: Vec<Export<'a>>,
    pub funcs: Vec<Func<'a>>,
    pub elems: Vec<ElemSegment>,
    pub tables: Vec<Table<'a>>,
    pub data: Vec<DataSegment<'a>>,
    pub memories: Vec<Memory<'a>>,
    pub globals: Vec<Global<'a>>,
    pub entrypoint: Option<StartFunction>,
}

Fields

start: usizeid: Option<&'a str>types: Vec<FuncType>exports: Vec<Export<'a>>funcs: Vec<Func<'a>>elems: Vec<ElemSegment>tables: Vec<Table<'a>>data: Vec<DataSegment<'a>>memories: Vec<Memory<'a>>globals: Vec<Global<'a>>entrypoint: Option<StartFunction>

Auto Trait Implementations

impl<'a> RefUnwindSafe for Module<'a>

impl<'a> Send for Module<'a>

impl<'a> Sync for Module<'a>

impl<'a> Unpin for Module<'a>

impl<'a> UnwindSafe for Module<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.