pub enum Event<'a, 'b> {
Internal(InternalEvent),
Wasm(&'b Operator<'a>),
WasmOwned(Operator<'a>),
}
Expand description
An event generated during parsing of a wasm binary
Variants§
Internal(InternalEvent)
An internal event created by the parser used to provide hooks during code generation.
Wasm(&'b Operator<'a>)
An event generated by parsing a wasm operator
WasmOwned(Operator<'a>)
An event generated by parsing a wasm operator that contains an owned Operator
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for Event<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for Event<'a, 'b>
impl<'a, 'b> Send for Event<'a, 'b>
impl<'a, 'b> Sync for Event<'a, 'b>
impl<'a, 'b> Unpin for Event<'a, 'b>
impl<'a, 'b> !UnwindSafe for Event<'a, 'b>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more