Module static_files::resource[][src]

Resource definition and single module based generation.

Structs

Resource

Static files resource.

Functions

generate_resources

Generate resources for project_dir using filter. Result saved in generated_filename and function named as fn_name.

generate_resources_mapping

Generate resource mapping for project_dir using filter. Result saved in generated_filename as anonymous block which returns HashMap<&’static str, Resource>.

new_resource

Used internally in generated functions.