pub trait IFileSystemScriptLoaderMethods: IFileSystemScriptLoader {
// Provided methods
fn script_file_exists(self, name: impl Into<Il2CppString>) -> bool { ... }
fn load_file(
self,
file: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Object { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn script_file_exists(self, name: impl Into<Il2CppString>) -> bool
fn script_file_exists(self, name: impl Into<Il2CppString>) -> bool
ScriptFileExists(::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
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: IFileSystemScriptLoader> IFileSystemScriptLoaderMethods for __T
Available on crate feature
moon_sharp-interpreter-loaders-filesystemscriptloader only.