hir_ty::generics

Function generics

Source
pub fn generics(db: &dyn DefDatabase, def: GenericDefId) -> Generics