I'm pretty sure it's not possible at the type level.
Also beware when using codegendecl with proc, it overrides all Nim utilities like N_NIMCALL or N_INLINE: [https://github.com/nim-lang/Nim/issues/10682](https://github.com/nim-lang/Nim/issues/10682)
