Struct wast::Event [−][src]
pub struct Event<'a> {
pub span: Span,
pub id: Option<Id<'a>>,
pub exports: InlineExport<'a>,
pub ty: EventType<'a>,
}A WebAssembly event directive, part of the exception handling proposal.
Fields
span: SpanWhere this event was defined
id: Option<Id<'a>>An optional name by which to refer to this event in name resolution.
exports: InlineExport<'a>Optional export directives for this event.
ty: EventType<'a>The type of event that is defined.