Macro swc_neuron::neuromorpho_ext
source · macro_rules! neuromorpho_ext { ( $id:ident $(, $val:literal = $name:ident )* $(,)?) => { ... }; ( $id:ident $(, $val:literal = $name:ident )*, $othername:ident $(,)?) => { ... }; }
Expand description
Thin wrapper around the structure_mapping macro for producing enums
which extend the Neuromorpho SWC standard (i.e. have additional structure types in the Custom block, 5+).
Again, you can either allow or disallow the catch-all case.