Skip to main content

RuntimeType

Struct RuntimeType 

Source
pub struct RuntimeType(/* private fields */);
Expand description

IL2CPP class: System.RuntimeType Inherits: TypeInfo

Implementations§

Source§

impl RuntimeType

Source

pub fn base(self) -> TypeInfo

Source§

impl RuntimeType

Source

pub fn value_type() -> RuntimeType

Source

pub fn set_value_type(value: RuntimeType)

Source

pub fn enum_type() -> RuntimeType

Source

pub fn set_enum_type(value: RuntimeType)

Source

pub fn object_type() -> RuntimeType

Source

pub fn set_object_type(value: RuntimeType)

Source

pub fn string_type() -> RuntimeType

Source

pub fn set_string_type(value: RuntimeType)

Source

pub fn delegate_type() -> RuntimeType

Source

pub fn set_delegate_type(value: RuntimeType)

Source

pub fn s_si_ctor_param_types() -> Array<SystemType>

Source

pub fn set_s_si_ctor_param_types(value: Array<SystemType>)

Source

pub fn member_binding_mask() -> BindingFlags

Source

pub fn set_member_binding_mask(value: BindingFlags)

Source

pub fn invocation_mask() -> BindingFlags

Source

pub fn set_invocation_mask(value: BindingFlags)

Source

pub fn binder_non_create_instance() -> BindingFlags

Source

pub fn set_binder_non_create_instance(value: BindingFlags)

Source

pub fn binder_get_set_property() -> BindingFlags

Source

pub fn set_binder_get_set_property(value: BindingFlags)

Source

pub fn binder_set_invoke_property() -> BindingFlags

Source

pub fn set_binder_set_invoke_property(value: BindingFlags)

Source

pub fn binder_get_set_field() -> BindingFlags

Source

pub fn set_binder_get_set_field(value: BindingFlags)

Source

pub fn binder_set_invoke_field() -> BindingFlags

Source

pub fn set_binder_set_invoke_field(value: BindingFlags)

Source

pub fn binder_non_field_get_set() -> BindingFlags

Source

pub fn set_binder_non_field_get_set(value: BindingFlags)

Source

pub fn classic_binding_mask() -> BindingFlags

Source

pub fn set_classic_binding_mask(value: BindingFlags)

Source

pub fn s_typed_ref() -> RuntimeType

Source

pub fn set_s_typed_ref(value: RuntimeType)

Source§

impl RuntimeType

Source

pub fn throw_if_type_never_valid_generic_argument(type: impl Into<RuntimeType>)

ThrowIfTypeNeverValidGenericArgument(crate::system::runtimetype::RuntimeType) overload

Source

pub fn sanity_check_generic_arguments( generic_arguments: impl Into<Array<RuntimeType>>, generic_paramters: impl Into<Array<RuntimeType>>, )

SanityCheckGenericArguments(::unity::Array<crate::system::runtimetype::RuntimeType>, ::unity::Array<crate::system::runtimetype::RuntimeType>) overload

Source

pub fn split_name( fullname: impl Into<Il2CppString>, ) -> (Il2CppString, Il2CppString)

SplitName(::unity::Il2CppString, *mut::unity::Il2CppString, *mut::unity::Il2CppString) overload

Source

pub fn filter_apply_prefix_lookup( member_info: impl Into<MemberInfo>, name: impl Into<Il2CppString>, ignore_case: impl Into<bool>, ) -> bool

FilterApplyPrefixLookup(crate::system::reflection::memberinfo::MemberInfo, ::unity::Il2CppString, bool) overload

Source

pub fn filter_apply_base( member_info: impl Into<MemberInfo>, binding_flags: impl Into<BindingFlags>, is_public: impl Into<bool>, is_non_protected_internal: impl Into<bool>, is_static: impl Into<bool>, name: impl Into<Il2CppString>, prefix_lookup: impl Into<bool>, ) -> bool

FilterApplyBase(crate::system::reflection::memberinfo::MemberInfo, crate::system::reflection::bindingflags::BindingFlags, bool, bool, bool, ::unity::Il2CppString, bool) overload

Source

pub fn filter_apply_type( type: impl Into<SystemType>, binding_flags: impl Into<BindingFlags>, name: impl Into<Il2CppString>, prefix_lookup: impl Into<bool>, ns: impl Into<Il2CppString>, ) -> bool

FilterApplyType(::unity::SystemType, crate::system::reflection::bindingflags::BindingFlags, ::unity::Il2CppString, bool, ::unity::Il2CppString) overload

Source

pub fn filter_apply_method_info( method: impl Into<RuntimeMethodInfo>, binding_flags: impl Into<BindingFlags>, call_conv: impl Into<CallingConventions>, argument_types: impl Into<Array<SystemType>>, ) -> bool

FilterApplyMethodInfo(crate::system::reflection::runtimemethodinfo::RuntimeMethodInfo, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::callingconventions::CallingConventions, ::unity::Array<::unity::SystemType>) overload

Source

pub fn filter_apply_constructor_info( constructor: impl Into<RuntimeConstructorInfo>, binding_flags: impl Into<BindingFlags>, call_conv: impl Into<CallingConventions>, argument_types: impl Into<Array<SystemType>>, ) -> bool

FilterApplyConstructorInfo(crate::system::reflection::runtimeconstructorinfo::RuntimeConstructorInfo, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::callingconventions::CallingConventions, ::unity::Array<::unity::SystemType>) overload

Source

pub fn filter_apply_method_base( method_base: impl Into<MethodBase>, method_flags: impl Into<BindingFlags>, binding_flags: impl Into<BindingFlags>, call_conv: impl Into<CallingConventions>, argument_types: impl Into<Array<SystemType>>, ) -> bool

FilterApplyMethodBase(crate::system::reflection::methodbase::MethodBase, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::bindingflags::BindingFlags, crate::system::reflection::callingconventions::CallingConventions, ::unity::Array<::unity::SystemType>) overload

Source

pub fn op_equality( left: impl Into<RuntimeType>, right: impl Into<RuntimeType>, ) -> bool

op_Equality(crate::system::runtimetype::RuntimeType, crate::system::runtimetype::RuntimeType) overload

Source

pub fn op_inequality( left: impl Into<RuntimeType>, right: impl Into<RuntimeType>, ) -> bool

op_Inequality(crate::system::runtimetype::RuntimeType, crate::system::runtimetype::RuntimeType) overload

Source

pub fn is_convertible_to_primitive_type( value: impl Into<Object>, target_type: impl Into<SystemType>, ) -> Object

IsConvertibleToPrimitiveType(crate::system::object::Object, ::unity::SystemType) overload

Source

pub fn make_pointer_type(type: impl Into<SystemType>) -> SystemType

MakePointerType(::unity::SystemType) overload

Source

pub fn create_instance_for_another_generic_parameter( generic_type: impl Into<SystemType>, generic_argument: impl Into<RuntimeType>, ) -> Object

CreateInstanceForAnotherGenericParameter(::unity::SystemType, crate::system::runtimetype::RuntimeType) overload

Source

pub fn make_generic_type_2( gt: impl Into<SystemType>, types: impl Into<Array<SystemType>>, ) -> SystemType

MakeGenericType(::unity::SystemType, ::unity::Array<::unity::SystemType>) overload

Source

pub fn create_instance_internal(type: impl Into<SystemType>) -> Object

CreateInstanceInternal(::unity::SystemType) overload

Source

pub fn cctor()

.cctor() overload

Source§

impl RuntimeType

Source

pub fn throw_if_type_never_valid_generic_argument_method_info() -> &'static MethodInfo

Source

pub fn sanity_check_generic_arguments_method_info() -> &'static MethodInfo

Source

pub fn split_name_method_info() -> &'static MethodInfo

Source

pub fn filter_apply_prefix_lookup_method_info() -> &'static MethodInfo

Source

pub fn filter_apply_base_method_info() -> &'static MethodInfo

Source

pub fn filter_apply_type_method_info() -> &'static MethodInfo

Source

pub fn filter_apply_method_info_method_info() -> &'static MethodInfo

Source

pub fn filter_apply_constructor_info_method_info() -> &'static MethodInfo

Source

pub fn filter_apply_method_base_method_info() -> &'static MethodInfo

Source

pub fn ctor_method_info() -> &'static MethodInfo

Source

pub fn is_special_serializable_type_method_info() -> &'static MethodInfo

Source

pub fn get_methods_method_info() -> &'static MethodInfo

Source

pub fn get_constructors_method_info() -> &'static MethodInfo

Source

pub fn get_properties_method_info() -> &'static MethodInfo

Source

pub fn get_events_method_info() -> &'static MethodInfo

Source

pub fn get_fields_method_info() -> &'static MethodInfo

Source

pub fn get_nested_types_method_info() -> &'static MethodInfo

Source

pub fn get_method_impl_method_info() -> &'static MethodInfo

Source

pub fn get_constructor_impl_method_info() -> &'static MethodInfo

Source

pub fn get_property_impl_method_info() -> &'static MethodInfo

Source

pub fn get_event_method_info() -> &'static MethodInfo

Source

pub fn get_field_method_info() -> &'static MethodInfo

Source

pub fn get_interface_method_info() -> &'static MethodInfo

Source

pub fn get_nested_type_method_info() -> &'static MethodInfo

Source

pub fn get_member_method_info() -> &'static MethodInfo

Source

pub fn get_module_method_info() -> &'static MethodInfo

Source

pub fn get_runtime_module_method_info() -> &'static MethodInfo

Source

pub fn get_assembly_method_info() -> &'static MethodInfo

Source

pub fn get_runtime_assembly_method_info() -> &'static MethodInfo

Source

pub fn is_instance_of_type_method_info() -> &'static MethodInfo

Source

pub fn is_subclass_of_method_info() -> &'static MethodInfo

Source

pub fn is_assignable_from_method_info() -> &'static MethodInfo

Source

pub fn is_equivalent_to_method_info() -> &'static MethodInfo

Source

pub fn get_base_type_method_info() -> &'static MethodInfo

Source

pub fn get_underlying_system_type_method_info() -> &'static MethodInfo

Source

pub fn get_attribute_flags_impl_method_info() -> &'static MethodInfo

Source

pub fn is_contextful_impl_method_info() -> &'static MethodInfo

Source

pub fn is_by_ref_impl_method_info() -> &'static MethodInfo

Source

pub fn is_primitive_impl_method_info() -> &'static MethodInfo

Source

pub fn is_pointer_impl_method_info() -> &'static MethodInfo

Source

pub fn is_com_object_impl_method_info() -> &'static MethodInfo

Source

pub fn is_value_type_impl_method_info() -> &'static MethodInfo

Source

pub fn get_is_enum_method_info() -> &'static MethodInfo

Source

pub fn has_element_type_impl_method_info() -> &'static MethodInfo

Source

pub fn get_generic_parameter_attributes_method_info() -> &'static MethodInfo

Source

pub fn get_is_sz_array_method_info() -> &'static MethodInfo

Source

pub fn is_array_impl_method_info() -> &'static MethodInfo

Source

pub fn get_array_rank_method_info() -> &'static MethodInfo

Source

pub fn get_element_type_method_info() -> &'static MethodInfo

Source

pub fn get_enum_names_method_info() -> &'static MethodInfo

Source

pub fn get_enum_values_method_info() -> &'static MethodInfo

Source

pub fn get_enum_underlying_type_method_info() -> &'static MethodInfo

Source

pub fn is_enum_defined_method_info() -> &'static MethodInfo

Source

pub fn get_enum_name_method_info() -> &'static MethodInfo

Source

pub fn get_generic_arguments_internal_method_info() -> &'static MethodInfo

Source

pub fn get_generic_arguments_method_info() -> &'static MethodInfo

Source

pub fn make_generic_type_method_info() -> &'static MethodInfo

Source

pub fn get_is_generic_type_definition_method_info() -> &'static MethodInfo

Source

pub fn get_is_generic_parameter_method_info() -> &'static MethodInfo

Source

pub fn get_generic_parameter_position_method_info() -> &'static MethodInfo

Source

pub fn get_generic_type_definition_method_info() -> &'static MethodInfo

Source

pub fn get_is_generic_type_method_info() -> &'static MethodInfo

Source

pub fn get_is_constructed_generic_type_method_info() -> &'static MethodInfo

Source

pub fn equals_method_info() -> &'static MethodInfo

Source

pub fn op_equality_method_info() -> &'static MethodInfo

Source

pub fn op_inequality_method_info() -> &'static MethodInfo

Source

pub fn clone_method_info() -> &'static MethodInfo

Source

pub fn get_custom_attributes_method_info() -> &'static MethodInfo

Source

pub fn get_custom_attributes_2_method_info() -> &'static MethodInfo

Source

pub fn is_defined_method_info() -> &'static MethodInfo

Source

pub fn get_custom_attributes_data_method_info() -> &'static MethodInfo

Source

pub fn format_type_name_method_info() -> &'static MethodInfo

Source

pub fn get_member_type_method_info() -> &'static MethodInfo

Source

pub fn get_reflected_type_method_info() -> &'static MethodInfo

Source

pub fn get_metadata_token_method_info() -> &'static MethodInfo

Source

pub fn create_instance_check_this_method_info() -> &'static MethodInfo

Source

pub fn get_default_constructor_method_info() -> &'static MethodInfo

Source

pub fn get_default_member_name_method_info() -> &'static MethodInfo

Source

pub fn get_serialization_ctor_method_info() -> &'static MethodInfo

Source

pub fn create_instance_mono_method_info() -> &'static MethodInfo

Source

pub fn try_convert_to_type_method_info() -> &'static MethodInfo

Source

pub fn is_convertible_to_primitive_type_method_info() -> &'static MethodInfo

Source

pub fn make_array_type_method_info() -> &'static MethodInfo

Source

pub fn make_array_type_2_method_info() -> &'static MethodInfo

Source

pub fn make_byref_type_method_info() -> &'static MethodInfo

Source

pub fn make_by_ref_type_method_info() -> &'static MethodInfo

Source

pub fn make_pointer_type_method_info() -> &'static MethodInfo

Source

pub fn make_pointer_type_2_method_info() -> &'static MethodInfo

Source

pub fn get_contains_generic_parameters_method_info() -> &'static MethodInfo

Source

pub fn get_generic_parameter_constraints_method_info() -> &'static MethodInfo

Source

pub fn create_instance_for_another_generic_parameter_method_info() -> &'static MethodInfo

Source

pub fn make_generic_type_2_method_info() -> &'static MethodInfo

Source

pub fn get_methods_by_name_native_method_info() -> &'static MethodInfo

Source

pub fn get_methods_by_name_method_info() -> &'static MethodInfo

Source

pub fn get_properties_by_name_native_method_info() -> &'static MethodInfo

Source

pub fn get_constructors_native_method_info() -> &'static MethodInfo

Source

pub fn get_constructors_internal_method_info() -> &'static MethodInfo

Source

pub fn get_properties_by_name_method_info() -> &'static MethodInfo

Source

pub fn to_string_method_info() -> &'static MethodInfo

Source

pub fn is_generic_com_object_impl_method_info() -> &'static MethodInfo

Source

pub fn create_instance_internal_method_info() -> &'static MethodInfo

Source

pub fn get_declaring_method_method_info() -> &'static MethodInfo

Source

pub fn get_full_name_method_info() -> &'static MethodInfo

Source

pub fn get_generic_arguments_internal_2_method_info() -> &'static MethodInfo

Source

pub fn get_events_native_method_info() -> &'static MethodInfo

Source

pub fn get_fields_native_method_info() -> &'static MethodInfo

Source

pub fn get_fields_internal_method_info() -> &'static MethodInfo

Source

pub fn get_events_internal_method_info() -> &'static MethodInfo

Source

pub fn get_interfaces_method_info() -> &'static MethodInfo

Source

pub fn get_nested_types_native_method_info() -> &'static MethodInfo

Source

pub fn get_nested_types_internal_method_info() -> &'static MethodInfo

Source

pub fn get_assembly_qualified_name_method_info() -> &'static MethodInfo

Source

pub fn get_declaring_type_method_info() -> &'static MethodInfo

Source

pub fn get_name_method_info() -> &'static MethodInfo

Source

pub fn get_namespace_method_info() -> &'static MethodInfo

Source

pub fn get_hash_code_method_info() -> &'static MethodInfo

Source

pub fn get_full_name_2_method_info() -> &'static MethodInfo

Source

pub fn cctor_method_info() -> &'static MethodInfo

Source§

impl RuntimeType

Source

pub unsafe fn get_methods( this: impl Into<IlInstance>, binding_attr: BindingFlags, ) -> Array<MethodInfo>

Direct (non-virtual) call to RuntimeType’s own GetMethods. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_constructors( this: impl Into<IlInstance>, binding_attr: BindingFlags, ) -> Array<ConstructorInfo>

Direct (non-virtual) call to RuntimeType’s own GetConstructors. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_properties( this: impl Into<IlInstance>, binding_attr: BindingFlags, ) -> Array<PropertyInfo>

Direct (non-virtual) call to RuntimeType’s own GetProperties. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_events( this: impl Into<IlInstance>, binding_attr: BindingFlags, ) -> Array<EventInfo>

Direct (non-virtual) call to RuntimeType’s own GetEvents. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_fields( this: impl Into<IlInstance>, binding_attr: BindingFlags, ) -> Array<FieldInfo>

Direct (non-virtual) call to RuntimeType’s own GetFields. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_nested_types( this: impl Into<IlInstance>, binding_attr: BindingFlags, ) -> Array<SystemType>

Direct (non-virtual) call to RuntimeType’s own GetNestedTypes. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_method_impl( this: impl Into<IlInstance>, name: Il2CppString, binding_attr: BindingFlags, binder: Binder, call_conv: CallingConventions, types: Array<SystemType>, modifiers: Array<ParameterModifier>, ) -> MethodInfo

Direct (non-virtual) call to RuntimeType’s own GetMethodImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_constructor_impl( this: impl Into<IlInstance>, binding_attr: BindingFlags, binder: Binder, call_convention: CallingConventions, types: Array<SystemType>, modifiers: Array<ParameterModifier>, ) -> ConstructorInfo

Direct (non-virtual) call to RuntimeType’s own GetConstructorImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_property_impl( this: impl Into<IlInstance>, name: Il2CppString, binding_attr: BindingFlags, binder: Binder, return_type: SystemType, types: Array<SystemType>, modifiers: Array<ParameterModifier>, ) -> PropertyInfo

Direct (non-virtual) call to RuntimeType’s own GetPropertyImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_event( this: impl Into<IlInstance>, name: Il2CppString, binding_attr: BindingFlags, ) -> EventInfo

Direct (non-virtual) call to RuntimeType’s own GetEvent. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_field( this: impl Into<IlInstance>, name: Il2CppString, binding_attr: BindingFlags, ) -> FieldInfo

Direct (non-virtual) call to RuntimeType’s own GetField. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_interface( this: impl Into<IlInstance>, fullname: Il2CppString, ignore_case: bool, ) -> SystemType

Direct (non-virtual) call to RuntimeType’s own GetInterface. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_nested_type( this: impl Into<IlInstance>, fullname: Il2CppString, binding_attr: BindingFlags, ) -> SystemType

Direct (non-virtual) call to RuntimeType’s own GetNestedType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_member( this: impl Into<IlInstance>, name: Il2CppString, type: MemberTypes, binding_attr: BindingFlags, ) -> Array<MemberInfo>

Direct (non-virtual) call to RuntimeType’s own GetMember. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_module(this: impl Into<IlInstance>) -> Module

Direct (non-virtual) call to RuntimeType’s own get_Module. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_assembly(this: impl Into<IlInstance>) -> Assembly

Direct (non-virtual) call to RuntimeType’s own get_Assembly. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_instance_of_type( this: impl Into<IlInstance>, o: Object, ) -> bool

Direct (non-virtual) call to RuntimeType’s own IsInstanceOfType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_subclass_of( this: impl Into<IlInstance>, type: SystemType, ) -> bool

Direct (non-virtual) call to RuntimeType’s own IsSubclassOf. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_assignable_from( this: impl Into<IlInstance>, c: SystemType, ) -> bool

Direct (non-virtual) call to RuntimeType’s own IsAssignableFrom. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_equivalent_to( this: impl Into<IlInstance>, other: SystemType, ) -> bool

Direct (non-virtual) call to RuntimeType’s own IsEquivalentTo. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_base_type(this: impl Into<IlInstance>) -> SystemType

Direct (non-virtual) call to RuntimeType’s own get_BaseType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_underlying_system_type( this: impl Into<IlInstance>, ) -> SystemType

Direct (non-virtual) call to RuntimeType’s own get_UnderlyingSystemType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_attribute_flags_impl( this: impl Into<IlInstance>, ) -> TypeAttributes

Direct (non-virtual) call to RuntimeType’s own GetAttributeFlagsImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_contextful_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own IsContextfulImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_by_ref_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own IsByRefImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_primitive_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own IsPrimitiveImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_pointer_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own IsPointerImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_com_object_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own IsCOMObjectImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_value_type_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own IsValueTypeImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_is_enum(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own get_IsEnum. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn has_element_type_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own HasElementTypeImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_generic_parameter_attributes( this: impl Into<IlInstance>, ) -> GenericParameterAttributes

Direct (non-virtual) call to RuntimeType’s own get_GenericParameterAttributes. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_is_sz_array(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own get_IsSzArray. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_array_impl(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own IsArrayImpl. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_array_rank(this: impl Into<IlInstance>) -> i32

Direct (non-virtual) call to RuntimeType’s own GetArrayRank. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_element_type(this: impl Into<IlInstance>) -> SystemType

Direct (non-virtual) call to RuntimeType’s own GetElementType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_enum_names(this: impl Into<IlInstance>) -> Array<Il2CppString>

Direct (non-virtual) call to RuntimeType’s own GetEnumNames. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_enum_values(this: impl Into<IlInstance>) -> IlInstance

Direct (non-virtual) call to RuntimeType’s own GetEnumValues. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_enum_underlying_type( this: impl Into<IlInstance>, ) -> SystemType

Direct (non-virtual) call to RuntimeType’s own GetEnumUnderlyingType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_enum_defined( this: impl Into<IlInstance>, value: Object, ) -> bool

Direct (non-virtual) call to RuntimeType’s own IsEnumDefined. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_enum_name( this: impl Into<IlInstance>, value: Object, ) -> Il2CppString

Direct (non-virtual) call to RuntimeType’s own GetEnumName. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_generic_arguments( this: impl Into<IlInstance>, ) -> Array<SystemType>

Direct (non-virtual) call to RuntimeType’s own GetGenericArguments. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn make_generic_type( this: impl Into<IlInstance>, instantiation: Array<SystemType>, ) -> SystemType

Direct (non-virtual) call to RuntimeType’s own MakeGenericType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_is_generic_type_definition( this: impl Into<IlInstance>, ) -> bool

Direct (non-virtual) call to RuntimeType’s own get_IsGenericTypeDefinition. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_is_generic_parameter(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own get_IsGenericParameter. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_generic_parameter_position(this: impl Into<IlInstance>) -> i32

Direct (non-virtual) call to RuntimeType’s own get_GenericParameterPosition. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_generic_type_definition( this: impl Into<IlInstance>, ) -> SystemType

Direct (non-virtual) call to RuntimeType’s own GetGenericTypeDefinition. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_is_generic_type(this: impl Into<IlInstance>) -> bool

Direct (non-virtual) call to RuntimeType’s own get_IsGenericType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_is_constructed_generic_type( this: impl Into<IlInstance>, ) -> bool

Direct (non-virtual) call to RuntimeType’s own get_IsConstructedGenericType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn equals(this: impl Into<IlInstance>, obj: Object) -> bool

Direct (non-virtual) call to RuntimeType’s own Equals. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn clone(this: impl Into<IlInstance>) -> Object

Direct (non-virtual) call to RuntimeType’s own Clone. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_custom_attributes( this: impl Into<IlInstance>, inherit: bool, ) -> Array<Object>

Direct (non-virtual) call to RuntimeType’s own GetCustomAttributes. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_custom_attributes_2( this: impl Into<IlInstance>, attribute_type: SystemType, inherit: bool, ) -> Array<Object>

Direct (non-virtual) call to RuntimeType’s own GetCustomAttributes. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn is_defined( this: impl Into<IlInstance>, attribute_type: SystemType, inherit: bool, ) -> bool

Direct (non-virtual) call to RuntimeType’s own IsDefined. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_custom_attributes_data( this: impl Into<IlInstance>, ) -> IList_1_Interface<CustomAttributeData>

Direct (non-virtual) call to RuntimeType’s own GetCustomAttributesData. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn format_type_name( this: impl Into<IlInstance>, serialization: bool, ) -> Il2CppString

Direct (non-virtual) call to RuntimeType’s own FormatTypeName. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_member_type(this: impl Into<IlInstance>) -> MemberTypes

Direct (non-virtual) call to RuntimeType’s own get_MemberType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_reflected_type(this: impl Into<IlInstance>) -> SystemType

Direct (non-virtual) call to RuntimeType’s own get_ReflectedType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_metadata_token(this: impl Into<IlInstance>) -> i32

Direct (non-virtual) call to RuntimeType’s own get_MetadataToken. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn make_array_type_2(this: impl Into<IlInstance>) -> SystemType

Direct (non-virtual) call to RuntimeType’s own MakeArrayType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn make_by_ref_type(this: impl Into<IlInstance>) -> SystemType

Direct (non-virtual) call to RuntimeType’s own MakeByRefType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn make_pointer_type_2(this: impl Into<IlInstance>) -> SystemType

Direct (non-virtual) call to RuntimeType’s own MakePointerType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_contains_generic_parameters( this: impl Into<IlInstance>, ) -> bool

Direct (non-virtual) call to RuntimeType’s own get_ContainsGenericParameters. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_generic_parameter_constraints( this: impl Into<IlInstance>, ) -> Array<SystemType>

Direct (non-virtual) call to RuntimeType’s own GetGenericParameterConstraints. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn to_string(this: impl Into<IlInstance>) -> Il2CppString

Direct (non-virtual) call to RuntimeType’s own ToString. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_declaring_method(this: impl Into<IlInstance>) -> MethodBase

Direct (non-virtual) call to RuntimeType’s own get_DeclaringMethod. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_interfaces(this: impl Into<IlInstance>) -> Array<SystemType>

Direct (non-virtual) call to RuntimeType’s own GetInterfaces. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_assembly_qualified_name( this: impl Into<IlInstance>, ) -> Il2CppString

Direct (non-virtual) call to RuntimeType’s own get_AssemblyQualifiedName. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_declaring_type(this: impl Into<IlInstance>) -> SystemType

Direct (non-virtual) call to RuntimeType’s own get_DeclaringType. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_name(this: impl Into<IlInstance>) -> Il2CppString

Direct (non-virtual) call to RuntimeType’s own get_Name. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_namespace(this: impl Into<IlInstance>) -> Il2CppString

Direct (non-virtual) call to RuntimeType’s own get_Namespace. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_hash_code(this: impl Into<IlInstance>) -> i32

Direct (non-virtual) call to RuntimeType’s own GetHashCode. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source

pub unsafe fn get_full_name_2(this: impl Into<IlInstance>) -> Il2CppString

Direct (non-virtual) call to RuntimeType’s own get_FullName. Bypasses the vtable, so it won’t hit an override/patch — use it for base calls.

Source§

impl RuntimeType

Source

pub fn new() -> Self

.ctor() — no args

Trait Implementations§

Source§

impl ClassIdentity for RuntimeType

Source§

const NAMESPACE: &'static str = "System"

Source§

const NAME: &'static str = "RuntimeType"

Source§

fn class() -> Class

Source§

impl Clone for RuntimeType

Source§

fn clone(&self) -> RuntimeType

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl FromIlInstance for RuntimeType

Source§

fn from_il_instance(instance: IlInstance) -> Self

§

fn instantiate() -> Option<Self>

§

fn instantiate_with_class(class: Class) -> Option<Self>

Caller swears class is a subtype of Self or layout compatible
Source§

impl IRuntimeType for RuntimeType

Source§

impl IlType for RuntimeType

Source§

fn il_type() -> &'static Il2CppType

Source§

impl Copy for RuntimeType

Source§

impl ITypeInfo for RuntimeType

Auto Trait Implementations§

§

impl Freeze for RuntimeType

§

impl RefUnwindSafe for RuntimeType

§

impl !Send for RuntimeType

§

impl !Sync for RuntimeType

§

impl Unpin for RuntimeType

§

impl UnwindSafe for RuntimeType

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Cast for T
where T: SystemObject,

§

fn get_class(self) -> Class

§

fn is_null(self) -> bool

§

fn rebind_class(self, new_class: Class)

§

fn override_class(self) -> Class

§

fn is_instance_of<T>(self) -> bool
where T: ClassIdentity,

§

fn is_direct_subclass_of<T>(self) -> bool
where T: ClassIdentity,

§

fn try_cast<T>(self) -> Option<T>

§

unsafe fn cast<T>(self) -> T

Safety Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> DefaultInjectedMembers for T

§

fn __injected_fields() -> Vec<InjectedFieldDescriptor>

§

fn __injected_methods() -> Vec<InjectedMethodDescriptor>

§

fn __injected_overrides() -> Vec<InjectedOverrideDescriptor>

§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T0, __U> IArrayBuilder_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, capacity: i32)
where Self: Sized,

Source§

fn get_capacity(self) -> i32
where Self: Sized,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_item(self, index: i32) -> T0
where Self: Sized,

Source§

fn add(self, item: T0)
where Self: Sized,

Source§

fn to_array(self) -> Array<T0>
where Self: Sized,

Source§

fn unchecked_add(self, item: T0)
where Self: Sized,

Source§

fn ensure_capacity(self, minimum: i32)
where Self: Sized,

Source§

impl<T0, __U> IAsyncOperationHandle_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_location_name(self) -> Il2CppString
where Self: Sized,

Source§

fn set_location_name(self, value: Il2CppString)
where Self: Sized,

Source§

fn op_implicit(obj: AsyncOperationHandle_1<T0>) -> AsyncOperationHandle

Source§

fn ctor(self, op: AsyncOperationBase_1<T0>)
where Self: Sized,

Source§

fn get_download_status(self) -> DownloadStatus
where Self: Sized,

Source§

fn internal_get_download_status( self, visited: HashSet_1<Object>, ) -> DownloadStatus
where Self: Sized,

Source§

fn ctor_2(self, op: IAsyncOperation)
where Self: Sized,

Source§

fn ctor_3(self, op: IAsyncOperation, version: i32)
where Self: Sized,

Source§

fn ctor_4(self, op: IAsyncOperation, location_name: Il2CppString)
where Self: Sized,

Source§

fn ctor_5(self, op: IAsyncOperation, version: i32, location_name: Il2CppString)
where Self: Sized,

Source§

fn acquire(self) -> AsyncOperationHandle_1<T0>
where Self: Sized,

Source§

fn add_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)
where Self: Sized,

Source§

fn remove_completed(self, value: Action_1<AsyncOperationHandle_1<T0>>)
where Self: Sized,

Source§

fn add_completed_typeless(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn remove_completed_typeless(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn get_debug_name(self) -> Il2CppString
where Self: Sized,

Source§

fn add_destroyed(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn remove_destroyed(self, value: Action_1<AsyncOperationHandle>)
where Self: Sized,

Source§

fn equals(self, other: AsyncOperationHandle_1<T0>) -> bool
where Self: Sized,

Source§

fn get_hash_code(self) -> i32
where Self: Sized,

Source§

fn wait_for_completion(self) -> T0
where Self: Sized,

Source§

fn get_internal_op(self) -> AsyncOperationBase_1<T0>
where Self: Sized,

Source§

fn get_is_done(self) -> bool
where Self: Sized,

Source§

fn is_valid(self) -> bool
where Self: Sized,

Source§

fn get_percent_complete(self) -> f32
where Self: Sized,

Source§

fn get_reference_count(self) -> i32
where Self: Sized,

Source§

fn release(self)
where Self: Sized,

Source§

fn get_result(self) -> T0
where Self: Sized,

Source§

fn get_status(self) -> AsyncOperationStatus
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_move_next(self) -> bool
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ICoreUnsafeUtils_DefaultKeyGetter_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get(self) -> (T0, T0)
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>, get_enumerator_ret_type: i32)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> KeyValuePair_2<T0, T1>
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntry
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_key(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_value(self) -> Object
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, T1, __U> IDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: Dictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T1
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IExposedReference_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn resolve(self, resolver: IExposedPropertyTable) -> T0
where Self: Sized,

Source§

impl<T0, __U> IHashSet_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, set: HashSet_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IIJobParallelForTransformExtensions_TransformParallelForLoopStruct_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

impl<T0, T1, __U> IKeyValuePair_2Methods<T0, T1> for __U

Source§

fn ctor(self, key: T0, value: T1)
where Self: Sized,

Source§

fn get_key(self) -> T0
where Self: Sized,

Source§

fn get_value(self) -> T1
where Self: Sized,

Source§

fn to_string(self) -> Il2CppString
where Self: Sized,

Source§

impl<T0, __U> ILargeArrayBuilder_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, initialize: bool)
where Self: Sized,

Source§

fn ctor_2(self, max_capacity: i32)
where Self: Sized,

Source§

fn add_range(self, items: IEnumerable_1<T0>)
where Self: Sized,

Source§

fn copy_to(self, array: Array<T0>, array_index: i32, count: i32)
where Self: Sized,

Source§

fn get_buffer(self, index: i32) -> Array<T0>
where Self: Sized,

Source§

fn to_array(self) -> Array<T0>
where Self: Sized,

Source§

fn try_move(self) -> (bool, Array<T0>)
where Self: Sized,

Source§

fn allocate_buffer(self)
where Self: Sized,

Source§

impl<T0, __U> ILinkedList_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, list: LinkedList_1<T0>)
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn system_runtime_serialization_i_deserialization_callback_on_deserialization( self, sender: Object, )
where Self: Sized,

Source§

impl<T0, __U> IListBuffer_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_capacity(self) -> i32
where Self: Sized,

Source§

fn get_item(self) -> (*mut T0, i32)
where Self: Sized,

Source§

fn get_unchecked(self) -> (*mut T0, i32)
where Self: Sized,

Source§

fn try_add(self) -> (bool, T0)
where Self: Sized,

Source§

fn try_copy_to(self, other: ListBuffer_1<T0>) -> bool
where Self: Sized,

Source§

impl<T0, __U> IList_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, list: List_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn move_next_rare(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> IObjectPool_1_PooledObjectMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, value: T0, pool: ObjectPool_1_2<T0>)
where Self: Sized,

Source§

fn system_i_disposable_dispose(self)
where Self: Sized,

Source§

impl<T0, __U> IQueue_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, q: Queue_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn throw_enumeration_not_started_or_ended(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<__T> IRuntimeTypeMethods for __T
where __T: IRuntimeType,

Source§

fn ctor(self)

.ctor() overload
Source§

fn is_special_serializable_type(self) -> bool

IsSpecialSerializableType() overload
Source§

fn get_methods(self, binding_attr: impl Into<BindingFlags>) -> Array<MethodInfo>

GetMethods(crate::system::reflection::bindingflags::BindingFlags) overload
Source§

fn get_constructors( self, binding_attr: impl Into<BindingFlags>, ) -> Array<ConstructorInfo>

GetConstructors(crate::system::reflection::bindingflags::BindingFlags) overload
Source§

fn get_properties( self, binding_attr: impl Into<BindingFlags>, ) -> Array<PropertyInfo>

GetProperties(crate::system::reflection::bindingflags::BindingFlags) overload
Source§

fn get_events(self, binding_attr: impl Into<BindingFlags>) -> Array<EventInfo>

GetEvents(crate::system::reflection::bindingflags::BindingFlags) overload
Source§

fn get_fields(self, binding_attr: impl Into<BindingFlags>) -> Array<FieldInfo>

GetFields(crate::system::reflection::bindingflags::BindingFlags) overload
Source§

fn get_nested_types( self, binding_attr: impl Into<BindingFlags>, ) -> Array<SystemType>

GetNestedTypes(crate::system::reflection::bindingflags::BindingFlags) overload
Source§

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

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

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

fn get_event( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> EventInfo

GetEvent(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Source§

fn get_field( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> FieldInfo

GetField(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Source§

fn get_interface( self, fullname: impl Into<Il2CppString>, ignore_case: impl Into<bool>, ) -> SystemType

GetInterface(::unity::Il2CppString, bool) overload
Source§

fn get_nested_type( self, fullname: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> SystemType

GetNestedType(::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Source§

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

fn get_module(self) -> Module

get_Module() overload
Source§

fn get_runtime_module(self) -> RuntimeModule

GetRuntimeModule() overload
Source§

fn get_assembly(self) -> Assembly

get_Assembly() overload
Source§

fn get_runtime_assembly(self) -> RuntimeAssembly

GetRuntimeAssembly() overload
Source§

fn is_instance_of_type(self, o: impl Into<Object>) -> bool

IsInstanceOfType(crate::system::object::Object) overload
Source§

fn is_subclass_of(self, type: impl Into<SystemType>) -> bool

IsSubclassOf(::unity::SystemType) overload
Source§

fn is_assignable_from(self, c: impl Into<SystemType>) -> bool

IsAssignableFrom(::unity::SystemType) overload
Source§

fn is_equivalent_to(self, other: impl Into<SystemType>) -> bool

IsEquivalentTo(::unity::SystemType) overload
Source§

fn get_base_type(self) -> SystemType

get_BaseType() overload
Source§

fn get_underlying_system_type(self) -> SystemType

get_UnderlyingSystemType() overload
Source§

fn get_attribute_flags_impl(self) -> TypeAttributes

GetAttributeFlagsImpl() overload
Source§

fn is_contextful_impl(self) -> bool

IsContextfulImpl() overload
Source§

fn is_by_ref_impl(self) -> bool

IsByRefImpl() overload
Source§

fn is_primitive_impl(self) -> bool

IsPrimitiveImpl() overload
Source§

fn is_pointer_impl(self) -> bool

IsPointerImpl() overload
Source§

fn is_com_object_impl(self) -> bool

IsCOMObjectImpl() overload
Source§

fn is_value_type_impl(self) -> bool

IsValueTypeImpl() overload
Source§

fn get_is_enum(self) -> bool

get_IsEnum() overload
Source§

fn has_element_type_impl(self) -> bool

HasElementTypeImpl() overload
Source§

fn get_generic_parameter_attributes(self) -> GenericParameterAttributes

get_GenericParameterAttributes() overload
Source§

fn get_is_sz_array(self) -> bool

get_IsSzArray() overload
Source§

fn is_array_impl(self) -> bool

IsArrayImpl() overload
Source§

fn get_array_rank(self) -> i32

GetArrayRank() overload
Source§

fn get_element_type(self) -> SystemType

GetElementType() overload
Source§

fn get_enum_names(self) -> Array<Il2CppString>

GetEnumNames() overload
Source§

fn get_enum_values(self) -> IlInstance

GetEnumValues() overload
Source§

fn get_enum_underlying_type(self) -> SystemType

GetEnumUnderlyingType() overload
Source§

fn is_enum_defined(self, value: impl Into<Object>) -> bool

IsEnumDefined(crate::system::object::Object) overload
Source§

fn get_enum_name(self, value: impl Into<Object>) -> Il2CppString

GetEnumName(crate::system::object::Object) overload
Source§

fn get_generic_arguments_internal(self) -> Array<RuntimeType>

GetGenericArgumentsInternal() overload
Source§

fn get_generic_arguments(self) -> Array<SystemType>

GetGenericArguments() overload
Source§

fn make_generic_type( self, instantiation: impl Into<Array<SystemType>>, ) -> SystemType

MakeGenericType(::unity::Array<::unity::SystemType>) overload
Source§

fn get_is_generic_type_definition(self) -> bool

get_IsGenericTypeDefinition() overload
Source§

fn get_is_generic_parameter(self) -> bool

get_IsGenericParameter() overload
Source§

fn get_generic_parameter_position(self) -> i32

get_GenericParameterPosition() overload
Source§

fn get_generic_type_definition(self) -> SystemType

GetGenericTypeDefinition() overload
Source§

fn get_is_generic_type(self) -> bool

get_IsGenericType() overload
Source§

fn get_is_constructed_generic_type(self) -> bool

get_IsConstructedGenericType() overload
Source§

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload
Source§

fn clone(self) -> Object

Clone() overload
Source§

fn get_custom_attributes(self, inherit: impl Into<bool>) -> Array<Object>

GetCustomAttributes(bool) overload
Source§

fn get_custom_attributes_2( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> Array<Object>

GetCustomAttributes(::unity::SystemType, bool) overload
Source§

fn is_defined( self, attribute_type: impl Into<SystemType>, inherit: impl Into<bool>, ) -> bool

IsDefined(::unity::SystemType, bool) overload
Source§

fn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>

GetCustomAttributesData() overload
Source§

fn format_type_name(self, serialization: impl Into<bool>) -> Il2CppString

FormatTypeName(bool) overload
Source§

fn get_member_type(self) -> MemberTypes

get_MemberType() overload
Source§

fn get_reflected_type(self) -> SystemType

get_ReflectedType() overload
Source§

fn get_metadata_token(self) -> i32

get_MetadataToken() overload
Source§

fn create_instance_check_this(self)

CreateInstanceCheckThis() overload
Source§

fn get_default_constructor(self) -> MonoCMethod

GetDefaultConstructor() overload
Source§

fn get_default_member_name(self) -> Il2CppString

GetDefaultMemberName() overload
Source§

fn get_serialization_ctor(self) -> RuntimeConstructorInfo

GetSerializationCtor() overload
Source§

fn create_instance_mono(self, non_public: impl Into<bool>) -> Object

CreateInstanceMono(bool) overload
Source§

fn try_convert_to_type(self, value: impl Into<Object>) -> (Object, bool)

TryConvertToType(crate::system::object::Object, *mutbool) overload
Source§

fn make_array_type(self, rank: impl Into<i32>) -> SystemType

make_array_type(i32) overload
Source§

fn make_array_type_2(self) -> SystemType

MakeArrayType() overload
Source§

fn make_byref_type(self) -> SystemType

make_byref_type() overload
Source§

fn make_by_ref_type(self) -> SystemType

MakeByRefType() overload
Source§

fn make_pointer_type_2(self) -> SystemType

MakePointerType() overload
Source§

fn get_contains_generic_parameters(self) -> bool

get_ContainsGenericParameters() overload
Source§

fn get_generic_parameter_constraints(self) -> Array<SystemType>

GetGenericParameterConstraints() overload
Source§

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

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

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

fn get_constructors_native( self, binding_attr: impl Into<BindingFlags>, ) -> IntPtr

GetConstructors_native(crate::system::reflection::bindingflags::BindingFlags) overload
Source§

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

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

fn to_string(self) -> Il2CppString

ToString() overload
Source§

fn is_generic_com_object_impl(self) -> bool

IsGenericCOMObjectImpl() overload
Source§

fn get_declaring_method(self) -> MethodBase

get_DeclaringMethod() overload
Source§

fn get_full_name( self, full_name: impl Into<bool>, assembly_qualified: impl Into<bool>, ) -> Il2CppString

getFullName(bool, bool) overload
Source§

fn get_generic_arguments_internal_2( self, runtime_array: impl Into<bool>, ) -> Array<SystemType>

GetGenericArgumentsInternal(bool) overload
Source§

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

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

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

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

fn get_interfaces(self) -> Array<SystemType>

GetInterfaces() overload
Source§

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

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

fn get_assembly_qualified_name(self) -> Il2CppString

get_AssemblyQualifiedName() overload
Source§

fn get_declaring_type(self) -> SystemType

get_DeclaringType() overload
Source§

fn get_name(self) -> Il2CppString

get_Name() overload
Source§

fn get_namespace(self) -> Il2CppString

get_Namespace() overload
Source§

fn get_hash_code(self) -> i32

GetHashCode() overload
Source§

fn get_full_name_2(self) -> Il2CppString

get_FullName() overload
Source§

impl<T0, __U> IScriptPlayable_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn get_null() -> ScriptPlayable_1<T0>

Source§

fn create(graph: PlayableGraph, input_count: i32) -> ScriptPlayable_1<T0>

Source§

fn create_2( graph: PlayableGraph, template: T0, input_count: i32, ) -> ScriptPlayable_1<T0>

Source§

fn create_handle( graph: PlayableGraph, template: T0, input_count: i32, ) -> PlayableHandle

Source§

fn create_script_instance() -> Object

Source§

fn clone_script_instance(source: IPlayableBehaviour_Interface) -> Object

Source§

fn clone_script_instance_from_engine_object(source: Object_2) -> Object

Source§

fn ctor(self, handle: PlayableHandle)
where Self: Sized,

Source§

fn get_handle(self) -> PlayableHandle
where Self: Sized,

Source§

fn get_behaviour(self) -> T0
where Self: Sized,

Source§

fn op_implicit(playable: ScriptPlayable_1<T0>) -> Playable

Source§

fn op_explicit(playable: Playable) -> ScriptPlayable_1<T0>

Source§

fn equals(self, other: ScriptPlayable_1<T0>) -> bool
where Self: Sized,

Source§

fn cctor()

Source§

impl<T0, T1, __U> ISortedDictionary_2_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor( self, dictionary: SortedDictionary_2<T0, T1>, get_enumerator_ret_type: i32, )
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn get_current(self) -> KeyValuePair_2<T0, T1>
where Self: Sized,

Source§

fn get_not_started_or_ended(self) -> bool
where Self: Sized,

Source§

fn reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_key(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_value(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_dictionary_enumerator_get_entry(self) -> DictionaryEntry
where Self: Sized,

Source§

impl<T0, T1, __U> ISortedDictionary_2_KeyCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, T1, __U> ISortedDictionary_2_ValueCollection_EnumeratorMethods<T0, T1> for __U

Source§

fn ctor(self, dictionary: SortedDictionary_2<T0, T1>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T1
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ISortedSet_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, set: SortedSet_1<T0>)
where Self: Sized,

Source§

fn ctor_2(self, set: SortedSet_1<T0>, reverse: bool)
where Self: Sized,

Source§

fn system_runtime_serialization_i_deserialization_callback_on_deserialization( self, sender: Object, )
where Self: Sized,

Source§

fn initialize(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn get_not_started_or_ended(self) -> bool
where Self: Sized,

Source§

fn reset(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

fn cctor()

Source§

impl<T0, __U> IStack_1_EnumeratorMethods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, stack: Stack_1<T0>)
where Self: Sized,

Source§

fn dispose(self)
where Self: Sized,

Source§

fn move_next(self) -> bool
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn throw_enumeration_not_started_or_ended(self)
where Self: Sized,

Source§

fn system_collections_i_enumerator_get_current(self) -> Object
where Self: Sized,

Source§

fn system_collections_i_enumerator_reset(self)
where Self: Sized,

Source§

impl<T0, __U> ITMP_TextProcessingStack_1Methods<T0> for __U
where T0: ClassIdentity, __U: ClassIdentity,

Source§

fn ctor(self, stack: Array<T0>)
where Self: Sized,

Source§

fn ctor_2(self, capacity: i32)
where Self: Sized,

Source§

fn ctor_3(self, capacity: i32, rollover_size: i32)
where Self: Sized,

Source§

fn get_count(self) -> i32
where Self: Sized,

Source§

fn get_current(self) -> T0
where Self: Sized,

Source§

fn get_rollover_size(self) -> i32
where Self: Sized,

Source§

fn set_rollover_size(self, value: i32)
where Self: Sized,

Source§

fn set_default(stack: Array<TMP_TextProcessingStack_1<T0>>, item: T0)

Source§

fn clear(self)
where Self: Sized,

Source§

fn set_default_2(self, item: T0)
where Self: Sized,

Source§

fn add(self, item: T0)
where Self: Sized,

Source§

fn remove(self) -> T0
where Self: Sized,

Source§

fn push(self, item: T0)
where Self: Sized,

Source§

fn pop(self) -> T0
where Self: Sized,

Source§

fn peek(self) -> T0
where Self: Sized,

Source§

fn current_item(self) -> T0
where Self: Sized,

Source§

fn previous_item(self) -> T0
where Self: Sized,

Source§

impl<__T> ITypeInfoMethods for __T
where __T: ITypeInfo,

Source§

fn ctor(self)

.ctor() overload
Source§

fn system_reflection_i_reflectable_type_get_type_info(self) -> TypeInfo

System.Reflection.IReflectableType.GetTypeInfo() overload
Source§

fn get_implemented_interfaces(self) -> IEnumerable_1<SystemType>

get_ImplementedInterfaces() overload
§

impl<T> IlNull for T
where T: FromIlInstance,

§

fn null() -> Self

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> SystemObject for T
where T: Copy + Into<IlInstance>,

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.