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