Function easy_plugin::extractor::item_to_struct []

pub fn item_to_struct(item: &Item)
                      -> Result<(VariantData, Generics), (Span, String)>

Returns the ItemKind::Struct values in the supplied Item.