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