pub trait IDispatchingUserDataDescriptorMethods: IDispatchingUserDataDescriptor {
Show 40 methods
// Provided methods
fn get_name(self) -> Il2CppString { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn get_type(self) -> SystemType { ... }
fn set_type(self, value: impl Into<SystemType>) { ... }
fn get_friendly_name(self) -> Il2CppString { ... }
fn set_friendly_name(self, value: impl Into<Il2CppString>) { ... }
fn ctor(
self,
type: impl Into<SystemType>,
friendly_name: impl Into<Il2CppString>,
) { ... }
fn add_meta_member(
self,
name: impl Into<Il2CppString>,
desc: impl Into<IMemberDescriptor_Interface>,
) { ... }
fn add_dyn_value(
self,
name: impl Into<Il2CppString>,
value: impl Into<DynValue>,
) { ... }
fn add_member(
self,
name: impl Into<Il2CppString>,
desc: impl Into<IMemberDescriptor_Interface>,
) { ... }
fn get_member_names(self) -> IEnumerable_1<Il2CppString> { ... }
fn get_members(
self,
) -> IEnumerable_1<KeyValuePair_2<Il2CppString, IMemberDescriptor_Interface>> { ... }
fn find_member(
self,
member_name: impl Into<Il2CppString>,
) -> IMemberDescriptor_Interface { ... }
fn remove_member(self, member_name: impl Into<Il2CppString>) { ... }
fn get_meta_member_names(self) -> IEnumerable_1<Il2CppString> { ... }
fn get_meta_members(
self,
) -> IEnumerable_1<KeyValuePair_2<Il2CppString, IMemberDescriptor_Interface>> { ... }
fn find_meta_member(
self,
member_name: impl Into<Il2CppString>,
) -> IMemberDescriptor_Interface { ... }
fn remove_meta_member(self, member_name: impl Into<Il2CppString>) { ... }
fn add_member_to(
self,
members: impl Into<Dictionary_2<Il2CppString, IMemberDescriptor_Interface>>,
name: impl Into<Il2CppString>,
desc: impl Into<IMemberDescriptor_Interface>,
) { ... }
fn index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> DynValue { ... }
fn try_index_on_ext_method(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index_name: impl Into<Il2CppString>,
) -> DynValue { ... }
fn has_member(self, exact_name: impl Into<Il2CppString>) -> bool { ... }
fn has_meta_member(self, exact_name: impl Into<Il2CppString>) -> bool { ... }
fn try_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index_name: impl Into<Il2CppString>,
) -> DynValue { ... }
fn set_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> bool { ... }
fn try_set_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index_name: impl Into<Il2CppString>,
value: impl Into<DynValue>,
) -> bool { ... }
fn moon_sharp_interpreter_interop_basic_descriptors_i_optimizable_descriptor_optimize(
self,
) { ... }
fn as_string(self, obj: impl Into<Object>) -> Il2CppString { ... }
fn execute_indexer(
self,
mdesc: impl Into<IMemberDescriptor_Interface>,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
) -> DynValue { ... }
fn meta_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
metaname: impl Into<Il2CppString>,
) -> DynValue { ... }
fn perform_comparison(
self,
obj: impl Into<Object>,
p1: impl Into<Object>,
p2: impl Into<Object>,
) -> i32 { ... }
fn multi_dispatch_less_than_or_equal(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn multi_dispatch_less_than(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn try_dispatch_length(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn multi_dispatch_equal(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn check_equality(
self,
obj: impl Into<Object>,
p1: impl Into<Object>,
p2: impl Into<Object>,
) -> bool { ... }
fn dispatch_meta_on_method(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
method_name: impl Into<Il2CppString>,
) -> DynValue { ... }
fn try_dispatch_to_number(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn try_dispatch_to_bool(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue { ... }
fn is_type_compatible(
self,
type: impl Into<SystemType>,
obj: impl Into<Object>,
) -> bool { ... }
}Provided Methods§
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_friendly_name(self) -> Il2CppString
fn get_friendly_name(self) -> Il2CppString
get_FriendlyName() overload
Sourcefn set_friendly_name(self, value: impl Into<Il2CppString>)
fn set_friendly_name(self, value: impl Into<Il2CppString>)
set_FriendlyName(::unity::Il2CppString) overload
Sourcefn ctor(
self,
type: impl Into<SystemType>,
friendly_name: impl Into<Il2CppString>,
)
fn ctor( self, type: impl Into<SystemType>, friendly_name: impl Into<Il2CppString>, )
.ctor(::unity::SystemType, ::unity::Il2CppString) overload
Sourcefn add_meta_member(
self,
name: impl Into<Il2CppString>,
desc: impl Into<IMemberDescriptor_Interface>,
)
fn add_meta_member( self, name: impl Into<Il2CppString>, desc: impl Into<IMemberDescriptor_Interface>, )
AddMetaMember(::unity::Il2CppString, crate::moon_sharp::interpreter::interop::basic_descriptors::imemberdescriptor_interface::IMemberDescriptor_Interface) overload
Sourcefn add_dyn_value(
self,
name: impl Into<Il2CppString>,
value: impl Into<DynValue>,
)
fn add_dyn_value( self, name: impl Into<Il2CppString>, value: impl Into<DynValue>, )
AddDynValue(::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn add_member(
self,
name: impl Into<Il2CppString>,
desc: impl Into<IMemberDescriptor_Interface>,
)
fn add_member( self, name: impl Into<Il2CppString>, desc: impl Into<IMemberDescriptor_Interface>, )
AddMember(::unity::Il2CppString, crate::moon_sharp::interpreter::interop::basic_descriptors::imemberdescriptor_interface::IMemberDescriptor_Interface) overload
Sourcefn get_member_names(self) -> IEnumerable_1<Il2CppString>
fn get_member_names(self) -> IEnumerable_1<Il2CppString>
get_MemberNames() overload
Sourcefn get_members(
self,
) -> IEnumerable_1<KeyValuePair_2<Il2CppString, IMemberDescriptor_Interface>>
fn get_members( self, ) -> IEnumerable_1<KeyValuePair_2<Il2CppString, IMemberDescriptor_Interface>>
get_Members() overload
Sourcefn find_member(
self,
member_name: impl Into<Il2CppString>,
) -> IMemberDescriptor_Interface
fn find_member( self, member_name: impl Into<Il2CppString>, ) -> IMemberDescriptor_Interface
FindMember(::unity::Il2CppString) overload
Sourcefn remove_member(self, member_name: impl Into<Il2CppString>)
fn remove_member(self, member_name: impl Into<Il2CppString>)
RemoveMember(::unity::Il2CppString) overload
Sourcefn get_meta_member_names(self) -> IEnumerable_1<Il2CppString>
fn get_meta_member_names(self) -> IEnumerable_1<Il2CppString>
get_MetaMemberNames() overload
Sourcefn get_meta_members(
self,
) -> IEnumerable_1<KeyValuePair_2<Il2CppString, IMemberDescriptor_Interface>>
fn get_meta_members( self, ) -> IEnumerable_1<KeyValuePair_2<Il2CppString, IMemberDescriptor_Interface>>
get_MetaMembers() overload
Sourcefn find_meta_member(
self,
member_name: impl Into<Il2CppString>,
) -> IMemberDescriptor_Interface
fn find_meta_member( self, member_name: impl Into<Il2CppString>, ) -> IMemberDescriptor_Interface
FindMetaMember(::unity::Il2CppString) overload
Sourcefn remove_meta_member(self, member_name: impl Into<Il2CppString>)
fn remove_meta_member(self, member_name: impl Into<Il2CppString>)
RemoveMetaMember(::unity::Il2CppString) overload
Sourcefn add_member_to(
self,
members: impl Into<Dictionary_2<Il2CppString, IMemberDescriptor_Interface>>,
name: impl Into<Il2CppString>,
desc: impl Into<IMemberDescriptor_Interface>,
)
fn add_member_to( self, members: impl Into<Dictionary_2<Il2CppString, IMemberDescriptor_Interface>>, name: impl Into<Il2CppString>, desc: impl Into<IMemberDescriptor_Interface>, )
AddMemberTo(crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString,crate::moon_sharp::interpreter::interop::basic_descriptors::imemberdescriptor_interface::IMemberDescriptor_Interface>, ::unity::Il2CppString, crate::moon_sharp::interpreter::interop::basic_descriptors::imemberdescriptor_interface::IMemberDescriptor_Interface) overload
Sourcefn index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> DynValue
fn index( self, script: impl Into<Script>, obj: impl Into<Object>, index: impl Into<DynValue>, is_direct_indexing: impl Into<bool>, ) -> DynValue
Index(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload
Sourcefn try_index_on_ext_method(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index_name: impl Into<Il2CppString>,
) -> DynValue
fn try_index_on_ext_method( self, script: impl Into<Script>, obj: impl Into<Object>, index_name: impl Into<Il2CppString>, ) -> DynValue
TryIndexOnExtMethod(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, ::unity::Il2CppString) overload
Sourcefn has_member(self, exact_name: impl Into<Il2CppString>) -> bool
fn has_member(self, exact_name: impl Into<Il2CppString>) -> bool
HasMember(::unity::Il2CppString) overload
Sourcefn has_meta_member(self, exact_name: impl Into<Il2CppString>) -> bool
fn has_meta_member(self, exact_name: impl Into<Il2CppString>) -> bool
HasMetaMember(::unity::Il2CppString) overload
Sourcefn try_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index_name: impl Into<Il2CppString>,
) -> DynValue
fn try_index( self, script: impl Into<Script>, obj: impl Into<Object>, index_name: impl Into<Il2CppString>, ) -> DynValue
TryIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, ::unity::Il2CppString) overload
Sourcefn set_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
is_direct_indexing: impl Into<bool>,
) -> bool
fn set_index( self, script: impl Into<Script>, obj: impl Into<Object>, index: impl Into<DynValue>, value: impl Into<DynValue>, is_direct_indexing: impl Into<bool>, ) -> bool
SetIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, bool) overload
Sourcefn try_set_index(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
index_name: impl Into<Il2CppString>,
value: impl Into<DynValue>,
) -> bool
fn try_set_index( self, script: impl Into<Script>, obj: impl Into<Object>, index_name: impl Into<Il2CppString>, value: impl Into<DynValue>, ) -> bool
TrySetIndex(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn moon_sharp_interpreter_interop_basic_descriptors_i_optimizable_descriptor_optimize(
self,
)
fn moon_sharp_interpreter_interop_basic_descriptors_i_optimizable_descriptor_optimize( self, )
MoonSharp.Interpreter.Interop.BasicDescriptors.IOptimizableDescriptor.Optimize() overload
Sourcefn as_string(self, obj: impl Into<Object>) -> Il2CppString
fn as_string(self, obj: impl Into<Object>) -> Il2CppString
AsString(crate::system::object::Object) overload
Sourcefn execute_indexer(
self,
mdesc: impl Into<IMemberDescriptor_Interface>,
script: impl Into<Script>,
obj: impl Into<Object>,
index: impl Into<DynValue>,
value: impl Into<DynValue>,
) -> DynValue
fn execute_indexer( self, mdesc: impl Into<IMemberDescriptor_Interface>, script: impl Into<Script>, obj: impl Into<Object>, index: impl Into<DynValue>, value: impl Into<DynValue>, ) -> DynValue
ExecuteIndexer(crate::moon_sharp::interpreter::interop::basic_descriptors::imemberdescriptor_interface::IMemberDescriptor_Interface, crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue) 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
Sourcefn perform_comparison(
self,
obj: impl Into<Object>,
p1: impl Into<Object>,
p2: impl Into<Object>,
) -> i32
fn perform_comparison( self, obj: impl Into<Object>, p1: impl Into<Object>, p2: impl Into<Object>, ) -> i32
PerformComparison(crate::system::object::Object, crate::system::object::Object, crate::system::object::Object) overload
Sourcefn multi_dispatch_less_than_or_equal(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn multi_dispatch_less_than_or_equal( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue
MultiDispatchLessThanOrEqual(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) overload
Sourcefn multi_dispatch_less_than(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn multi_dispatch_less_than( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue
MultiDispatchLessThan(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) overload
Sourcefn try_dispatch_length(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn try_dispatch_length( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue
TryDispatchLength(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) overload
Sourcefn multi_dispatch_equal(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn multi_dispatch_equal( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue
MultiDispatchEqual(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) overload
Sourcefn check_equality(
self,
obj: impl Into<Object>,
p1: impl Into<Object>,
p2: impl Into<Object>,
) -> bool
fn check_equality( self, obj: impl Into<Object>, p1: impl Into<Object>, p2: impl Into<Object>, ) -> bool
CheckEquality(crate::system::object::Object, crate::system::object::Object, crate::system::object::Object) overload
Sourcefn dispatch_meta_on_method(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
method_name: impl Into<Il2CppString>,
) -> DynValue
fn dispatch_meta_on_method( self, script: impl Into<Script>, obj: impl Into<Object>, method_name: impl Into<Il2CppString>, ) -> DynValue
DispatchMetaOnMethod(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object, ::unity::Il2CppString) overload
Sourcefn try_dispatch_to_number(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn try_dispatch_to_number( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue
TryDispatchToNumber(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) overload
Sourcefn try_dispatch_to_bool(
self,
script: impl Into<Script>,
obj: impl Into<Object>,
) -> DynValue
fn try_dispatch_to_bool( self, script: impl Into<Script>, obj: impl Into<Object>, ) -> DynValue
TryDispatchToBool(crate::moon_sharp::interpreter::script::Script, crate::system::object::Object) 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
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: IDispatchingUserDataDescriptor> IDispatchingUserDataDescriptorMethods for __T
moon_sharp-interpreter-interop-basic_descriptors-dispatchinguserdatadescriptor only.