Crate witgen_macro_helper
source · [−]Expand description
This crate provides a way to parse a whole crate as a file and then parse this into a Wit
type.
Currently this is a wrapper type for syn
types.
Modules
Structs
Enums
Wit type that correspond to Rust Types using syn
’s representation
Traits
Functions
Read a crate starting from a single file then parse into a file
Convence function for
Convence function for
High-level function to load full crate source code from the filesystem. Use it instead of read_crate
if you want to process cfg
attributes and read only code relevant to specific feature or platform configuration.