Function easy_plugin::extractor::item_to_union []

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

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