pub fn format_variant_ident(name: &Name, display_name: Option<&str>) -> IdentExpand description
Formats the passed name as variant name.
Will format the passed name as variant name if no display_name was passed as well.
If a display_name was passed, this one will be formatted as variant name instead.