pub struct ModuleInfo<'s> { /* private fields */ }
Expand description

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

Get an iterator over the all symbols in this module.

Get an iterator over symbols starting at the given index.

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

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.

Returns a table of exports declared by this module.

Returns a table of imports of this module.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.