Function mz_walkabout::parse::parse_mod

source ·
pub fn parse_mod<P>(path: P) -> Result<Vec<DeriveInput>>where
    P: AsRef<Path>,
Expand description

Parses the module at path and any contained submodules.

Returns DeriveInputs representing all struct and enum items in the module. This is exactly what a custom derive procedural macro would see, except that we can present information for all types simultaneously.