Skip to main content

generate

Function generate 

Source
pub fn generate(p: &Profile, lang: Lang, source: &str, dir: &Path) -> Result<()>
Expand description

Write the crate of a source into dir (a build directory under the code root).