[][src]Struct wast::Elem

pub struct Elem<'a> {
    pub span: Span,
    pub name: Option<Id<'a>>,
    pub kind: ElemKind<'a>,
    pub payload: ElemPayload<'a>,
    // some fields omitted
}

An elem segment in a WebAssembly module.

Fields

span: Span

Where this elem was defined.

name: Option<Id<'a>>

An optional name by which to refer to this segment.

kind: ElemKind<'a>

The way this segment was defined in the module.

payload: ElemPayload<'a>

The payload of this element segment, typically a list of functions.

Trait Implementations

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Elem<'a>

impl<'a> Send for Elem<'a>

impl<'a> Sync for Elem<'a>

impl<'a> Unpin for Elem<'a>

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