[−][src]Function swipc_gen::gen_rust_code::generate_mod
fn generate_mod(
m: Mod,
depth: usize,
mod_name: &str,
crate_name: &str,
is_root_mod: bool
) -> String
Generate the module hierarchy. The depth should be set to 0 on the first call and will be increased on each recursive call.