build

Function build 

Source
pub fn build()
Expand description

Runs the code generation. Intended to be called from a consumer’s build.rs.

It scans the consumer project’s res/ directory (using CARGO_MANIFEST_DIR) and writes generated code to its OUT_DIR.