Trait red4ext_rs::MethodInvocable
source · pub trait MethodInvocable<Ctx, A, R>: Sealed<Ctx, A, R> {
const FN_TYPE: FunctionType;
// Required method
fn invoke(self, ctx: &Ctx, frame: &mut StackFrame, ret: &mut MaybeUninit<R>);
}
Expand description
A trait for functions that can be exported as class methods.
Required Associated Constants§
const FN_TYPE: FunctionType
Required Methods§
fn invoke(self, ctx: &Ctx, frame: &mut StackFrame, ret: &mut MaybeUninit<R>)
Object Safety§
This trait is not object safe.