Expand description
Resource definition and single module based generation.
Structs§
- Resource
- Static files resource.
Functions§
- generate_
resources - Generate resources for
project_dir
usingfilter
. Result saved ingenerated_filename
and function named asfn_name
. - generate_
resources_ mapping - Generate resource mapping for
project_dir
usingfilter
. Result saved ingenerated_filename
as anonymous block which returnsHashMap<&'static str, Resource>
. - new_
resource - Used internally in generated functions.