pub struct Module<'a> { /* private fields */ }
Expand description
A handle to a process’s loaded module.
Implementations§
Source§impl<'a> Module<'a>
impl<'a> Module<'a>
Sourcepub fn handle(&self) -> HMODULE
pub fn handle(&self) -> HMODULE
Returns the inner HMODULE handle (address) of the loaded module.
Sourcepub fn path(&self) -> WinResult<PathBuf>
pub fn path(&self) -> WinResult<PathBuf>
Returns the fully qualified path to the file that contains the module.
Sourcepub fn info(&self) -> WinResult<ModuleInfo>
pub fn info(&self) -> WinResult<ModuleInfo>
Returns a struct containing the address, size, and entry point of the module.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Module<'a>
impl<'a> RefUnwindSafe for Module<'a>
impl<'a> !Send for Module<'a>
impl<'a> !Sync for Module<'a>
impl<'a> Unpin for Module<'a>
impl<'a> UnwindSafe for Module<'a>
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