rustc_middle::ty::print::pretty

Trait PrintTraitRefExt

source
pub trait PrintTraitRefExt<'tcx> {
    // Required methods
    fn print_only_trait_path(self) -> TraitRefPrintOnlyTraitPath<'tcx>;
    fn print_trait_sugared(self) -> TraitRefPrintSugared<'tcx>;
    fn print_only_trait_name(self) -> TraitRefPrintOnlyTraitName<'tcx>;
}

Required Methods§

Implementors§

source§

impl<'tcx> PrintTraitRefExt<'tcx> for TraitRef<'tcx>