Add Engine::register_type_with_name_raw.

This commit is contained in:
Stephen Chung
2021-12-09 12:49:12 +08:00
parent 4421f33b2c
commit d9d44a9683
6 changed files with 29 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ pub trait ModuleResolver: SendSync {
/// Returns [`None`] (default) if such resolution is not supported
/// (e.g. if the module is Rust-based).
///
/// ## Low-Level API
/// # WARNING - Low Level API
///
/// Override the default implementation of this method if the module resolver
/// serves modules based on compiled Rhai scripts.