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§
Source§impl<'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> Freeze for Module<'m>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more