[][src]Struct cranelift_codegen::machinst::sections::MachReloc

pub struct MachReloc {
    pub offset: CodeOffset,
    pub srcloc: SourceLoc,
    pub kind: Reloc,
    pub name: ExternalName,
    pub addend: i64,
}

A relocation resulting from a compilation.

Fields

offset: CodeOffset

The offset at which the relocation applies, relative to the containing section.

srcloc: SourceLoc

The original source location.

kind: Reloc

The kind of relocation.

name: ExternalName

The external symbol / name to which this relocation refers.

addend: i64

The addend to add to the symbol value.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.