Skip to main content

IFunctionMemberDescriptorBaseMethods

Trait IFunctionMemberDescriptorBaseMethods 

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

Source

fn get_is_static(self) -> bool

get_IsStatic() overload

Source

fn set_is_static(self, value: impl Into<bool>)

set_IsStatic(bool) overload

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_Name(::unity::Il2CppString) overload

Source

fn get_sort_discriminant(self) -> Il2CppString

get_SortDiscriminant() overload

Source

fn set_sort_discriminant(self, value: impl Into<Il2CppString>)

set_SortDiscriminant(::unity::Il2CppString) overload

Source

fn get_parameters(self) -> Array<ParameterDescriptor>

get_Parameters() overload

Source

fn set_parameters(self, value: impl Into<Array<ParameterDescriptor>>)

set_Parameters(::unity::Array<crate::moon_sharp::interpreter::interop::basic_descriptors::parameterdescriptor::ParameterDescriptor>) overload

Source

fn get_extension_method_type(self) -> SystemType

get_ExtensionMethodType() overload

Source

fn set_extension_method_type(self, value: impl Into<SystemType>)

set_ExtensionMethodType(::unity::SystemType) overload

Source

fn get_var_args_array_type(self) -> SystemType

get_VarArgsArrayType() overload

Source

fn set_var_args_array_type(self, value: impl Into<SystemType>)

set_VarArgsArrayType(::unity::SystemType) overload

Source

fn get_var_args_element_type(self) -> SystemType

get_VarArgsElementType() overload

Source

fn set_var_args_element_type(self, value: impl Into<SystemType>)

set_VarArgsElementType(::unity::SystemType) overload

Source

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

Source

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

Source

fn get_callback_function( self, script: impl Into<Script>, obj: impl Into<IlInstance>, ) -> CallbackFunction

GetCallbackFunction(crate::moon_sharp::interpreter::script::Script, ::unity::IlInstance) overload

Source

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

Source

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

Source

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

Source

fn get_member_access(self) -> MemberDescriptorAccess

get_MemberAccess() overload

Source

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

Source

fn set_value( self, script: impl Into<Script>, obj: impl Into<Object>, v: impl Into<DynValue>, )

SetValue(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn ctor(self)

.ctor() 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: IFunctionMemberDescriptorBase> IFunctionMemberDescriptorBaseMethods for __T

Available on crate feature moon_sharp-interpreter-interop-functionmemberdescriptorbase only.