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