Trait DynCheatcode
pub trait DynCheatcode: 'static + Any {
// Required methods
fn cheatcode(&self) -> &'static Cheatcode<'static>;
fn as_debug(&self) -> &dyn Debug;
fn dyn_apply(
&self,
ccx: &mut CheatsCtxt<'_, '_, '_, '_>,
executor: &mut dyn CheatcodesExecutor,
) -> Result<Vec<u8>, Error>;
fn as_any(&self) -> &(dyn Any + 'static);
}