Trait red4ext_rs::ClassKind
source · pub trait ClassKind<T>: Sealed<T> {
type NativeType;
// Required methods
fn fields(inst: &Self::NativeType) -> &T;
fn fields_mut(inst: &mut Self::NativeType) -> &mut T;
}
Expand description
A trait for distinguishing between native and scripted classes.
Required Associated Types§
type NativeType
Required Methods§
fn fields(inst: &Self::NativeType) -> &T
fn fields_mut(inst: &mut Self::NativeType) -> &mut T
Object Safety§
This trait is not object safe.