Trait red4ext_rs::ScriptClass
source · pub unsafe trait ScriptClass: Sized {
type Kind: ClassKind<Self>;
const NAME: &'static str;
}
Expand description
A trait for types that represent script classes.
§Safety
Implementors must ensure that the type’s layout is compatible with the layout of the native type that has the specified name.
Required Associated Types§
Required Associated Constants§
Object Safety§
This trait is not object safe.