Skip to main content

Print

Trait Print 

Source
pub trait Print<P> {
    // Required method
    fn print(&self, p: &mut P) -> Result<(), PrintError>;
}

Required Methods§

Implementors§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'tcx, P: Printer<'tcx> + Write> Print<P> for Instance<'tcx>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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