Skip to main content

rust_mod_decls

Function rust_mod_decls 

Source
pub fn rust_mod_decls(src: &str) -> Vec<ModDecl>
Expand description

The mod declarations of a Rust source file (comments ignored), file modules (mod x;) only, each with the inline modules around it.