Struct wast::ItemSig[][src]

pub struct ItemSig<'a> {
    pub span: Span,
    pub id: Option<Id<'a>>,
    pub name: Option<NameAnnotation<'a>>,
    pub kind: ItemKind<'a>,
}

Fields

span: Span

Where this item is defined in the source.

id: Option<Id<'a>>

An optional identifier used during name resolution to refer to this item from the rest of the module.

name: Option<NameAnnotation<'a>>

An optional name which, for functions, will be stored in the custom name section.

kind: ItemKind<'a>

What kind of item this is.

Trait Implementations

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for ItemSig<'a>

impl<'a> Send for ItemSig<'a>

impl<'a> Sync for ItemSig<'a>

impl<'a> Unpin for ItemSig<'a>

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