pub unsafe trait Returned {
type Type: Any;
fn matches(ty: &Il2CppType) -> bool;
fn from_object(object: Option<&mut Il2CppObject>) -> 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 from_object(object: Option<&mut Il2CppObject>) -> Self
fn from_object(object: Option<&mut Il2CppObject>) -> Self
Converts the Il2CppObject
returned by
runtime_invoke
into self