syntax::ast::make

Function ty_alias

source
pub fn ty_alias(
    ident: &str,
    generic_param_list: Option<GenericParamList>,
    type_param_bounds: Option<TypeParam>,
    where_clause: Option<WhereClause>,
    assignment: Option<(Type, Option<WhereClause>)>,
) -> TypeAlias