pub type CpuDebugFn = fn(_: CpuDebug);
This type can be passed to Cpu methods that require a debug argument.
debug
E.g.:
cpu.execute_instruction::<_,_,CpuDebugFn>(control, clock, None, code)