pub trait IMonoMethodMethods: IMonoMethod {
Show 27 methods
// Provided methods
fn ctor(self) { ... }
fn get_base_method_2(self) -> MethodInfo { ... }
fn get_return_type(self) -> SystemType { ... }
fn get_method_implementation_flags(self) -> MethodImplAttributes { ... }
fn get_parameters(self) -> Array<ParameterInfo> { ... }
fn get_parameters_internal(self) -> Array<ParameterInfo> { ... }
fn get_parameters_count(self) -> i32 { ... }
fn get_attributes(self) -> MethodAttributes { ... }
fn get_calling_convention(self) -> CallingConventions { ... }
fn get_reflected_type(self) -> SystemType { ... }
fn get_declaring_type(self) -> SystemType { ... }
fn get_name_2(self) -> Il2CppString { ... }
fn is_defined(
self,
attribute_type: impl Into<SystemType>,
inherit: impl Into<bool>,
) -> bool { ... }
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_p_invoke(self) -> (PInvokeAttributes, Il2CppString, Il2CppString) { ... }
fn get_pseudo_custom_attributes(self) -> Array<Object> { ... }
fn make_generic_method(
self,
method_instantiation: impl Into<Array<SystemType>>,
) -> MethodInfo { ... }
fn make_generic_method_impl(
self,
types: impl Into<Array<SystemType>>,
) -> MethodInfo { ... }
fn get_generic_arguments(self) -> Array<SystemType> { ... }
fn get_generic_method_definition_impl(self) -> MethodInfo { ... }
fn get_generic_method_definition(self) -> MethodInfo { ... }
fn get_is_generic_method_definition(self) -> bool { ... }
fn get_is_generic_method(self) -> bool { ... }
fn get_contains_generic_parameters(self) -> bool { ... }
fn get_custom_attributes_data(
self,
) -> IList_1_Interface<CustomAttributeData> { ... }
fn get_is_security_critical(self) -> bool { ... }
}Provided Methods§
Sourcefn get_base_method_2(self) -> MethodInfo
fn get_base_method_2(self) -> MethodInfo
GetBaseMethod() overload
Sourcefn get_return_type(self) -> SystemType
fn get_return_type(self) -> SystemType
get_ReturnType() overload
Sourcefn get_method_implementation_flags(self) -> MethodImplAttributes
fn get_method_implementation_flags(self) -> MethodImplAttributes
GetMethodImplementationFlags() overload
Sourcefn get_parameters(self) -> Array<ParameterInfo>
fn get_parameters(self) -> Array<ParameterInfo>
GetParameters() overload
Sourcefn get_parameters_internal(self) -> Array<ParameterInfo>
fn get_parameters_internal(self) -> Array<ParameterInfo>
GetParametersInternal() overload
Sourcefn get_parameters_count(self) -> i32
fn get_parameters_count(self) -> i32
GetParametersCount() overload
Sourcefn get_attributes(self) -> MethodAttributes
fn get_attributes(self) -> MethodAttributes
get_Attributes() overload
Sourcefn get_calling_convention(self) -> CallingConventions
fn get_calling_convention(self) -> CallingConventions
get_CallingConvention() overload
Sourcefn get_reflected_type(self) -> SystemType
fn get_reflected_type(self) -> SystemType
get_ReflectedType() overload
Sourcefn get_declaring_type(self) -> SystemType
fn get_declaring_type(self) -> SystemType
get_DeclaringType() overload
Sourcefn get_name_2(self) -> Il2CppString
fn get_name_2(self) -> Il2CppString
get_Name() 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(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_p_invoke(self) -> (PInvokeAttributes, Il2CppString, Il2CppString)
fn get_p_invoke(self) -> (PInvokeAttributes, Il2CppString, Il2CppString)
GetPInvoke(*mutcrate::system::reflection::pinvokeattributes::PInvokeAttributes, *mut::unity::Il2CppString, *mut::unity::Il2CppString) overload
Sourcefn get_pseudo_custom_attributes(self) -> Array<Object>
fn get_pseudo_custom_attributes(self) -> Array<Object>
GetPseudoCustomAttributes() overload
Sourcefn make_generic_method(
self,
method_instantiation: impl Into<Array<SystemType>>,
) -> MethodInfo
fn make_generic_method( self, method_instantiation: impl Into<Array<SystemType>>, ) -> MethodInfo
MakeGenericMethod(::unity::Array<::unity::SystemType>) overload
Sourcefn make_generic_method_impl(
self,
types: impl Into<Array<SystemType>>,
) -> MethodInfo
fn make_generic_method_impl( self, types: impl Into<Array<SystemType>>, ) -> MethodInfo
MakeGenericMethod_impl(::unity::Array<::unity::SystemType>) overload
Sourcefn get_generic_arguments(self) -> Array<SystemType>
fn get_generic_arguments(self) -> Array<SystemType>
GetGenericArguments() overload
Sourcefn get_generic_method_definition_impl(self) -> MethodInfo
fn get_generic_method_definition_impl(self) -> MethodInfo
GetGenericMethodDefinition_impl() overload
Sourcefn get_generic_method_definition(self) -> MethodInfo
fn get_generic_method_definition(self) -> MethodInfo
GetGenericMethodDefinition() overload
Sourcefn get_is_generic_method_definition(self) -> bool
fn get_is_generic_method_definition(self) -> bool
get_IsGenericMethodDefinition() overload
Sourcefn get_is_generic_method(self) -> bool
fn get_is_generic_method(self) -> bool
get_IsGenericMethod() overload
Sourcefn get_contains_generic_parameters(self) -> bool
fn get_contains_generic_parameters(self) -> bool
get_ContainsGenericParameters() overload
Sourcefn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>
fn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>
GetCustomAttributesData() overload
Sourcefn get_is_security_critical(self) -> bool
fn get_is_security_critical(self) -> bool
get_IsSecurityCritical() 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: IMonoMethod> IMonoMethodMethods for __T
system-reflection-monomethod only.