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

An il2cpp exception

Implementations

Exception message

Inner exception

Iterator over the inner exceptions, starting with the exception itself

Exception source

Throws the exception

Safety

This is implemented as a C++ throw, which is UB when called from Rust. Therefore this method is UB, and only provided just in case ™️. (in simpler terms, this method is never safe)

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.

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

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.