#[repr(transparent)]
pub struct MethodInfo(_);
Expand description

Information about a C# method

Implementations

Invoke this method, type checking against its signature with the provided instance, arguments and return type

Invoke this method with the given instance and arguments and converting the result to the specified type, without type checking

Safety

To be safe, the provided types have to match the method signature

Invokes this method with the given raw instance and arguments, without performing any checks

Safety

To be safe, the provided instance and arguments have to match the method signature

Il2CppReflectionMethod which represents the method

Name of the method

Class the method is from

Return type of the method

Parameters the method takes

Whether the method is static

Whether the method is abstract

Whether the method is virtual

Whether the method is generic

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Raw il2cpp type

Returns a reference to the underlying raw il2cpp type

Returns a mutable reference to the underlying raw il2cpp type Read more

Wraps a reference to the raw il2cpp type Read more

Wraps a mutable reference to the raw il2cpp type Read more

Wraps a const pointer to the raw il2cpp type Read more

Wraps a mut pointer to the raw il2cpp type Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.