pub trait IRuntimeTypeMethods: IRuntimeType {
Show 101 methods
// Provided methods
fn ctor(self) { ... }
fn is_special_serializable_type(self) -> bool { ... }
fn get_methods(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<MethodInfo> { ... }
fn get_constructors(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<ConstructorInfo> { ... }
fn get_properties(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<PropertyInfo> { ... }
fn get_events(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<EventInfo> { ... }
fn get_fields(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<FieldInfo> { ... }
fn get_nested_types(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<SystemType> { ... }
fn get_method_impl(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
call_conv: impl Into<CallingConventions>,
types: impl Into<Array<SystemType>>,
modifiers: impl Into<Array<ParameterModifier>>,
) -> MethodInfo { ... }
fn get_constructor_impl(
self,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
call_convention: impl Into<CallingConventions>,
types: impl Into<Array<SystemType>>,
modifiers: impl Into<Array<ParameterModifier>>,
) -> ConstructorInfo { ... }
fn get_property_impl(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
return_type: impl Into<SystemType>,
types: impl Into<Array<SystemType>>,
modifiers: impl Into<Array<ParameterModifier>>,
) -> PropertyInfo { ... }
fn get_event(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> EventInfo { ... }
fn get_field(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> FieldInfo { ... }
fn get_interface(
self,
fullname: impl Into<Il2CppString>,
ignore_case: impl Into<bool>,
) -> SystemType { ... }
fn get_nested_type(
self,
fullname: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> SystemType { ... }
fn get_member(
self,
name: impl Into<Il2CppString>,
type: impl Into<MemberTypes>,
binding_attr: impl Into<BindingFlags>,
) -> Array<MemberInfo> { ... }
fn get_module(self) -> Module { ... }
fn get_runtime_module(self) -> RuntimeModule { ... }
fn get_assembly(self) -> Assembly { ... }
fn get_runtime_assembly(self) -> RuntimeAssembly { ... }
fn is_instance_of_type(self, o: impl Into<Object>) -> bool { ... }
fn is_subclass_of(self, type: impl Into<SystemType>) -> bool { ... }
fn is_assignable_from(self, c: impl Into<SystemType>) -> bool { ... }
fn is_equivalent_to(self, other: impl Into<SystemType>) -> bool { ... }
fn get_base_type(self) -> SystemType { ... }
fn get_underlying_system_type(self) -> SystemType { ... }
fn get_attribute_flags_impl(self) -> TypeAttributes { ... }
fn is_contextful_impl(self) -> bool { ... }
fn is_by_ref_impl(self) -> bool { ... }
fn is_primitive_impl(self) -> bool { ... }
fn is_pointer_impl(self) -> bool { ... }
fn is_com_object_impl(self) -> bool { ... }
fn is_value_type_impl(self) -> bool { ... }
fn get_is_enum(self) -> bool { ... }
fn has_element_type_impl(self) -> bool { ... }
fn get_generic_parameter_attributes(self) -> GenericParameterAttributes { ... }
fn get_is_sz_array(self) -> bool { ... }
fn is_array_impl(self) -> bool { ... }
fn get_array_rank(self) -> i32 { ... }
fn get_element_type(self) -> SystemType { ... }
fn get_enum_names(self) -> Array<Il2CppString> { ... }
fn get_enum_values(self) -> IlInstance { ... }
fn get_enum_underlying_type(self) -> SystemType { ... }
fn is_enum_defined(self, value: impl Into<Object>) -> bool { ... }
fn get_enum_name(self, value: impl Into<Object>) -> Il2CppString { ... }
fn get_generic_arguments_internal(self) -> Array<RuntimeType> { ... }
fn get_generic_arguments(self) -> Array<SystemType> { ... }
fn make_generic_type(
self,
instantiation: impl Into<Array<SystemType>>,
) -> SystemType { ... }
fn get_is_generic_type_definition(self) -> bool { ... }
fn get_is_generic_parameter(self) -> bool { ... }
fn get_generic_parameter_position(self) -> i32 { ... }
fn get_generic_type_definition(self) -> SystemType { ... }
fn get_is_generic_type(self) -> bool { ... }
fn get_is_constructed_generic_type(self) -> bool { ... }
fn equals(self, obj: impl Into<Object>) -> bool { ... }
fn clone(self) -> Object { ... }
fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object> { ... }
fn get_custom_attributes_2(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object> { ... }
fn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool { ... }
fn get_custom_attributes_data(
self,
) -> IList_1_Interface<CustomAttributeData> { ... }
fn format_type_name(self, serialization: impl Into<bool>) -> Il2CppString { ... }
fn get_member_type(self) -> MemberTypes { ... }
fn get_reflected_type(self) -> SystemType { ... }
fn get_metadata_token(self) -> i32 { ... }
fn create_instance_check_this(self) { ... }
fn get_default_constructor(self) -> MonoCMethod { ... }
fn get_default_member_name(self) -> Il2CppString { ... }
fn get_serialization_ctor(self) -> RuntimeConstructorInfo { ... }
fn create_instance_mono(self, non_public: impl Into<bool>) -> Object { ... }
fn try_convert_to_type(self, value: impl Into<Object>) -> (Object, bool) { ... }
fn make_array_type(self, rank: impl Into<i32>) -> SystemType { ... }
fn make_array_type_2(self) -> SystemType { ... }
fn make_byref_type(self) -> SystemType { ... }
fn make_by_ref_type(self) -> SystemType { ... }
fn make_pointer_type_2(self) -> SystemType { ... }
fn get_contains_generic_parameters(self) -> bool { ... }
fn get_generic_parameter_constraints(self) -> Array<SystemType> { ... }
fn get_methods_by_name_native(
self,
name_ptr: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
ignore_case: impl Into<bool>,
) -> IntPtr { ... }
fn get_methods_by_name(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
ignore_case: impl Into<bool>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeMethodInfo> { ... }
fn get_properties_by_name_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
icase: impl Into<bool>,
) -> IntPtr { ... }
fn get_constructors_native(
self,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr { ... }
fn get_constructors_internal(
self,
binding_attr: impl Into<BindingFlags>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeConstructorInfo> { ... }
fn get_properties_by_name(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
icase: impl Into<bool>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimePropertyInfo> { ... }
fn to_string(self) -> Il2CppString { ... }
fn is_generic_com_object_impl(self) -> bool { ... }
fn get_declaring_method(self) -> MethodBase { ... }
fn get_full_name(
self,
full_name: impl Into<bool>,
assembly_qualified: impl Into<bool>,
) -> Il2CppString { ... }
fn get_generic_arguments_internal_2(
self,
runtime_array: impl Into<bool>,
) -> Array<SystemType> { ... }
fn get_events_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr { ... }
fn get_fields_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr { ... }
fn get_fields_internal(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeFieldInfo> { ... }
fn get_events_internal(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeEventInfo> { ... }
fn get_interfaces(self) -> Array<SystemType> { ... }
fn get_nested_types_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr { ... }
fn get_nested_types_internal(
self,
display_name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> Array<RuntimeType> { ... }
fn get_assembly_qualified_name(self) -> Il2CppString { ... }
fn get_declaring_type(self) -> SystemType { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_namespace(self) -> Il2CppString { ... }
fn get_hash_code(self) -> i32 { ... }
fn get_full_name_2(self) -> Il2CppString { ... }
}Provided Methods§
Sourcefn is_special_serializable_type(self) -> bool
fn is_special_serializable_type(self) -> bool
IsSpecialSerializableType() overload
Sourcefn get_methods(self, binding_attr: impl Into<BindingFlags>) -> Array<MethodInfo>
fn get_methods(self, binding_attr: impl Into<BindingFlags>) -> Array<MethodInfo>
GetMethods(crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_constructors(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<ConstructorInfo>
fn get_constructors( self, binding_attr: impl Into<BindingFlags>, ) -> Array<ConstructorInfo>
GetConstructors(crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_properties(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<PropertyInfo>
fn get_properties( self, binding_attr: impl Into<BindingFlags>, ) -> Array<PropertyInfo>
GetProperties(crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_events(self, binding_attr: impl Into<BindingFlags>) -> Array<EventInfo>
fn get_events(self, binding_attr: impl Into<BindingFlags>) -> Array<EventInfo>
GetEvents(crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_fields(self, binding_attr: impl Into<BindingFlags>) -> Array<FieldInfo>
fn get_fields(self, binding_attr: impl Into<BindingFlags>) -> Array<FieldInfo>
GetFields(crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_nested_types(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<SystemType>
fn get_nested_types( self, binding_attr: impl Into<BindingFlags>, ) -> Array<SystemType>
GetNestedTypes(crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_method_impl(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
call_conv: impl Into<CallingConventions>,
types: impl Into<Array<SystemType>>,
modifiers: impl Into<Array<ParameterModifier>>,
) -> MethodInfo
fn get_method_impl( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, binder: impl Into<Binder>, call_conv: impl Into<CallingConventions>, types: impl Into<Array<SystemType>>, modifiers: impl Into<Array<ParameterModifier>>, ) -> MethodInfo
GetMethodImpl(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::binder::Binder, crate::system::reflection::callingconventions::CallingConventions, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>) overload
Sourcefn get_constructor_impl(
self,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
call_convention: impl Into<CallingConventions>,
types: impl Into<Array<SystemType>>,
modifiers: impl Into<Array<ParameterModifier>>,
) -> ConstructorInfo
fn get_constructor_impl( self, binding_attr: impl Into<BindingFlags>, binder: impl Into<Binder>, call_convention: impl Into<CallingConventions>, types: impl Into<Array<SystemType>>, modifiers: impl Into<Array<ParameterModifier>>, ) -> ConstructorInfo
GetConstructorImpl(crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::binder::Binder, crate::system::reflection::callingconventions::CallingConventions, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>) overload
Sourcefn get_property_impl(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
return_type: impl Into<SystemType>,
types: impl Into<Array<SystemType>>,
modifiers: impl Into<Array<ParameterModifier>>,
) -> PropertyInfo
fn get_property_impl( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, binder: impl Into<Binder>, return_type: impl Into<SystemType>, types: impl Into<Array<SystemType>>, modifiers: impl Into<Array<ParameterModifier>>, ) -> PropertyInfo
GetPropertyImpl(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::binder::Binder, ::unity::SystemType, ::unity::Array<::unity::SystemType>, ::unity::Array<crate::system::reflection::parametermodifier::ParameterModifier>) overload
Sourcefn get_event(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> EventInfo
fn get_event( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> EventInfo
GetEvent(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_field(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> FieldInfo
fn get_field( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> FieldInfo
GetField(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_interface(
self,
fullname: impl Into<Il2CppString>,
ignore_case: impl Into<bool>,
) -> SystemType
fn get_interface( self, fullname: impl Into<Il2CppString>, ignore_case: impl Into<bool>, ) -> SystemType
GetInterface(::unity::Il2CppString, bool) overload
Sourcefn get_nested_type(
self,
fullname: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> SystemType
fn get_nested_type( self, fullname: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> SystemType
GetNestedType(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_member(
self,
name: impl Into<Il2CppString>,
type: impl Into<MemberTypes>,
binding_attr: impl Into<BindingFlags>,
) -> Array<MemberInfo>
fn get_member( self, name: impl Into<Il2CppString>, type: impl Into<MemberTypes>, binding_attr: impl Into<BindingFlags>, ) -> Array<MemberInfo>
GetMember(::unity::Il2CppString, crate::system::reflection::membertypes::MemberTypes, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_module(self) -> Module
fn get_module(self) -> Module
get_Module() overload
Sourcefn get_runtime_module(self) -> RuntimeModule
fn get_runtime_module(self) -> RuntimeModule
GetRuntimeModule() overload
Sourcefn get_assembly(self) -> Assembly
fn get_assembly(self) -> Assembly
get_Assembly() overload
Sourcefn get_runtime_assembly(self) -> RuntimeAssembly
fn get_runtime_assembly(self) -> RuntimeAssembly
GetRuntimeAssembly() overload
Sourcefn is_instance_of_type(self, o: impl Into<Object>) -> bool
fn is_instance_of_type(self, o: impl Into<Object>) -> bool
IsInstanceOfType(crate::system::object::Object) overload
Sourcefn is_subclass_of(self, type: impl Into<SystemType>) -> bool
fn is_subclass_of(self, type: impl Into<SystemType>) -> bool
IsSubclassOf(::unity::SystemType) overload
Sourcefn is_assignable_from(self, c: impl Into<SystemType>) -> bool
fn is_assignable_from(self, c: impl Into<SystemType>) -> bool
IsAssignableFrom(::unity::SystemType) overload
Sourcefn is_equivalent_to(self, other: impl Into<SystemType>) -> bool
fn is_equivalent_to(self, other: impl Into<SystemType>) -> bool
IsEquivalentTo(::unity::SystemType) overload
Sourcefn get_base_type(self) -> SystemType
fn get_base_type(self) -> SystemType
get_BaseType() overload
Sourcefn get_underlying_system_type(self) -> SystemType
fn get_underlying_system_type(self) -> SystemType
get_UnderlyingSystemType() overload
Sourcefn get_attribute_flags_impl(self) -> TypeAttributes
fn get_attribute_flags_impl(self) -> TypeAttributes
GetAttributeFlagsImpl() overload
Sourcefn is_contextful_impl(self) -> bool
fn is_contextful_impl(self) -> bool
IsContextfulImpl() overload
Sourcefn is_by_ref_impl(self) -> bool
fn is_by_ref_impl(self) -> bool
IsByRefImpl() overload
Sourcefn is_primitive_impl(self) -> bool
fn is_primitive_impl(self) -> bool
IsPrimitiveImpl() overload
Sourcefn is_pointer_impl(self) -> bool
fn is_pointer_impl(self) -> bool
IsPointerImpl() overload
Sourcefn is_com_object_impl(self) -> bool
fn is_com_object_impl(self) -> bool
IsCOMObjectImpl() overload
Sourcefn is_value_type_impl(self) -> bool
fn is_value_type_impl(self) -> bool
IsValueTypeImpl() overload
Sourcefn get_is_enum(self) -> bool
fn get_is_enum(self) -> bool
get_IsEnum() overload
Sourcefn has_element_type_impl(self) -> bool
fn has_element_type_impl(self) -> bool
HasElementTypeImpl() overload
Sourcefn get_generic_parameter_attributes(self) -> GenericParameterAttributes
fn get_generic_parameter_attributes(self) -> GenericParameterAttributes
get_GenericParameterAttributes() overload
Sourcefn get_is_sz_array(self) -> bool
fn get_is_sz_array(self) -> bool
get_IsSzArray() overload
Sourcefn is_array_impl(self) -> bool
fn is_array_impl(self) -> bool
IsArrayImpl() overload
Sourcefn get_array_rank(self) -> i32
fn get_array_rank(self) -> i32
GetArrayRank() overload
Sourcefn get_element_type(self) -> SystemType
fn get_element_type(self) -> SystemType
GetElementType() overload
Sourcefn get_enum_names(self) -> Array<Il2CppString>
fn get_enum_names(self) -> Array<Il2CppString>
GetEnumNames() overload
Sourcefn get_enum_values(self) -> IlInstance
fn get_enum_values(self) -> IlInstance
GetEnumValues() overload
Sourcefn get_enum_underlying_type(self) -> SystemType
fn get_enum_underlying_type(self) -> SystemType
GetEnumUnderlyingType() overload
Sourcefn is_enum_defined(self, value: impl Into<Object>) -> bool
fn is_enum_defined(self, value: impl Into<Object>) -> bool
IsEnumDefined(crate::system::object::Object) overload
Sourcefn get_enum_name(self, value: impl Into<Object>) -> Il2CppString
fn get_enum_name(self, value: impl Into<Object>) -> Il2CppString
GetEnumName(crate::system::object::Object) overload
Sourcefn get_generic_arguments_internal(self) -> Array<RuntimeType>
fn get_generic_arguments_internal(self) -> Array<RuntimeType>
GetGenericArgumentsInternal() overload
Sourcefn get_generic_arguments(self) -> Array<SystemType>
fn get_generic_arguments(self) -> Array<SystemType>
GetGenericArguments() overload
Sourcefn make_generic_type(
self,
instantiation: impl Into<Array<SystemType>>,
) -> SystemType
fn make_generic_type( self, instantiation: impl Into<Array<SystemType>>, ) -> SystemType
MakeGenericType(::unity::Array<::unity::SystemType>) overload
Sourcefn get_is_generic_type_definition(self) -> bool
fn get_is_generic_type_definition(self) -> bool
get_IsGenericTypeDefinition() overload
Sourcefn get_is_generic_parameter(self) -> bool
fn get_is_generic_parameter(self) -> bool
get_IsGenericParameter() overload
Sourcefn get_generic_parameter_position(self) -> i32
fn get_generic_parameter_position(self) -> i32
get_GenericParameterPosition() overload
Sourcefn get_generic_type_definition(self) -> SystemType
fn get_generic_type_definition(self) -> SystemType
GetGenericTypeDefinition() overload
Sourcefn get_is_generic_type(self) -> bool
fn get_is_generic_type(self) -> bool
get_IsGenericType() overload
Sourcefn get_is_constructed_generic_type(self) -> bool
fn get_is_constructed_generic_type(self) -> bool
get_IsConstructedGenericType() overload
Sourcefn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object>
fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object>
GetCustomAttributes(bool) overload
Sourcefn get_custom_attributes_2(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> Array<Object>
fn get_custom_attributes_2( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>
GetCustomAttributes(::unity::SystemType, bool) overload
Sourcefn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool
fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool
IsDefined(::unity::SystemType, bool) overload
Sourcefn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>
fn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>
GetCustomAttributesData() overload
Sourcefn format_type_name(self, serialization: impl Into<bool>) -> Il2CppString
fn format_type_name(self, serialization: impl Into<bool>) -> Il2CppString
FormatTypeName(bool) overload
Sourcefn get_member_type(self) -> MemberTypes
fn get_member_type(self) -> MemberTypes
get_MemberType() overload
Sourcefn get_reflected_type(self) -> SystemType
fn get_reflected_type(self) -> SystemType
get_ReflectedType() overload
Sourcefn get_metadata_token(self) -> i32
fn get_metadata_token(self) -> i32
get_MetadataToken() overload
Sourcefn create_instance_check_this(self)
fn create_instance_check_this(self)
CreateInstanceCheckThis() overload
Sourcefn get_default_constructor(self) -> MonoCMethod
fn get_default_constructor(self) -> MonoCMethod
GetDefaultConstructor() overload
Sourcefn get_default_member_name(self) -> Il2CppString
fn get_default_member_name(self) -> Il2CppString
GetDefaultMemberName() overload
Sourcefn get_serialization_ctor(self) -> RuntimeConstructorInfo
fn get_serialization_ctor(self) -> RuntimeConstructorInfo
GetSerializationCtor() overload
Sourcefn create_instance_mono(self, non_public: impl Into<bool>) -> Object
fn create_instance_mono(self, non_public: impl Into<bool>) -> Object
CreateInstanceMono(bool) overload
Sourcefn try_convert_to_type(self, value: impl Into<Object>) -> (Object, bool)
fn try_convert_to_type(self, value: impl Into<Object>) -> (Object, bool)
TryConvertToType(crate::system::object::Object, *mutbool) overload
Sourcefn make_array_type(self, rank: impl Into<i32>) -> SystemType
fn make_array_type(self, rank: impl Into<i32>) -> SystemType
make_array_type(i32) overload
Sourcefn make_array_type_2(self) -> SystemType
fn make_array_type_2(self) -> SystemType
MakeArrayType() overload
Sourcefn make_byref_type(self) -> SystemType
fn make_byref_type(self) -> SystemType
make_byref_type() overload
Sourcefn make_by_ref_type(self) -> SystemType
fn make_by_ref_type(self) -> SystemType
MakeByRefType() overload
Sourcefn make_pointer_type_2(self) -> SystemType
fn make_pointer_type_2(self) -> SystemType
MakePointerType() overload
Sourcefn get_contains_generic_parameters(self) -> bool
fn get_contains_generic_parameters(self) -> bool
get_ContainsGenericParameters() overload
Sourcefn get_generic_parameter_constraints(self) -> Array<SystemType>
fn get_generic_parameter_constraints(self) -> Array<SystemType>
GetGenericParameterConstraints() overload
Sourcefn get_methods_by_name_native(
self,
name_ptr: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
ignore_case: impl Into<bool>,
) -> IntPtr
fn get_methods_by_name_native( self, name_ptr: impl Into<IntPtr>, binding_attr: impl Into<BindingFlags>, ignore_case: impl Into<bool>, ) -> IntPtr
GetMethodsByName_native(::unity::IntPtr, crate::system::reflection::bindingflags::BindingFlags, bool) overload
Sourcefn get_methods_by_name(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
ignore_case: impl Into<bool>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeMethodInfo>
fn get_methods_by_name( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ignore_case: impl Into<bool>, reflected_type: impl Into<RuntimeType>, ) -> Array<RuntimeMethodInfo>
GetMethodsByName(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, bool, crate::system::runtimetype::RuntimeType) overload
Sourcefn get_properties_by_name_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
icase: impl Into<bool>,
) -> IntPtr
fn get_properties_by_name_native( self, name: impl Into<IntPtr>, binding_attr: impl Into<BindingFlags>, icase: impl Into<bool>, ) -> IntPtr
GetPropertiesByName_native(::unity::IntPtr, crate::system::reflection::bindingflags::BindingFlags, bool) overload
Sourcefn get_constructors_native(
self,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr
fn get_constructors_native( self, binding_attr: impl Into<BindingFlags>, ) -> IntPtr
GetConstructors_native(crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_constructors_internal(
self,
binding_attr: impl Into<BindingFlags>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeConstructorInfo>
fn get_constructors_internal( self, binding_attr: impl Into<BindingFlags>, reflected_type: impl Into<RuntimeType>, ) -> Array<RuntimeConstructorInfo>
GetConstructors_internal(crate::system::reflection::bindingflags::BindingFlags, crate::system::runtimetype::RuntimeType) overload
Sourcefn get_properties_by_name(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
icase: impl Into<bool>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimePropertyInfo>
fn get_properties_by_name( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, icase: impl Into<bool>, reflected_type: impl Into<RuntimeType>, ) -> Array<RuntimePropertyInfo>
GetPropertiesByName(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, bool, crate::system::runtimetype::RuntimeType) overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn is_generic_com_object_impl(self) -> bool
fn is_generic_com_object_impl(self) -> bool
IsGenericCOMObjectImpl() overload
Sourcefn get_declaring_method(self) -> MethodBase
fn get_declaring_method(self) -> MethodBase
get_DeclaringMethod() overload
Sourcefn get_full_name(
self,
full_name: impl Into<bool>,
assembly_qualified: impl Into<bool>,
) -> Il2CppString
fn get_full_name( self, full_name: impl Into<bool>, assembly_qualified: impl Into<bool>, ) -> Il2CppString
getFullName(bool, bool) overload
Sourcefn get_generic_arguments_internal_2(
self,
runtime_array: impl Into<bool>,
) -> Array<SystemType>
fn get_generic_arguments_internal_2( self, runtime_array: impl Into<bool>, ) -> Array<SystemType>
GetGenericArgumentsInternal(bool) overload
Sourcefn get_events_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr
fn get_events_native( self, name: impl Into<IntPtr>, binding_attr: impl Into<BindingFlags>, ) -> IntPtr
GetEvents_native(::unity::IntPtr, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_fields_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr
fn get_fields_native( self, name: impl Into<IntPtr>, binding_attr: impl Into<BindingFlags>, ) -> IntPtr
GetFields_native(::unity::IntPtr, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_fields_internal(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeFieldInfo>
fn get_fields_internal( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, reflected_type: impl Into<RuntimeType>, ) -> Array<RuntimeFieldInfo>
GetFields_internal(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, crate::system::runtimetype::RuntimeType) overload
Sourcefn get_events_internal(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
reflected_type: impl Into<RuntimeType>,
) -> Array<RuntimeEventInfo>
fn get_events_internal( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, reflected_type: impl Into<RuntimeType>, ) -> Array<RuntimeEventInfo>
GetEvents_internal(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags, crate::system::runtimetype::RuntimeType) overload
Sourcefn get_interfaces(self) -> Array<SystemType>
fn get_interfaces(self) -> Array<SystemType>
GetInterfaces() overload
Sourcefn get_nested_types_native(
self,
name: impl Into<IntPtr>,
binding_attr: impl Into<BindingFlags>,
) -> IntPtr
fn get_nested_types_native( self, name: impl Into<IntPtr>, binding_attr: impl Into<BindingFlags>, ) -> IntPtr
GetNestedTypes_native(::unity::IntPtr, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_nested_types_internal(
self,
display_name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> Array<RuntimeType>
fn get_nested_types_internal( self, display_name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> Array<RuntimeType>
GetNestedTypes_internal(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn get_assembly_qualified_name(self) -> Il2CppString
fn get_assembly_qualified_name(self) -> Il2CppString
get_AssemblyQualifiedName() overload
Sourcefn get_declaring_type(self) -> SystemType
fn get_declaring_type(self) -> SystemType
get_DeclaringType() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn get_namespace(self) -> Il2CppString
fn get_namespace(self) -> Il2CppString
get_Namespace() overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
Sourcefn get_full_name_2(self) -> Il2CppString
fn get_full_name_2(self) -> Il2CppString
get_FullName() 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: IRuntimeType> IRuntimeTypeMethods for __T
system-runtimetype only.