Struct cranelift_codegen::binemit::NullRelocSink [−][src]
A RelocSink implementation that does nothing, which is convenient when
compiling code that does not relocate anything.
Trait Implementations
impl Default for NullRelocSink[src]
fn default() -> NullRelocSink[src]
impl RelocSink for NullRelocSink[src]
fn reloc_external(
&mut self,
_: CodeOffset,
_: SourceLoc,
_: Reloc,
_: &ExternalName,
_: Addend
)[src]
&mut self,
_: CodeOffset,
_: SourceLoc,
_: Reloc,
_: &ExternalName,
_: Addend
)
fn reloc_constant(&mut self, _: CodeOffset, _: Reloc, _: ConstantOffset)[src]
fn reloc_jt(&mut self, _: CodeOffset, _: Reloc, _: JumpTable)[src]
fn add_call_site(&mut self, _: Opcode, _: CodeOffset, _: SourceLoc)[src]
Auto Trait Implementations
impl RefUnwindSafe for NullRelocSink
impl Send for NullRelocSink
impl Sync for NullRelocSink
impl Unpin for NullRelocSink
impl UnwindSafe for NullRelocSink
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,