Function easy_plugin::extractor::item_to_mod []

pub fn item_to_mod(item: &Item) -> Result<Mod, (Span, String)>

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