Function easy_plugin::extractor::stmt_to_item []

pub fn stmt_to_item(stmt: &Stmt) -> Result<P<Item>, (Span, String)>

Returns the StmtKind::Item value in the supplied Stmt.