Skip to main content

visit_grouped_import

Function visit_grouped_import 

Source
pub fn visit_grouped_import(
    tokens: &TokenStream,
    visitor: impl FnMut(&[Attribute], bool, &UseTree),
) -> bool
Expand description

Read the members of a grouped import represented by syn as verbatim tokens. The visitor receives the original attributes and spans, with an independent leading-colon flag for every member. Other token shapes return false.