[−]Struct symbolic::debuginfo::pdb::pdb::ModuleInfo
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>
pub fn symbols(&self) -> Result<SymbolIter<'_>, Error>
Get an iterator over the all symbols in this module.
pub fn symbols_at(&self, index: SymbolIndex) -> Result<SymbolIter<'_>, Error>
Get an iterator over symbols starting at the given index.
pub fn line_program(&self) -> Result<LineProgram<'_>, Error>
Returns a line program that gives access to file and line information in this module.
pub fn inlinees(&self) -> Result<InlineeIterator<'_>, Error>
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, Error>
Returns a table of exports declared by this module.
pub fn imports(&self) -> Result<CrossModuleImports<'_>, Error>
Returns a table of imports of this module.
Auto Trait Implementations
impl<'s> !RefUnwindSafe for ModuleInfo<'s>
[src]
impl<'s> !Send for ModuleInfo<'s>
[src]
impl<'s> !Sync for ModuleInfo<'s>
[src]
impl<'s> Unpin for ModuleInfo<'s>
[src]
impl<'s> !UnwindSafe for ModuleInfo<'s>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,