[][src]Struct wain_ast::Module

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: usizeid: 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

impl<'s> Clone for Module<'s>[src]

impl<'s> Debug for Module<'s>[src]

impl<'s> Default for Module<'s>[src]

impl<'s> PartialEq<Module<'s>> for Module<'s>[src]

impl<'s> StructuralPartialEq for Module<'s>[src]

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

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.