pub trait UeClass: 'static {
// Required method
fn static_class() -> UClassHandle;
}Expand description
Implemented by codegen for every exported UClass.
Provides the static UClass handle needed for cast checks and reflection
queries. The handle is typically cached in a OnceLock on first access.
Required Methods§
Sourcefn static_class() -> UClassHandle
fn static_class() -> UClassHandle
Get the UClass* for this type (cached after first call).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.