Trait libil2cpp::ThisParameter
source · [−]pub unsafe trait ThisParameter {
type Actual;
fn matches(method: &MethodInfo) -> bool;
fn from_actual(actual: Self::Actual) -> Self;
fn into_actual(self) -> Self::Actual;
}
Expand description
Required Associated Types
Required Methods
fn matches(method: &MethodInfo) -> bool
fn matches(method: &MethodInfo) -> bool
Checks whether the type can be used as a C# instance parameter for the
given MethodInfo
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