pub trait IInvalidScriptLoaderMethods: IInvalidScriptLoader {
// Provided methods
fn ctor(self, frameworkname: impl Into<Il2CppString>) { ... }
fn load_file(
self,
file: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Object { ... }
fn resolve_file_name(
self,
filename: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString { ... }
fn resolve_module_name(
self,
modname: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString { ... }
}Provided Methods§
Sourcefn ctor(self, frameworkname: impl Into<Il2CppString>)
fn ctor(self, frameworkname: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn load_file(
self,
file: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Object
fn load_file( self, file: impl Into<Il2CppString>, global_context: impl Into<Table>, ) -> Object
LoadFile(::unity::Il2CppString, crate::moon_sharp::interpreter::table::Table) overload
Sourcefn resolve_file_name(
self,
filename: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString
fn resolve_file_name( self, filename: impl Into<Il2CppString>, global_context: impl Into<Table>, ) -> Il2CppString
ResolveFileName(::unity::Il2CppString, crate::moon_sharp::interpreter::table::Table) overload
Sourcefn resolve_module_name(
self,
modname: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString
fn resolve_module_name( self, modname: impl Into<Il2CppString>, global_context: impl Into<Table>, ) -> Il2CppString
ResolveModuleName(::unity::Il2CppString, crate::moon_sharp::interpreter::table::Table) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IInvalidScriptLoader> IInvalidScriptLoaderMethods for __T
Available on crate feature
moon_sharp-interpreter-loaders-invalidscriptloader only.