Struct pdb::Module

source · []
pub struct Module<'m> { /* private fields */ }
Expand description

Represents a module from the DBI stream.

A Module is a single item that contributes to the binary, such as an object file or import library.

Much of the useful information for a Module is stored in a separate stream in the PDB. It can be retrieved by calling PDB::module_info with a specific module.

Implementations

The module name.

Usually either a full path to an object file or a string of the form Import:<dll name>.

The object file name.

May be the same as module_name for object files passed directly to the linker. For modules from static libraries, this is usually the full path to the archive.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

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.