Function hir_ty::all_super_traits

source ยท
pub fn all_super_traits(
    db: &dyn DefDatabase,
    trait_: TraitId,
) -> SmallVec<[TraitId; 4]>
Expand description

Returns an iterator over the whole super trait hierarchy (including the trait itself).