pub trait IObjectCallbackMemberDescriptorMethods: IObjectCallbackMemberDescriptor {
// Provided methods
fn ctor(self, func_name: impl Into<Il2CppString>) { ... }
fn ctor_2(
self,
func_name: impl Into<Il2CppString>,
call_back: impl Into<Func_4<Object, ScriptExecutionContext, CallbackArguments, Object>>,
) { ... }
fn ctor_3(
self,
func_name: impl Into<Il2CppString>,
call_back: impl Into<Func_4<Object, ScriptExecutionContext, CallbackArguments, Object>>,
parameters: impl Into<Array<ParameterDescriptor>>,
) { ... }
fn execute(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
}Provided Methods§
Sourcefn ctor(self, func_name: impl Into<Il2CppString>)
fn ctor(self, func_name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_2(
self,
func_name: impl Into<Il2CppString>,
call_back: impl Into<Func_4<Object, ScriptExecutionContext, CallbackArguments, Object>>,
)
fn ctor_2( self, func_name: impl Into<Il2CppString>, call_back: impl Into<Func_4<Object, ScriptExecutionContext, CallbackArguments, Object>>, )
.ctor(::unity::Il2CppString, crate::system::func_4::Func_4<crate::system::object::Object,crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,crate::system::object::Object>) overload
Sourcefn ctor_3(
self,
func_name: impl Into<Il2CppString>,
call_back: impl Into<Func_4<Object, ScriptExecutionContext, CallbackArguments, Object>>,
parameters: impl Into<Array<ParameterDescriptor>>,
)
fn ctor_3( self, func_name: impl Into<Il2CppString>, call_back: impl Into<Func_4<Object, ScriptExecutionContext, CallbackArguments, Object>>, parameters: impl Into<Array<ParameterDescriptor>>, )
.ctor(::unity::Il2CppString, crate::system::func_4::Func_4<crate::system::object::Object,crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,crate::system::object::Object>, ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>) overload
Sourcefn execute(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn execute( self, script: impl Into<Script>, obj: impl Into<Object>, context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
Execute(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) 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: IObjectCallbackMemberDescriptor> IObjectCallbackMemberDescriptorMethods for __T
moon_sharp-interpreter-interop-objectcallbackmemberdescriptor only.