Struct forward_dll::utils::ForeignLibrary
source · pub struct ForeignLibrary {
pub module_handle: HMODULE,
}Fields§
§module_handle: HMODULEImplementations§
source§impl ForeignLibrary
impl ForeignLibrary
pub fn new(lib_name: &str) -> ForwardResult<Self>
pub fn get_proc_address( &self, proc_name: &str ) -> ForwardResult<unsafe extern "system" fn() -> isize>
pub fn into_raw(self) -> HMODULE
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ForeignLibrary
impl Send for ForeignLibrary
impl Sync for ForeignLibrary
impl Unpin for ForeignLibrary
impl UnwindSafe for ForeignLibrary
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