Struct wast::Wat[][src]

pub struct Wat<'a> {
    pub module: Module<'a>,
}

A *.wat file parser, or a parser for one parenthesized module.

This is the top-level type which you'll frequently parse when working with this crate. A *.wat file is either one module s-expression or a sequence of s-expressions that are module fields.

Fields

module: Module<'a>

Trait Implementations

impl<'a> Parse<'a> for Wat<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Wat<'a>[src]

impl<'a> Send for Wat<'a>[src]

impl<'a> Sync for Wat<'a>[src]

impl<'a> Unpin for Wat<'a>[src]

impl<'a> UnwindSafe for Wat<'a>[src]

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.