Function is_unit_variant

Source
pub fn is_unit_variant(v: &Variant) -> bool