PolyTraitPredicate in rustc_middle::ty - Rust
Description: API documentation for the Rust `PolyTraitPredicate` type in crate `rustc_middle`.

Skip to main content

## PolyTraitPredicate

# Type Alias PolyTraitPredicate

Source

    pub type PolyTraitPredicate<'tcx> = Binder<'tcx, TraitPredicate<'tcx>>;

## Aliased Type§

    pub struct PolyTraitPredicate<'tcx> { /* private fields */ }

## Trait Implementations§

Source§

### impl<'tcx> PrintPolyTraitPredicateExt<'tcx> for PolyTraitPredicate<'tcx>

Source§

#### fn print_modifiers_and_trait_path( self, ) -> Binder<'tcx, TraitPredPrintModifiersAndPath<'tcx>>

Source§

#### fn print_with_bound_constness( self, constness: Option<BoundConstness>, ) -> Binder<'tcx, TraitPredPrintWithBoundConstness<'tcx>>

## Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain `repr(...)` attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 32 bytes