Trait cretonne_codegen::binemit::TrapSink[][src]

pub trait TrapSink {
    fn trap(&mut self, _: CodeOffset, _: SourceLoc, _: TrapCode);
}

A trait for receiving trap codes and offsets.

If you don't need information about possible traps, you can use the NullTrapSink implementation.

Required Methods

Add trap information for a specific offset.

Implementors