pub unsafe trait Parameter {
type Actual;
fn matches(ty: &Il2CppType) -> bool;
fn from_actual(actual: Self::Actual) -> Self;
fn into_actual(self) -> Self::Actual;
}
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# parameter with the given
Il2CppType
fn from_actual(actual: Self::Actual) -> Self
fn from_actual(actual: Self::Actual) -> Self
Converts from the actual type to the desired one
fn into_actual(self) -> Self::Actual
fn into_actual(self) -> Self::Actual
Converts from the desired type into the actual one