[][src]Struct pdb::LineInfo

pub struct LineInfo {
    pub offset: PdbInternalSectionOffset,
    pub file_index: FileIndex,
    pub line_start: u32,
    pub line_end: u32,
    pub column_start: Option<u16>,
    pub column_end: Option<u16>,
    pub kind: LineInfoKind,
}

Mapping of a source code offset to a source file location.

A line entry is always valid up to the subsequent entry.

Fields

offset: PdbInternalSectionOffset

Source code offset.

file_index: FileIndex

Index of the source file in this module.

line_start: u32

Line number of the start of the covered range.

line_end: u32

Line number of the end of the covered range.

column_start: Option<u16>

Column number of the start of the covered range.

This value is only present if column information is provided by the PDB. Even then, it is often zero.

column_end: Option<u16>

Column number of the end of the covered range.

This value is only present if column information is provided by the PDB. Even then, it is often zero.

kind: LineInfoKind

Kind of this line information.

Trait Implementations

impl Clone for LineInfo[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LineInfo[src]

Auto Trait Implementations

impl Send for LineInfo

impl Sync for LineInfo

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.