pub trait IConstructorBuilderMethods: IConstructorBuilder {
// Provided methods
fn get_attributes(self) -> MethodAttributes { ... }
fn get_declaring_type(self) -> SystemType { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_parameters(self) -> Array<ParameterInfo> { ... }
fn get_reflected_type(self) -> SystemType { ... }
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_method_implementation_flags(self) -> MethodImplAttributes { ... }
fn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool { ... }
}Provided Methods§
Sourcefn get_attributes(self) -> MethodAttributes
fn get_attributes(self) -> MethodAttributes
get_Attributes() 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_parameters(self) -> Array<ParameterInfo>
fn get_parameters(self) -> Array<ParameterInfo>
GetParameters() overload
Sourcefn get_reflected_type(self) -> SystemType
fn get_reflected_type(self) -> SystemType
get_ReflectedType() 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_method_implementation_flags(self) -> MethodImplAttributes
fn get_method_implementation_flags(self) -> MethodImplAttributes
GetMethodImplementationFlags() 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
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: IConstructorBuilder> IConstructorBuilderMethods for __T
Available on crate feature
system-reflection-emit-constructorbuilder only.