pub struct Il2CppReflectionType(_);
Expand description

Object used for reflection of types

Implementations

Il2CppType which this object represents

Instanciates a generic type template with the provided generic arguments

Methods from Deref<Target = Il2CppObject>

Il2CppClass of the object

Invokes the method with the given name on self using the given arguments, with type checking

Panics

This method will panic if a matching method can’t be found.

Invokes the void method with the given name on self using the given arguments, with type checking

Panics

This method will panic if a matching method can’t be found.

Loads a value from a field of self with the given name, with type checking

Panics

This method will panic if the given field can’t be found

Stores a given value into a field of self with the given name, with type checking

Panics

This method will panic if the given field can’t be found

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Type of the values held in variables of the type

Non-generic version of [Held].

Namespace containingthe class the type represents

Name of the class the type represents

Whether a reference to the type can be used as an argument of the given Il2CppType Read more

Whether a value of the type can be used as an argument of the given Il2CppType Read more

Whether a reference to the type can be used as a parameter of the given Il2CppType Read more

Whether a value of the type can be used as a parameter of the given Il2CppType Read more

Il2CppClass of the type

Whether the type can be used as a this argument for the given MethodInfo Read more

Whether the type can be used as a this parameter for the given MethodInfo Read more

Whether the type can be used as the value of the given Il2CppType returned from a C# method Read more

Whether the type can be used as the return value of the given Il2CppType for a C# method 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.

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.