syntax::ast::make

Function enum_

source
pub fn enum_(
    visibility: Option<Visibility>,
    enum_name: Name,
    generic_param_list: Option<GenericParamList>,
    where_clause: Option<WhereClause>,
    variant_list: VariantList,
) -> Enum