Type Definition erupt::utils::loading::EntryLoader
source · pub type EntryLoader = CustomEntryLoader<DefaultEntryLoaderLibrary>;
Expand description
The default EntryLoader
, providing EntryLoader::new
.
Implementations
sourceimpl EntryLoader
impl EntryLoader
sourcepub fn new() -> Result<EntryLoader, EntryLoaderError>
pub fn new() -> Result<EntryLoader, EntryLoaderError>
Load functions using libloading
.
Enabled using the loading
cargo feature.
For more advanced use cases, take a look at
EntryLoader::with_lib_path
and EntryLoader::with_library
.
sourcepub fn with_lib_path<P: AsRef<OsStr>>(
lib_path: P
) -> Result<EntryLoader, EntryLoaderError>
pub fn with_lib_path<P: AsRef<OsStr>>(
lib_path: P
) -> Result<EntryLoader, EntryLoaderError>
Load functions using libloading
providing a custom library path.
Enabled using the loading
cargo feature.