Struct wast::Event [−][src]
pub struct Event<'a> { pub span: Span, pub id: Option<Id<'a>>, pub exports: InlineExport<'a>, pub ty: EventType<'a>, pub kind: EventKind<'a>, }
Expand description
A WebAssembly event directive, part of the exception handling proposal.
Fields
span: Span
Where 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.
kind: EventKind<'a>
What kind of event this is defined as.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> UnwindSafe for Event<'a>