Skip to main content

unit_items_and_uses

Function unit_items_and_uses 

Source
fn unit_items_and_uses(unit: &SourceUnit) -> (&[CommonsItem], &[UsesDecl])
Expand description

A unit’s top-level items and its uses clauses, for the kinds that carry free functions. Service/other units contribute neither.