syn::item::parsing

Function parse_item_use

source
fn parse_item_use(
    input: ParseStream<'_>,
    allow_crate_root_in_path: bool,
) -> Result<Option<ItemUse>>