Skip to main content

items

Function items 

pub fn items(file: &File) -> Vec<&Item>
Expand description

Every item in a file, flattened through inline modules.

A #[cfg(test)] module is skipped whole: what is inside it is a test double, not API, and a generator that walked into one would publish it.