Struct cranelift_codegen::machinst::buffer::MachSrcLoc[][src]

pub struct MachSrcLoc {
    pub start: CodeOffset,
    pub end: CodeOffset,
    pub loc: SourceLoc,
}

A source-location mapping resulting from a compilation.

Fields

start: CodeOffset

The start of the region of code corresponding to a source location. This is relative to the start of the function, not to the start of the section.

end: CodeOffset

The end of the region of code corresponding to a source location. This is relative to the start of the section, not to the start of the section.

loc: SourceLoc

The source location.

Trait Implementations

impl Clone for MachSrcLoc[src]

impl Debug for MachSrcLoc[src]

Auto Trait Implementations

impl RefUnwindSafe for MachSrcLoc

impl Send for MachSrcLoc

impl Sync for MachSrcLoc

impl Unpin for MachSrcLoc

impl UnwindSafe for MachSrcLoc

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.