Function emf_core_base_rs::global::module::get_module_path[][src]

pub fn get_module_path<'module, O>(
    module: &Module<'module, O>
) -> Result<&'module [OSPathChar], Error> where
    O: ImmutableAccessIdentifier

Fetches the path a module was loaded from.

Failure

Fails if module is invalid or the module is not yet loaded.

Return

Module path on success, error otherwise.