pub struct NativeLibrary { /* private fields */ }
Implementations§
Source§impl NativeLibrary
impl NativeLibrary
pub fn get_path(&self) -> &Path
Sourcepub unsafe fn get_function(&self, key: &str) -> Result<NativeFunction<'_>>
pub unsafe fn get_function(&self, key: &str) -> Result<NativeFunction<'_>>
§Safety
trust me bro
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NativeLibrary
impl RefUnwindSafe for NativeLibrary
impl Send for NativeLibrary
impl Sync for NativeLibrary
impl Unpin for NativeLibrary
impl UnwindSafe for NativeLibrary
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