pub trait IEnumBuilderMethods: IEnumBuilder {
Show 33 methods
// Provided methods
fn get_assembly(self) -> Assembly { ... }
fn get_assembly_qualified_name(self) -> Il2CppString { ... }
fn get_base_type(self) -> SystemType { ... }
fn get_full_name(self) -> Il2CppString { ... }
fn get_module(self) -> Module { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_namespace(self) -> Il2CppString { ... }
fn get_element_type(self) -> SystemType { ... }
fn get_underlying_system_type(self) -> SystemType { ... }
fn get_attribute_flags_impl(self) -> TypeAttributes { ... }
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_constructors(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<ConstructorInfo> { ... }
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 get_event(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> EventInfo { ... }
fn get_events(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<EventInfo> { ... }
fn get_field(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> FieldInfo { ... }
fn get_fields(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<FieldInfo> { ... }
fn get_interface(
self,
name: impl Into<Il2CppString>,
ignore_case: impl Into<bool>,
) -> SystemType { ... }
fn get_interfaces(self) -> Array<SystemType> { ... }
fn get_method_impl(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
call_convention: impl Into<CallingConventions>,
types: impl Into<Array<SystemType>>,
modifiers: impl Into<Array<ParameterModifier>>,
) -> MethodInfo { ... }
fn get_methods(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<MethodInfo> { ... }
fn get_nested_type(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> SystemType { ... }
fn get_nested_types(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<SystemType> { ... }
fn get_properties(
self,
binding_attr: impl Into<BindingFlags>,
) -> Array<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 { ... }
fn has_element_type_impl(self) -> bool { ... }
fn is_array_impl(self) -> bool { ... }
fn is_by_ref_impl(self) -> bool { ... }
fn is_com_object_impl(self) -> bool { ... }
fn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool { ... }
fn is_pointer_impl(self) -> bool { ... }
fn is_primitive_impl(self) -> bool { ... }
}Provided Methods§
Sourcefn get_assembly(self) -> Assembly
fn get_assembly(self) -> Assembly
get_Assembly() overload
Sourcefn get_assembly_qualified_name(self) -> Il2CppString
fn get_assembly_qualified_name(self) -> Il2CppString
get_AssemblyQualifiedName() overload
Sourcefn get_base_type(self) -> SystemType
fn get_base_type(self) -> SystemType
get_BaseType() overload
Sourcefn get_full_name(self) -> Il2CppString
fn get_full_name(self) -> Il2CppString
get_FullName() overload
Sourcefn get_module(self) -> Module
fn get_module(self) -> Module
get_Module() 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_element_type(self) -> SystemType
fn get_element_type(self) -> SystemType
GetElementType() 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 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_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_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 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_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_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_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_interface(
self,
name: impl Into<Il2CppString>,
ignore_case: impl Into<bool>,
) -> SystemType
fn get_interface( self, name: impl Into<Il2CppString>, ignore_case: impl Into<bool>, ) -> SystemType
GetInterface(::unity::Il2CppString, bool) overload
Sourcefn get_interfaces(self) -> Array<SystemType>
fn get_interfaces(self) -> Array<SystemType>
GetInterfaces() overload
Sourcefn get_method_impl(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
binder: impl Into<Binder>,
call_convention: 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_convention: 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_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_nested_type(
self,
name: impl Into<Il2CppString>,
binding_attr: impl Into<BindingFlags>,
) -> SystemType
fn get_nested_type( self, name: impl Into<Il2CppString>, binding_attr: impl Into<BindingFlags>, ) -> SystemType
GetNestedType(::unity::Il2CppString, 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_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_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 has_element_type_impl(self) -> bool
fn has_element_type_impl(self) -> bool
HasElementTypeImpl() overload
Sourcefn is_array_impl(self) -> bool
fn is_array_impl(self) -> bool
IsArrayImpl() overload
Sourcefn is_by_ref_impl(self) -> bool
fn is_by_ref_impl(self) -> bool
IsByRefImpl() overload
Sourcefn is_com_object_impl(self) -> bool
fn is_com_object_impl(self) -> bool
IsCOMObjectImpl() 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 is_pointer_impl(self) -> bool
fn is_pointer_impl(self) -> bool
IsPointerImpl() overload
Sourcefn is_primitive_impl(self) -> bool
fn is_primitive_impl(self) -> bool
IsPrimitiveImpl() 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: IEnumBuilder> IEnumBuilderMethods for __T
system-reflection-emit-enumbuilder only.