Function easy_plugin::extractor::item_to_use []

pub fn item_to_use(item: &Item) -> Result<P<Spanned<ViewPath_>>, (Span, String)>

Returns the ItemKind::Use value in the supplied Item.