pub struct ModuleHandle { /* private fields */ }
Available on crate feature
process
only.Expand description
A handle to a module (EXE or DLL).
Implementations§
Source§impl ModuleHandle
impl ModuleHandle
Sourcepub fn get_current() -> Result<Self>
pub fn get_current() -> Result<Self>
Returns the module handle of the currently executed code.
Auto Trait Implementations§
impl Freeze for ModuleHandle
impl RefUnwindSafe for ModuleHandle
impl !Send for ModuleHandle
impl !Sync for ModuleHandle
impl Unpin for ModuleHandle
impl UnwindSafe for ModuleHandle
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