Type Alias rustc_middle::ty::PredicateKind

source ·
pub type PredicateKind<'tcx> = PredicateKind<TyCtxt<'tcx>>;

Aliased Type§

enum PredicateKind<'tcx> {
    // some variants omitted
}

Variants§

Trait Implementations§

source§

impl<'tcx, E: TyEncoder<I = TyCtxt<'tcx>>> EncodableWithShorthand<E> for PredicateKind<'tcx>

§

type Variant = PredicateKind<TyCtxt<'tcx>>

source§

fn variant(&self) -> &Self::Variant

source§

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

source§

impl<'tcx> ToPredicate<'tcx> for PredicateKind<'tcx>

source§

fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'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

Size for each variant:

  • Clause: 32 bytes
  • ObjectSafe: 16 bytes
  • Subtype: 32 bytes
  • Coerce: 24 bytes
  • ConstEquate: 24 bytes
  • Ambiguous: 0 bytes
  • NormalizesTo: 32 bytes
  • AliasRelate: 32 bytes