Type Alias rustc_middle::ty::ClauseKind

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

Aliased Type§

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

Variants§

Trait Implementations§

source§

impl<'tcx> EraseType for ClauseKind<'tcx>

§

type Result = [u8; 32]

source§

impl ParameterizedOverTcx for ClauseKind<'static>

§

type Value<'tcx> = ClauseKind<TyCtxt<'tcx>>

source§

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

source§

impl<'tcx> ToPredicate<'tcx> for ClauseKind<'tcx>

source§

fn to_predicate(self, tcx: TyCtxt<'tcx>) -> Predicate<'tcx>

source§

impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for ClauseKind<'tcx>

source§

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

  • Trait: 24 bytes
  • RegionOutlives: 16 bytes
  • TypeOutlives: 16 bytes
  • Projection: 24 bytes
  • ConstArgHasType: 16 bytes
  • WellFormed: 8 bytes
  • ConstEvaluatable: 8 bytes