pub trait IFunctionMemberDescriptorBaseMethods: IFunctionMemberDescriptorBase {
Show 24 methods
// Provided methods
fn get_is_static(self) -> bool { ... }
fn set_is_static(self, value: impl Into<bool>) { ... }
fn get_name(self) -> Il2CppString { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn get_sort_discriminant(self) -> Il2CppString { ... }
fn set_sort_discriminant(self, value: impl Into<Il2CppString>) { ... }
fn get_parameters(self) -> Array<ParameterDescriptor> { ... }
fn set_parameters(self, value: impl Into<Array<ParameterDescriptor>>) { ... }
fn get_extension_method_type(self) -> SystemType { ... }
fn set_extension_method_type(self, value: impl Into<SystemType>) { ... }
fn get_var_args_array_type(self) -> SystemType { ... }
fn set_var_args_array_type(self, value: impl Into<SystemType>) { ... }
fn get_var_args_element_type(self) -> SystemType { ... }
fn set_var_args_element_type(self, value: impl Into<SystemType>) { ... }
fn initialize(
self,
func_name: impl Into<Il2CppString>,
is_static: impl Into<bool>,
parameters: impl Into<Array<ParameterDescriptor>>,
is_extension_method: impl Into<bool>,
) { ... }
fn get_callback(
self,
script: impl Into<Script>,
obj: impl Into<IlInstance>,
) -> Func_3<ScriptExecutionContext, CallbackArguments, DynValue> { ... }
fn get_callback_function(
self,
script: impl Into<Script>,
obj: impl Into<IlInstance>,
) -> CallbackFunction { ... }
fn get_callback_as_dyn_value(
self,
script: impl Into<Script>,
obj: impl Into<IlInstance>,
) -> DynValue { ... }
fn build_argument_list(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> (Array<Object>, List_1<i32>) { ... }
fn execute(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn get_member_access(self) -> MemberDescriptorAccess { ... }
fn get_value(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn set_value(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
v: impl Into<DynValue>,
) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_is_static(self) -> bool
fn get_is_static(self) -> bool
get_IsStatic() overload
Sourcefn set_is_static(self, value: impl Into<bool>)
fn set_is_static(self, value: impl Into<bool>)
set_IsStatic(bool) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_sort_discriminant(self) -> Il2CppString
fn get_sort_discriminant(self) -> Il2CppString
get_SortDiscriminant() overload
Sourcefn set_sort_discriminant(self, value: impl Into<Il2CppString>)
fn set_sort_discriminant(self, value: impl Into<Il2CppString>)
set_SortDiscriminant(::unity::Il2CppString) overload
Sourcefn get_parameters(self) -> Array<ParameterDescriptor>
fn get_parameters(self) -> Array<ParameterDescriptor>
get_Parameters() overload
Sourcefn set_parameters(self, value: impl Into<Array<ParameterDescriptor>>)
fn set_parameters(self, value: impl Into<Array<ParameterDescriptor>>)
set_Parameters(::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>) overload
Sourcefn get_extension_method_type(self) -> SystemType
fn get_extension_method_type(self) -> SystemType
get_ExtensionMethodType() overload
Sourcefn set_extension_method_type(self, value: impl Into<SystemType>)
fn set_extension_method_type(self, value: impl Into<SystemType>)
set_ExtensionMethodType(::unity::SystemType) overload
Sourcefn get_var_args_array_type(self) -> SystemType
fn get_var_args_array_type(self) -> SystemType
get_VarArgsArrayType() overload
Sourcefn set_var_args_array_type(self, value: impl Into<SystemType>)
fn set_var_args_array_type(self, value: impl Into<SystemType>)
set_VarArgsArrayType(::unity::SystemType) overload
Sourcefn get_var_args_element_type(self) -> SystemType
fn get_var_args_element_type(self) -> SystemType
get_VarArgsElementType() overload
Sourcefn set_var_args_element_type(self, value: impl Into<SystemType>)
fn set_var_args_element_type(self, value: impl Into<SystemType>)
set_VarArgsElementType(::unity::SystemType) overload
Sourcefn initialize(
self,
func_name: impl Into<Il2CppString>,
is_static: impl Into<bool>,
parameters: impl Into<Array<ParameterDescriptor>>,
is_extension_method: impl Into<bool>,
)
fn initialize( self, func_name: impl Into<Il2CppString>, is_static: impl Into<bool>, parameters: impl Into<Array<ParameterDescriptor>>, is_extension_method: impl Into<bool>, )
Initialize(::unity::Il2CppString, bool, ::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>, bool) overload
Sourcefn get_callback(
self,
script: impl Into<Script>,
obj: impl Into<IlInstance>,
) -> Func_3<ScriptExecutionContext, CallbackArguments, DynValue>
fn get_callback( self, script: impl Into<Script>, obj: impl Into<IlInstance>, ) -> Func_3<ScriptExecutionContext, CallbackArguments, DynValue>
GetCallback(crate::moon_sharp::interpreter::script::Script, ::unity::IlInstance) overload
Sourcefn get_callback_function(
self,
script: impl Into<Script>,
obj: impl Into<IlInstance>,
) -> CallbackFunction
fn get_callback_function( self, script: impl Into<Script>, obj: impl Into<IlInstance>, ) -> CallbackFunction
GetCallbackFunction(crate::moon_sharp::interpreter::script::Script, ::unity::IlInstance) overload
Sourcefn get_callback_as_dyn_value(
self,
script: impl Into<Script>,
obj: impl Into<IlInstance>,
) -> DynValue
fn get_callback_as_dyn_value( self, script: impl Into<Script>, obj: impl Into<IlInstance>, ) -> DynValue
GetCallbackAsDynValue(crate::moon_sharp::interpreter::script::Script, ::unity::IlInstance) overload
Sourcefn build_argument_list(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
context: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> (Array<Object>, List_1<i32>)
fn build_argument_list( self, script: impl Into<Script>, obj: impl Into<Object>, context: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> (Array<Object>, List_1<i32>)
BuildArgumentList(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, *mutcrate::system::collections::generic::list_1::List_1<i32>) 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
Sourcefn get_member_access(self) -> MemberDescriptorAccess
fn get_member_access(self) -> MemberDescriptorAccess
get_MemberAccess() overload
Sourcefn get_value(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn get_value( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue
GetValue(crate::moon_sharp::interpreter::script::Script, 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: IFunctionMemberDescriptorBase> IFunctionMemberDescriptorBaseMethods for __T
moon_sharp-interpreter-interop-functionmemberdescriptorbase only.