pub trait Il2CppClassData {
const NAMESPACE: &'static str;
const CLASS: &'static str;
// Required methods
fn class() -> &'static Il2CppClass;
fn class_mut() -> &'static mut Il2CppClass;
// Provided methods
fn instantiate() -> Il2CppResult<&'static mut Self>
where Self: Sized { ... }
fn instantiate_as<T: 'static>() -> Il2CppResult<&'static mut T> { ... }
}
Required Associated Constants§
Required Methods§
fn class() -> &'static Il2CppClass
fn class_mut() -> &'static mut Il2CppClass
Provided Methods§
fn instantiate() -> Il2CppResult<&'static mut Self>where
Self: Sized,
fn instantiate_as<T: 'static>() -> Il2CppResult<&'static mut T>
Object Safety§
This trait is not object safe.