Struct pdb::ModuleInfo[][src]

pub struct ModuleInfo<'s> { /* fields omitted */ }

This struct contains data about a single module from its module info stream.

The module info stream is where private symbols and line info is stored.

Implementations

impl<'s> ModuleInfo<'s>[src]

pub fn symbols(&self) -> Result<SymbolIter<'_>>[src]

Get an iterator over the all symbols in this module.

pub fn symbols_at(&self, index: SymbolIndex) -> Result<SymbolIter<'_>>[src]

Get an iterator over symbols starting at the given index.

pub fn line_program(&self) -> Result<LineProgram<'_>>[src]

Returns a line program that gives access to file and line information in this module.

pub fn inlinees(&self) -> Result<InlineeIterator<'_>>[src]

Returns an iterator over all inlinees in this module.

Inlinees are not guaranteed to be sorted. When requiring random access by ItemId, collect them into a mapping structure rather than reiterating multiple times.

pub fn exports(&self) -> Result<CrossModuleExports>[src]

Returns a table of exports declared by this module.

pub fn imports(&self) -> Result<CrossModuleImports<'_>>[src]

Returns a table of imports of this module.

Auto Trait Implementations

impl<'s> !RefUnwindSafe for ModuleInfo<'s>

impl<'s> !Send for ModuleInfo<'s>

impl<'s> !Sync for ModuleInfo<'s>

impl<'s> Unpin for ModuleInfo<'s>

impl<'s> !UnwindSafe for ModuleInfo<'s>

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.