Struct cranelift_codegen::binemit::NullTrapSink [−][src]
pub struct NullTrapSink {}A TrapSink implementation that does nothing, which is convenient when
compiling code that does not rely on trapping semantics.
Trait Implementations
impl TrapSink for NullTrapSink[src]
impl TrapSink for NullTrapSinkfn trap(&mut self, _offset: CodeOffset, _srcloc: SourceLoc, _code: TrapCode)[src]
fn trap(&mut self, _offset: CodeOffset, _srcloc: SourceLoc, _code: TrapCode)Add trap information for a specific offset.
Auto Trait Implementations
impl Send for NullTrapSink
impl Send for NullTrapSinkimpl Sync for NullTrapSink
impl Sync for NullTrapSink