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§
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 internal_invoke(
self,
obj: impl Into<Object>,
parameters: impl Into<Array<Object>>,
) -> Object
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
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_contains_generic_parameters(self) -> bool
fn get_contains_generic_parameters(self) -> bool
get_ContainsGenericParameters() 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(self) -> Il2CppString
fn get_name(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 to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() 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: IMonoCMethod> IMonoCMethodMethods for __T
system-reflection-monocmethod only.