[−][src]Struct pdb::LineProgram
The LineProgram
provides access to source line information for a module and its procedures.
Methods
impl<'a> LineProgram<'a>
[src]
pub fn lines(&self) -> LineIterator
[src]
Returns an iterator over all line information records of this module.
Note that line records are not guaranteed to be ordered by source code offset. If a
monotonic order by PdbInternalSectionOffset
or Rva
is required, the lines have to be
sorted manually.
pub fn lines_at_offset(&self, offset: PdbInternalSectionOffset) -> LineIterator
[src]
Returns an iterator over line records for the given section offset.
This does not work with any arbitrary section offset. The iterator only returns lines if the section offset is the start of a line block. This is true for procedure or symbol offsets that specify line information. For all other offsets, the iterator will be empty.
Note that line records are not guaranteed to be ordered by source code offset. If a
monotonic order by PdbInternalSectionOffset
or Rva
is required, the lines have to be
sorted manually.
pub fn get_file_info(&self, offset: FileIndex) -> Result<FileInfo<'a>>
[src]
Looks up file information for the specified file.
Auto Trait Implementations
impl<'a> Send for LineProgram<'a>
impl<'a> Sync for LineProgram<'a>
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,