[][src]Struct wast::Memory

pub struct Memory<'a> {
    pub span: Span,
    pub name: Option<Id<'a>>,
    pub exports: InlineExport<'a>,
    pub kind: MemoryKind<'a>,
}

A defined WebAssembly memory instance inside of a module.

Fields

span: Span

Where this memory was defined

name: Option<Id<'a>>

An optional name to refer to this memory by.

exports: InlineExport<'a>

If present, inline export annotations which indicate names this definition should be exported under.

kind: MemoryKind<'a>

How this memory is defined in the module.

Trait Implementations

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

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

Auto Trait Implementations

impl<'a> Send for Memory<'a>

impl<'a> Sync for Memory<'a>

impl<'a> Unpin for Memory<'a>

impl<'a> UnwindSafe for Memory<'a>

impl<'a> RefUnwindSafe for Memory<'a>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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