Function easy_plugin::extractor::item_to_const
[−]
pub fn item_to_const(item: &Item) -> Result<(P<Ty>, P<Expr>), (Span, String)>
Returns the ItemKind::Const
values in the supplied Item
.