Skip to main content

IInvalidScriptLoaderMethods

Trait IInvalidScriptLoaderMethods 

Source
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§

Source

fn ctor(self, frameworkname: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn load_file( self, file: impl Into<Il2CppString>, global_context: impl Into<Table>, ) -> Object

LoadFile(::unity::Il2CppString, crate::moon_sharp::interpreter::table::Table) overload

Source

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

Source

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§

Source§

impl<__T: IInvalidScriptLoader> IInvalidScriptLoaderMethods for __T

Available on crate feature moon_sharp-interpreter-loaders-invalidscriptloader only.