pub trait IStandardEnumUserDataDescriptorMethods: IStandardEnumUserDataDescriptor {
Show 29 methods
// Provided methods
fn get_underlying_type(self) -> SystemType { ... }
fn set_underlying_type(self, value: impl Into<SystemType>) { ... }
fn get_is_unsigned(self) -> bool { ... }
fn set_is_unsigned(self, value: impl Into<bool>) { ... }
fn get_is_flags(self) -> bool { ... }
fn set_is_flags(self, value: impl Into<bool>) { ... }
fn ctor(
self,
enum_type: impl Into<SystemType>,
friendly_name: impl Into<Il2CppString>,
names: impl Into<Array<Il2CppString>>,
values: impl Into<Array<Object>>,
underlying_type: impl Into<SystemType>,
) { ... }
fn fill_member_list(
self,
names: impl Into<Array<Il2CppString>>,
values: impl Into<Array<Object>>,
) { ... }
fn add_enum_method(
self,
name: impl Into<Il2CppString>,
dyn_value: impl Into<DynValue>,
) { ... }
fn get_value_signed(self, dv: impl Into<DynValue>) -> i64 { ... }
fn get_value_unsigned(self, dv: impl Into<DynValue>) -> u64 { ... }
fn create_value_signed(self, value: impl Into<i64>) -> DynValue { ... }
fn create_value_unsigned(self, value: impl Into<u64>) -> DynValue { ... }
fn create_signed_conversion_functions(self) { ... }
fn create_unsigned_conversion_functions(self) { ... }
fn perform_binary_operation_s(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<i64, i64, DynValue>>,
) -> DynValue { ... }
fn perform_binary_operation_u(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<u64, u64, DynValue>>,
) -> DynValue { ... }
fn perform_binary_operation_s_2(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<i64, i64, i64>>,
) -> DynValue { ... }
fn perform_binary_operation_u_2(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<u64, u64, u64>>,
) -> DynValue { ... }
fn perform_unary_operation_s(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_2<i64, i64>>,
) -> DynValue { ... }
fn perform_unary_operation_u(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_2<u64, u64>>,
) -> DynValue { ... }
fn callback_or(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn callback_and(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn callback_xor(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn callback_bw_not(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn callback_has_all(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn callback_has_any(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue { ... }
fn is_type_compatible(
self,
type: impl Into<SystemType>,
obj: impl Into<Object>,
) -> bool { ... }
fn meta_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
metaname: impl Into<Il2CppString>,
) -> DynValue { ... }
}Provided Methods§
Sourcefn get_underlying_type(self) -> SystemType
fn get_underlying_type(self) -> SystemType
get_UnderlyingType() overload
Sourcefn set_underlying_type(self, value: impl Into<SystemType>)
fn set_underlying_type(self, value: impl Into<SystemType>)
set_UnderlyingType(::unity::SystemType) overload
Sourcefn get_is_unsigned(self) -> bool
fn get_is_unsigned(self) -> bool
get_IsUnsigned() overload
Sourcefn set_is_unsigned(self, value: impl Into<bool>)
fn set_is_unsigned(self, value: impl Into<bool>)
set_IsUnsigned(bool) overload
Sourcefn get_is_flags(self) -> bool
fn get_is_flags(self) -> bool
get_IsFlags() overload
Sourcefn set_is_flags(self, value: impl Into<bool>)
fn set_is_flags(self, value: impl Into<bool>)
set_IsFlags(bool) overload
Sourcefn ctor(
self,
enum_type: impl Into<SystemType>,
friendly_name: impl Into<Il2CppString>,
names: impl Into<Array<Il2CppString>>,
values: impl Into<Array<Object>>,
underlying_type: impl Into<SystemType>,
)
fn ctor( self, enum_type: impl Into<SystemType>, friendly_name: impl Into<Il2CppString>, names: impl Into<Array<Il2CppString>>, values: impl Into<Array<Object>>, underlying_type: impl Into<SystemType>, )
.ctor(::unity::SystemType, ::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>, ::unity::Array<crate::system::object::Object>, ::unity::SystemType) overload
Sourcefn fill_member_list(
self,
names: impl Into<Array<Il2CppString>>,
values: impl Into<Array<Object>>,
)
fn fill_member_list( self, names: impl Into<Array<Il2CppString>>, values: impl Into<Array<Object>>, )
FillMemberList(::unity::Array<::unity::Il2CppString>, ::unity::Array<crate::system::object::Object>) overload
Sourcefn add_enum_method(
self,
name: impl Into<Il2CppString>,
dyn_value: impl Into<DynValue>,
)
fn add_enum_method( self, name: impl Into<Il2CppString>, dyn_value: impl Into<DynValue>, )
AddEnumMethod(::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_value_signed(self, dv: impl Into<DynValue>) -> i64
fn get_value_signed(self, dv: impl Into<DynValue>) -> i64
GetValueSigned(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_value_unsigned(self, dv: impl Into<DynValue>) -> u64
fn get_value_unsigned(self, dv: impl Into<DynValue>) -> u64
GetValueUnsigned(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn create_value_signed(self, value: impl Into<i64>) -> DynValue
fn create_value_signed(self, value: impl Into<i64>) -> DynValue
CreateValueSigned(i64) overload
Sourcefn create_value_unsigned(self, value: impl Into<u64>) -> DynValue
fn create_value_unsigned(self, value: impl Into<u64>) -> DynValue
CreateValueUnsigned(u64) overload
Sourcefn create_signed_conversion_functions(self)
fn create_signed_conversion_functions(self)
CreateSignedConversionFunctions() overload
Sourcefn create_unsigned_conversion_functions(self)
fn create_unsigned_conversion_functions(self)
CreateUnsignedConversionFunctions() overload
Sourcefn perform_binary_operation_s(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<i64, i64, DynValue>>,
) -> DynValue
fn perform_binary_operation_s( self, func_name: impl Into<Il2CppString>, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, operation: impl Into<Func_3<i64, i64, DynValue>>, ) -> DynValue
PerformBinaryOperationS(::unity::Il2CppString, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, crate::system::func_3::Func_3<i64,i64,crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn perform_binary_operation_u(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<u64, u64, DynValue>>,
) -> DynValue
fn perform_binary_operation_u( self, func_name: impl Into<Il2CppString>, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, operation: impl Into<Func_3<u64, u64, DynValue>>, ) -> DynValue
PerformBinaryOperationU(::unity::Il2CppString, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, crate::system::func_3::Func_3<u64,u64,crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn perform_binary_operation_s_2(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<i64, i64, i64>>,
) -> DynValue
fn perform_binary_operation_s_2( self, func_name: impl Into<Il2CppString>, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, operation: impl Into<Func_3<i64, i64, i64>>, ) -> DynValue
PerformBinaryOperationS(::unity::Il2CppString, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, crate::system::func_3::Func_3<i64,i64,i64>) overload
Sourcefn perform_binary_operation_u_2(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_3<u64, u64, u64>>,
) -> DynValue
fn perform_binary_operation_u_2( self, func_name: impl Into<Il2CppString>, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, operation: impl Into<Func_3<u64, u64, u64>>, ) -> DynValue
PerformBinaryOperationU(::unity::Il2CppString, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, crate::system::func_3::Func_3<u64,u64,u64>) overload
Sourcefn perform_unary_operation_s(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_2<i64, i64>>,
) -> DynValue
fn perform_unary_operation_s( self, func_name: impl Into<Il2CppString>, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, operation: impl Into<Func_2<i64, i64>>, ) -> DynValue
PerformUnaryOperationS(::unity::Il2CppString, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, crate::system::func_2::Func_2<i64,i64>) overload
Sourcefn perform_unary_operation_u(
self,
func_name: impl Into<Il2CppString>,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
operation: impl Into<Func_2<u64, u64>>,
) -> DynValue
fn perform_unary_operation_u( self, func_name: impl Into<Il2CppString>, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, operation: impl Into<Func_2<u64, u64>>, ) -> DynValue
PerformUnaryOperationU(::unity::Il2CppString, crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments, crate::system::func_2::Func_2<u64,u64>) overload
Sourcefn callback_or(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn callback_or( self, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
Callback_Or(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload
Sourcefn callback_and(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn callback_and( self, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
Callback_And(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload
Sourcefn callback_xor(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn callback_xor( self, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
Callback_Xor(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload
Sourcefn callback_bw_not(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn callback_bw_not( self, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
Callback_BwNot(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload
Sourcefn callback_has_all(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn callback_has_all( self, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
Callback_HasAll(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload
Sourcefn callback_has_any(
self,
ctx: impl Into<ScriptExecutionContext>,
args: impl Into<CallbackArguments>,
) -> DynValue
fn callback_has_any( self, ctx: impl Into<ScriptExecutionContext>, args: impl Into<CallbackArguments>, ) -> DynValue
Callback_HasAny(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::callbackarguments::CallbackArguments) overload
Sourcefn is_type_compatible(
self,
type: impl Into<SystemType>,
obj: impl Into<Object>,
) -> bool
fn is_type_compatible( self, type: impl Into<SystemType>, obj: impl Into<Object>, ) -> bool
IsTypeCompatible(::unity::SystemType, crate::system::object::Object) overload
Sourcefn meta_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
metaname: impl Into<Il2CppString>,
) -> DynValue
fn meta_index( self, script: impl Into<Script>, obj: impl Into<Object>, metaname: impl Into<Il2CppString>, ) -> DynValue
MetaIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, ::unity::Il2CppString) 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: IStandardEnumUserDataDescriptor> IStandardEnumUserDataDescriptorMethods for __T
moon_sharp-interpreter-interop-standardenumuserdatadescriptor only.