Skip to main content

IMonoCMethodMethods

Trait IMonoCMethodMethods 

Source
pub trait IMonoCMethodMethods: IMonoCMethod {
Show 18 methods // Provided methods 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 internal_invoke( self, obj: impl Into<Object>, parameters: impl Into<Array<Object>>, ) -> Object { ... } fn get_attributes(self) -> MethodAttributes { ... } fn get_calling_convention(self) -> CallingConventions { ... } fn get_contains_generic_parameters(self) -> bool { ... } fn get_reflected_type(self) -> SystemType { ... } fn get_declaring_type(self) -> SystemType { ... } fn get_name(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 to_string(self) -> Il2CppString { ... } fn get_custom_attributes_data( self, ) -> IList_1_Interface<CustomAttributeData> { ... } fn get_is_security_critical(self) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

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 internal_invoke( self, obj: impl Into<Object>, parameters: impl Into<Array<Object>>, ) -> Object

InternalInvoke(crate::system::object::Object, ::unity::Array<crate::system::object::Object>) overload

Source

fn get_attributes(self) -> MethodAttributes

get_Attributes() overload

Source

fn get_calling_convention(self) -> CallingConventions

get_CallingConvention() overload

Source

fn get_contains_generic_parameters(self) -> bool

get_ContainsGenericParameters() 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(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 to_string(self) -> Il2CppString

ToString() 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

Source

fn ctor(self)

.ctor() 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: IMonoCMethod> IMonoCMethodMethods for __T

Available on crate feature system-reflection-monocmethod only.