pub trait IHardwiredMethodMemberDescriptorMethods: IHardwiredMethodMemberDescriptor {
// Provided methods
fn execute(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn calc_args_count(self, pars: impl Into<Array<Object>>) -> i32 { ... }
fn invoke(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
pars: impl Into<Array<Object>>,
argscount: impl Into<i32>,
) -> Object { ... }
fn ctor(self) { ... }
}Provided Methods§
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
Sourcefn calc_args_count(self, pars: impl Into<Array<Object>>) -> i32
fn calc_args_count(self, pars: impl Into<Array<Object>>) -> i32
CalcArgsCount(::unity::Array<crate::system::object::Object>) 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: IHardwiredMethodMemberDescriptor> IHardwiredMethodMemberDescriptorMethods for __T
Available on crate feature
moon_sharp-interpreter-interop-standard_descriptors-hardwired_descriptors-hardwiredmethodmemberdescriptor only.