Crate fabric_support_procedural_tools[][src]

Proc macro helpers for procedural macros

Modules

syn_ext

Extension to syn types, mainly for parsing

Functions

clean_type_string
generate_crate_access

Generates the access to the fabric-support crate.

generate_crate_access_2018

Generate the crate access for the crate using 2018 syntax.

generate_hidden_includes

Generates the hidden includes that are required to make the macro independent from its scope.

Derive Macros

Parse

self defined parsing struct. not meant for any struct, just for fast parse implementation.

ToTokens

self defined parsing struct or enum. not meant for any struct/enum, just for fast parse implementation. For enum: it only output fields (empty field act as a None).