pub fn rust_collect_api_facts(
source: &str,
root: Node<'_>,
file: &str,
scope: &[String],
facts: &mut RustApiFacts,
depth: usize,
)Expand description
Adds to facts the modules, uses and items declared directly in root
and, through module bodies and item macros, below it. depth is how many
modules and item macros enclose root.