Skip to main content

IMonoMethodMethods

Trait IMonoMethodMethods 

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

Source

fn ctor(self)

.ctor() overload

Source

fn get_base_method_2(self) -> MethodInfo

GetBaseMethod() overload

Source

fn get_return_type(self) -> SystemType

get_ReturnType() overload

Source

fn get_method_implementation_flags(self) -> MethodImplAttributes

GetMethodImplementationFlags() overload

Source

fn get_parameters(self) -> Array<ParameterInfo>

GetParameters() overload

Source

fn get_parameters_internal(self) -> Array<ParameterInfo>

GetParametersInternal() overload

Source

fn get_parameters_count(self) -> i32

GetParametersCount() overload

Source

fn get_attributes(self) -> MethodAttributes

get_Attributes() overload

Source

fn get_calling_convention(self) -> CallingConventions

get_CallingConvention() overload

Source

fn get_reflected_type(self) -> SystemType

get_ReflectedType() overload

Source

fn get_declaring_type(self) -> SystemType

get_DeclaringType() overload

Source

fn get_name_2(self) -> Il2CppString

get_Name() 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(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 get_p_invoke(self) -> (PInvokeAttributes, Il2CppString, Il2CppString)

GetPInvoke(*mutcrate::system::reflection::pinvokeattributes::PInvokeAttributes, *mut::unity::Il2CppString, *mut::unity::Il2CppString) overload

Source

fn get_pseudo_custom_attributes(self) -> Array<Object>

GetPseudoCustomAttributes() overload

Source

fn make_generic_method( self, method_instantiation: impl Into<Array<SystemType>>, ) -> MethodInfo

MakeGenericMethod(::unity::Array<::unity::SystemType>) overload

Source

fn make_generic_method_impl( self, types: impl Into<Array<SystemType>>, ) -> MethodInfo

MakeGenericMethod_impl(::unity::Array<::unity::SystemType>) overload

Source

fn get_generic_arguments(self) -> Array<SystemType>

GetGenericArguments() overload

Source

fn get_generic_method_definition_impl(self) -> MethodInfo

GetGenericMethodDefinition_impl() overload

Source

fn get_generic_method_definition(self) -> MethodInfo

GetGenericMethodDefinition() overload

Source

fn get_is_generic_method_definition(self) -> bool

get_IsGenericMethodDefinition() overload

Source

fn get_is_generic_method(self) -> bool

get_IsGenericMethod() overload

Source

fn get_contains_generic_parameters(self) -> bool

get_ContainsGenericParameters() overload

Source

fn get_custom_attributes_data(self) -> IList_1_Interface<CustomAttributeData>

GetCustomAttributesData() overload

Source

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§

Source§

impl<__T: IMonoMethod> IMonoMethodMethods for __T

Available on crate feature system-reflection-monomethod only.