pub fn modules_list() -> Vec<String>
Expand description

This will lazily load and cache a list of all the loaded libraries.

Examples

let lib = unsafe { libloading::Library::new("/path/to/liblibrary.so") }?;
clear_modulecache();
assert!(modules_list().contains(&"/path/to/liblibrary.so".to_string()));