Skip to main content

IMethodBaseMethods

Trait IMethodBaseMethods 

Source
pub trait IMethodBaseMethods: IMethodBase {
Show 29 methods // Provided methods fn ctor(self) { ... } fn equals(self, obj: impl Into<Object>) -> bool { ... } fn get_hash_code(self) -> i32 { ... } fn get_parameters_no_copy(self) -> Array<ParameterInfo> { ... } fn get_parameters(self) -> Array<ParameterInfo> { ... } fn get_method_implementation_flags(self) -> MethodImplAttributes { ... } fn get_attributes(self) -> MethodAttributes { ... } fn get_calling_convention(self) -> CallingConventions { ... } fn get_generic_arguments(self) -> Array<SystemType> { ... } fn get_is_generic_method_definition(self) -> bool { ... } fn get_contains_generic_parameters(self) -> bool { ... } fn get_is_generic_method(self) -> bool { ... } fn get_is_security_critical(self) -> bool { ... } fn invoke( self, obj: impl Into<Object>, parameters: impl Into<Array<Object>>, ) -> Object { ... } fn get_is_public(self) -> bool { ... } fn get_is_private(self) -> bool { ... } fn get_is_family(self) -> bool { ... } fn get_is_assembly(self) -> bool { ... } fn get_is_family_and_assembly(self) -> bool { ... } fn get_is_family_or_assembly(self) -> bool { ... } fn get_is_static(self) -> bool { ... } fn get_is_virtual(self) -> bool { ... } fn get_is_abstract(self) -> bool { ... } fn get_is_special_name(self) -> bool { ... } fn get_is_constructor(self) -> bool { ... } fn format_name_and_sig(self, serialization: impl Into<bool>) -> Il2CppString { ... } fn get_parameter_types(self) -> Array<SystemType> { ... } fn get_parameters_internal(self) -> Array<ParameterInfo> { ... } fn get_parameters_count(self) -> i32 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn get_parameters_no_copy(self) -> Array<ParameterInfo>

GetParametersNoCopy() overload

Source

fn get_parameters(self) -> Array<ParameterInfo>

GetParameters() overload

Source

fn get_method_implementation_flags(self) -> MethodImplAttributes

GetMethodImplementationFlags() overload

Source

fn get_attributes(self) -> MethodAttributes

get_Attributes() overload

Source

fn get_calling_convention(self) -> CallingConventions

get_CallingConvention() overload

Source

fn get_generic_arguments(self) -> Array<SystemType>

GetGenericArguments() overload

Source

fn get_is_generic_method_definition(self) -> bool

get_IsGenericMethodDefinition() overload

Source

fn get_contains_generic_parameters(self) -> bool

get_ContainsGenericParameters() overload

Source

fn get_is_generic_method(self) -> bool

get_IsGenericMethod() overload

Source

fn get_is_security_critical(self) -> bool

get_IsSecurityCritical() overload

Source

fn invoke( self, obj: impl Into<Object>, parameters: impl Into<Array<Object>>, ) -> Object

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

Source

fn get_is_public(self) -> bool

get_IsPublic() overload

Source

fn get_is_private(self) -> bool

get_IsPrivate() overload

Source

fn get_is_family(self) -> bool

get_IsFamily() overload

Source

fn get_is_assembly(self) -> bool

get_IsAssembly() overload

Source

fn get_is_family_and_assembly(self) -> bool

get_IsFamilyAndAssembly() overload

Source

fn get_is_family_or_assembly(self) -> bool

get_IsFamilyOrAssembly() overload

Source

fn get_is_static(self) -> bool

get_IsStatic() overload

Source

fn get_is_virtual(self) -> bool

get_IsVirtual() overload

Source

fn get_is_abstract(self) -> bool

get_IsAbstract() overload

Source

fn get_is_special_name(self) -> bool

get_IsSpecialName() overload

Source

fn get_is_constructor(self) -> bool

get_IsConstructor() overload

Source

fn format_name_and_sig(self, serialization: impl Into<bool>) -> Il2CppString

FormatNameAndSig(bool) overload

Source

fn get_parameter_types(self) -> Array<SystemType>

GetParameterTypes() overload

Source

fn get_parameters_internal(self) -> Array<ParameterInfo>

GetParametersInternal() overload

Source

fn get_parameters_count(self) -> i32

GetParametersCount() 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: IMethodBase> IMethodBaseMethods for __T

Available on crate feature system-reflection-methodbase only.