Trait bones_framework::prelude::piccolo::callback::CallbackFn

pub trait CallbackFn<'gc>: Collect {
    // Required method
    fn call(
        &self,
        ctx: Context<'gc>,
        exec: Execution<'gc, '_>,
        stack: Stack<'gc, '_>,
    ) -> Result<CallbackReturn<'gc>, Error<'gc>>;
}

Required Methods§

fn call( &self, ctx: Context<'gc>, exec: Execution<'gc, '_>, stack: Stack<'gc, '_>, ) -> Result<CallbackReturn<'gc>, Error<'gc>>

Implementors§