Trait netidx_bscript::vm::Apply
source · pub trait Apply<C: Ctx, E> {
// Required methods
fn current(&self, ctx: &mut ExecCtx<C, E>) -> Option<Value>;
fn update(
&mut self,
ctx: &mut ExecCtx<C, E>,
from: &mut [Node<C, E>],
event: &Event<E>
) -> Option<Value>;
}