pub unsafe trait Return {
type Actual;
fn matches(ty: &Il2CppType) -> bool;
fn into_actual(self) -> Self::Actual;
fn from_actual(actual: Self::Actual) -> Self;
}
Expand description
Required Associated Types
Required Methods
fn matches(ty: &Il2CppType) -> bool
fn matches(ty: &Il2CppType) -> bool
Checks whether the type can be used as a C# return type of the given
Il2CppType
fn into_actual(self) -> Self::Actual
fn into_actual(self) -> Self::Actual
Converts from the desired type into the actual one
fn from_actual(actual: Self::Actual) -> Self
fn from_actual(actual: Self::Actual) -> Self
Converts from the actual type to the desired one