[−][src]Struct rustc_middle::traits::ChalkRustInterner

pub struct ChalkRustInterner<'tcx> {
    pub tcx: TyCtxt<'tcx>,
}

Fields

tcx: TyCtxt<'tcx>

Trait Implementations

impl<'tcx> Clone for RustInterner<'tcx>[src]

impl<'tcx> Copy for RustInterner<'tcx>[src]

impl<'_> Debug for RustInterner<'_>[src]

impl<'tcx> Eq for RustInterner<'tcx>[src]

We don't ever actually need this. It's only required for derives.

impl<'tcx> HasInterner for RustInterner<'tcx>[src]

type Interner = Self

The interner associated with the type.

impl<'tcx> Hash for RustInterner<'tcx>[src]

We don't ever actually need this. It's only required for derives.

impl<'tcx> Interner for RustInterner<'tcx>[src]

type InternedType = Box<TyData<Self>>

"Interned" representation of types. In normal user code, Self::InternedType is not referenced. Instead, we refer to Ty<Self>, which wraps this type. Read more

type InternedLifetime = Box<LifetimeData<Self>>

"Interned" representation of lifetimes. In normal user code, Self::InternedLifetime is not referenced. Instead, we refer to Lifetime<Self>, which wraps this type. Read more

type InternedConst = Box<ConstData<Self>>

"Interned" representation of const expressions. In normal user code, Self::InternedConst is not referenced. Instead, we refer to Const<Self>, which wraps this type. Read more

type InternedConcreteConst = ConstValue<'tcx>

"Interned" representation of an evaluated const value. Self::InternedConcreteConst is not referenced. Instead, we refer to ConcreteConst<Self>, which wraps this type. Read more

type InternedGenericArg = Box<GenericArgData<Self>>

"Interned" representation of a "generic parameter", which can be either a type or a lifetime. In normal user code, Self::InternedGenericArg is not referenced. Instead, we refer to GenericArg<Self>, which wraps this type. Read more

type InternedGoal = Box<GoalData<Self>>

"Interned" representation of a "goal". In normal user code, Self::InternedGoal is not referenced. Instead, we refer to Goal<Self>, which wraps this type. Read more

type InternedGoals = Vec<Goal<Self>>

"Interned" representation of a list of goals. In normal user code, Self::InternedGoals is not referenced. Instead, we refer to Goals<Self>, which wraps this type. Read more

type InternedSubstitution = Vec<GenericArg<Self>>

"Interned" representation of a "substitution". In normal user code, Self::InternedSubstitution is not referenced. Instead, we refer to Substitution<Self>, which wraps this type. Read more

type InternedProgramClause = Box<ProgramClauseData<Self>>

"Interned" representation of a "program clause". In normal user code, Self::InternedProgramClause is not referenced. Instead, we refer to ProgramClause<Self>, which wraps this type. Read more

type InternedProgramClauses = Vec<ProgramClause<Self>>

"Interned" representation of a list of program clauses. In normal user code, Self::InternedProgramClauses is not referenced. Instead, we refer to ProgramClauses<Self>, which wraps this type. Read more

type InternedQuantifiedWhereClauses = Vec<QuantifiedWhereClause<Self>>

"Interned" representation of a list of quantified where clauses. In normal user code, Self::InternedQuantifiedWhereClauses is not referenced. Instead, we refer to QuantifiedWhereClauses<Self>, which wraps this type. Read more

type InternedVariableKinds = Vec<VariableKind<Self>>

"Interned" representation of a list of variable kinds. In normal user code, Self::InternedVariableKinds is not referenced. Instead, we refer to VariableKinds<Self>, which wraps this type. Read more

type InternedCanonicalVarKinds = Vec<CanonicalVarKind<Self>>

"Interned" representation of a list of variable kinds with universe index. In normal user code, Self::InternedCanonicalVarKinds is not referenced. Instead, we refer to CanonicalVarKinds<Self>, which wraps this type. Read more

type InternedConstraints = Vec<InEnvironment<Constraint<Self>>>

"Interned" representation of a list of region constraints. In normal user code, Self::InternedConstraints is not referenced. Instead, we refer to Constraints<Self>, which wraps this type. Read more

type DefId = DefId

The core "id" type used for trait-ids and the like.

type InternedAdtId = &'tcx AdtDef

The ID type for ADTs

type Identifier = ()

Representation of identifiers.

type FnAbi = Abi

Representation of function ABI (e.g. calling convention).

impl<'tcx> Ord for RustInterner<'tcx>[src]

We don't ever actually need this. It's only required for derives.

impl<'tcx> PartialEq<RustInterner<'tcx>> for RustInterner<'tcx>[src]

We don't ever actually need this. It's only required for derives.

impl<'tcx> PartialOrd<RustInterner<'tcx>> for RustInterner<'tcx>[src]

We don't ever actually need this. It's only required for derives.

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for RustInterner<'tcx>

impl<'tcx> !Send for RustInterner<'tcx>

impl<'tcx> !Sync for RustInterner<'tcx>

impl<'tcx> Unpin for RustInterner<'tcx>

impl<'tcx> !UnwindSafe for RustInterner<'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]