hugr_core

Module macros

source
Expand description

Helper macros.

Macros§

  • Declare ‘const’ variables holding new ExtensionIds, validating that they are well-formed as separate tests - hence, usable at the top level of a test module only. Example:
  • Creates a TypeRow backed by statically defined data, avoiding allocations.