[][src]Enum wat_ast::Section

pub enum Section<'a> {
    Type(TypeSection<'a>),
    Import(ImportSection<'a>),
    Function(FunctionSection<'a>),
    Memory(MemorySection<'a>),
    Global(GlobalSection<'a>),
    Data(DataSection<'a>),
}

https://webassembly.github.io/spec/core/text/modules.html#text-module

Variants

Type(TypeSection<'a>)
Import(ImportSection<'a>)
Function(FunctionSection<'a>)
Memory(MemorySection<'a>)
Global(GlobalSection<'a>)
Data(DataSection<'a>)

Trait Implementations

impl<'a> Clone for Section<'a>[src]

impl<'a> Debug for Section<'a>[src]

impl<'a> Eq for Section<'a>[src]

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

impl<'a> PartialEq<Section<'a>> for Section<'a>[src]

impl<'a> StructuralEq for Section<'a>[src]

impl<'a> StructuralPartialEq for Section<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Section<'a>

impl<'a> Send for Section<'a>

impl<'a> Sync for Section<'a>

impl<'a> Unpin for Section<'a>

impl<'a> UnwindSafe for Section<'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> 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.