[−][src]Module swipc_gen::itemmod
Mod parser
Syn's mod parser is only available in full mode, which takes forever to
compile. So let's write our own little parser. The main reason why mod is
only available in full mode is because it requires parsing the content of
the mod block. In our case, we'll simply return the block as a
TokenStream, removing the need to parse it.
Note that this still needs the "derive" feature.
Structs
| ItemMod | A module or module declaration: |