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
sourceimpl<'m> Module<'m>
impl<'m> Module<'m>
sourcepub fn module_name(&self) -> Cow<'m, str>
pub fn module_name(&self) -> Cow<'m, str>
The module name.
Usually either a full path to an object file or a string of the form Import:<dll name>
.
sourcepub fn object_file_name(&self) -> Cow<'m, str>
pub fn object_file_name(&self) -> Cow<'m, str>
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
Auto Trait Implementations
impl<'m> RefUnwindSafe for Module<'m>
impl<'m> Send for Module<'m>
impl<'m> Sync for Module<'m>
impl<'m> Unpin for Module<'m>
impl<'m> UnwindSafe for Module<'m>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more