Trait rustc_middle::ty::print::Print

source ·
pub trait Print<'tcx, P> {
    // Required method
    fn print(&self, cx: &mut P) -> Result<(), PrintError>;
}

Required Methods§

source

fn print(&self, cx: &mut P) -> Result<(), PrintError>

Implementors§

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for &'tcx List<Ty<'tcx>>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for ExistentialPredicate<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for GenericArg<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for Clause<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for CoercePredicate<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for ExistentialProjection<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for ExistentialTraitRef<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for NormalizesTo<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for Predicate<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for ProjectionPredicate<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for SubtypePredicate<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TraitPredicate<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TraitRef<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for Term<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for AliasTy<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for FnSig<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for ParamConst

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for ParamTy

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for PrintClosureAsImpl<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TraitPredPrintModifiersAndPath<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TraitRefPrintOnlyTraitName<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TraitRefPrintOnlyTraitPath<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TraitRefPrintSugared<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for ClauseKind<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for PredicateKind<'tcx>

source§

impl<'tcx, P: PrettyPrinter<'tcx>> Print<'tcx, P> for TypeAndMut<'tcx>

source§

impl<'tcx, P: Printer<'tcx>> Print<'tcx, P> for &'tcx List<PolyExistentialPredicate<'tcx>>

source§

impl<'tcx, P: Printer<'tcx>> Print<'tcx, P> for Const<'tcx>

source§

impl<'tcx, P: Printer<'tcx>> Print<'tcx, P> for Region<'tcx>

source§

impl<'tcx, P: Printer<'tcx>> Print<'tcx, P> for Ty<'tcx>

source§

impl<'tcx, T, P: PrettyPrinter<'tcx>> Print<'tcx, P> for Binder<'tcx, T>
where T: Print<'tcx, P> + TypeFoldable<TyCtxt<'tcx>>,

source§

impl<'tcx, T, U, P: PrettyPrinter<'tcx>> Print<'tcx, P> for OutlivesPredicate<T, U>
where T: Print<'tcx, P>, U: Print<'tcx, P>,