Struct rustc_middle::traits::ChalkRustInterner [−][src]
pub struct ChalkRustInterner<'tcx> {
pub tcx: TyCtxt<'tcx>,
}Fields
tcx: TyCtxt<'tcx>Trait Implementations
impl<'tcx> Clone for RustInterner<'tcx>[src]
impl<'tcx> Clone for RustInterner<'tcx>[src]fn clone(&self) -> RustInterner<'tcx>[src]
fn clone(&self) -> RustInterner<'tcx>[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for RustInterner<'_>[src]
impl Debug for RustInterner<'_>[src]impl<'tcx> HasInterner for RustInterner<'tcx>[src]
impl<'tcx> HasInterner for RustInterner<'tcx>[src]type Interner = Self
type Interner = SelfThe interner associated with the type.
impl<'tcx> Hash for RustInterner<'tcx>[src]
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]
impl<'tcx> Interner for RustInterner<'tcx>[src]type InternedType = Box<TyData<Self>>
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>>
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>>
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>
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>>
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>>
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>>
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>>
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>>
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>>
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>>
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>>
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>>
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 InternedVariances = Vec<Variance>
type InternedVariances = Vec<Variance>“Interned” representation of a list of chalk_ir::Variance.
In normal user code, Self::InternedVariances is not referenced.
Instead, we refer to Variances<Self>, which wraps this type. Read more
type InternedConstraints = Vec<InEnvironment<Constraint<Self>>>
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 InternedAdtId = &'tcx AdtDef
type InternedAdtId = &'tcx AdtDefThe ID type for ADTs
type Identifier = ()
type Identifier = ()Representation of identifiers.
fn debug_program_clause_implication(
pci: &ProgramClauseImplication<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]
fn debug_program_clause_implication(
pci: &ProgramClauseImplication<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]Prints the debug representation of a ProgramClauseImplication.
Returns None to fallback to the default debug output. Read more
fn debug_substitution(
substitution: &Substitution<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]
fn debug_substitution(
substitution: &Substitution<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]Prints the debug representation of a Substitution.
Returns None to fallback to the default debug output. Read more
fn debug_separator_trait_ref(
separator_trait_ref: &SeparatorTraitRef<'_, Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]
fn debug_separator_trait_ref(
separator_trait_ref: &SeparatorTraitRef<'_, Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]Prints the debug representation of a SeparatorTraitRef.
Returns None to fallback to the default debug output. Read more
fn debug_quantified_where_clauses(
clauses: &QuantifiedWhereClauses<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]
fn debug_quantified_where_clauses(
clauses: &QuantifiedWhereClauses<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]Prints the debug representation of a QuantifiedWhereClauses.
Returns None to fallback to the default debug output. Read more
fn debug_ty(ty: &Ty<Self>, fmt: &mut Formatter<'_>) -> Option<Result>[src]
fn debug_ty(ty: &Ty<Self>, fmt: &mut Formatter<'_>) -> Option<Result>[src]Prints the debug representation of a type.
Returns None to fallback to the default debug output. Read more
fn debug_alias(
alias_ty: &AliasTy<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]
fn debug_alias(
alias_ty: &AliasTy<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]Prints the debug representation of an alias. To get good results, this requires inspecting TLS, and is difficult to code without reference to a specific interner (and hence fully known types). Read more
fn debug_projection_ty(
projection_ty: &ProjectionTy<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]
fn debug_projection_ty(
projection_ty: &ProjectionTy<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]Prints the debug representation of a ProjectionTy.
Returns None to fallback to the default debug output. Read more
fn debug_opaque_ty(
opaque_ty: &OpaqueTy<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]
fn debug_opaque_ty(
opaque_ty: &OpaqueTy<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result>[src]Prints the debug representation of an OpaqueTy.
Returns None to fallback to the default debug output. Read more
fn intern_ty(&self, ty: TyData<Self>) -> Self::InternedType[src]
fn intern_ty(&self, ty: TyData<Self>) -> Self::InternedType[src]Create an “interned” type from ty. This is not normally
invoked directly; instead, you invoke TyKind::intern (which
will ultimately call this method). Read more
fn ty_data<'a>(&self, ty: &'a Self::InternedType) -> &'a TyData<Self>[src]
fn ty_data<'a>(&self, ty: &'a Self::InternedType) -> &'a TyData<Self>[src]Lookup the TyKind from an interned type.
fn intern_lifetime(
&self,
lifetime: LifetimeData<Self>
) -> Self::InternedLifetime[src]
fn intern_lifetime(
&self,
lifetime: LifetimeData<Self>
) -> Self::InternedLifetime[src]Create an “interned” lifetime from lifetime. This is not
normally invoked directly; instead, you invoke
LifetimeData::intern (which will ultimately call this
method). Read more
fn lifetime_data<'a>(
&self,
lifetime: &'a Self::InternedLifetime
) -> &'a LifetimeData<Self>[src]
fn lifetime_data<'a>(
&self,
lifetime: &'a Self::InternedLifetime
) -> &'a LifetimeData<Self>[src]Lookup the LifetimeData that was interned to create a InternedLifetime.
fn intern_const(&self, constant: ConstData<Self>) -> Self::InternedConst[src]
fn intern_const(&self, constant: ConstData<Self>) -> Self::InternedConst[src]Create an “interned” const from const. This is not
normally invoked directly; instead, you invoke
ConstData::intern (which will ultimately call this
method). Read more
fn const_data<'a>(
&self,
constant: &'a Self::InternedConst
) -> &'a ConstData<Self>[src]
fn const_data<'a>(
&self,
constant: &'a Self::InternedConst
) -> &'a ConstData<Self>[src]Lookup the ConstData that was interned to create a InternedConst.
fn const_eq(
&self,
_ty: &Self::InternedType,
c1: &Self::InternedConcreteConst,
c2: &Self::InternedConcreteConst
) -> bool[src]
fn const_eq(
&self,
_ty: &Self::InternedType,
c1: &Self::InternedConcreteConst,
c2: &Self::InternedConcreteConst
) -> bool[src]Deterermine whether two concrete const values are equal.
fn intern_generic_arg(
&self,
data: GenericArgData<Self>
) -> Self::InternedGenericArg[src]
fn intern_generic_arg(
&self,
data: GenericArgData<Self>
) -> Self::InternedGenericArg[src]Create an “interned” parameter from data. This is not
normally invoked directly; instead, you invoke
GenericArgData::intern (which will ultimately call this
method). Read more
fn generic_arg_data<'a>(
&self,
data: &'a Self::InternedGenericArg
) -> &'a GenericArgData<Self>[src]
fn generic_arg_data<'a>(
&self,
data: &'a Self::InternedGenericArg
) -> &'a GenericArgData<Self>[src]Lookup the LifetimeData that was interned to create a InternedLifetime.
fn intern_goal(&self, goal: GoalData<Self>) -> Self::InternedGoal[src]
fn intern_goal(&self, goal: GoalData<Self>) -> Self::InternedGoal[src]Create an “interned” goal from data. This is not
normally invoked directly; instead, you invoke
GoalData::intern (which will ultimately call this
method). Read more
fn goal_data<'a>(&self, goal: &'a Self::InternedGoal) -> &'a GoalData<Self>[src]
fn goal_data<'a>(&self, goal: &'a Self::InternedGoal) -> &'a GoalData<Self>[src]Lookup the GoalData that was interned to create a InternedGoal.
fn intern_goals<E>(
&self,
data: impl IntoIterator<Item = Result<Goal<Self>, E>>
) -> Result<Self::InternedGoals, E>[src]
fn intern_goals<E>(
&self,
data: impl IntoIterator<Item = Result<Goal<Self>, E>>
) -> Result<Self::InternedGoals, E>[src]Create an “interned” goals from data. This is not
normally invoked directly; instead, you invoke
GoalsData::intern (which will ultimately call this
method). Read more
fn goals_data<'a>(&self, goals: &'a Self::InternedGoals) -> &'a [Goal<Self>]ⓘ[src]
fn goals_data<'a>(&self, goals: &'a Self::InternedGoals) -> &'a [Goal<Self>]ⓘ[src]Lookup the GoalsData that was interned to create a InternedGoals.
fn intern_substitution<E>(
&self,
data: impl IntoIterator<Item = Result<GenericArg<Self>, E>>
) -> Result<Self::InternedSubstitution, E>[src]
fn intern_substitution<E>(
&self,
data: impl IntoIterator<Item = Result<GenericArg<Self>, E>>
) -> Result<Self::InternedSubstitution, E>[src]Create an “interned” substitution from data. This is not
normally invoked directly; instead, you invoke
SubstitutionData::intern (which will ultimately call this
method). Read more
fn substitution_data<'a>(
&self,
substitution: &'a Self::InternedSubstitution
) -> &'a [GenericArg<Self>]ⓘ[src]
fn substitution_data<'a>(
&self,
substitution: &'a Self::InternedSubstitution
) -> &'a [GenericArg<Self>]ⓘ[src]Lookup the SubstitutionData that was interned to create a InternedSubstitution.
fn intern_program_clause(
&self,
data: ProgramClauseData<Self>
) -> Self::InternedProgramClause[src]
fn intern_program_clause(
&self,
data: ProgramClauseData<Self>
) -> Self::InternedProgramClause[src]Create an “interned” program clause from data. This is not
normally invoked directly; instead, you invoke
ProgramClauseData::intern (which will ultimately call this
method). Read more
fn program_clause_data<'a>(
&self,
clause: &'a Self::InternedProgramClause
) -> &'a ProgramClauseData<Self>[src]
fn program_clause_data<'a>(
&self,
clause: &'a Self::InternedProgramClause
) -> &'a ProgramClauseData<Self>[src]Lookup the ProgramClauseData that was interned to create a ProgramClause.
fn intern_program_clauses<E>(
&self,
data: impl IntoIterator<Item = Result<ProgramClause<Self>, E>>
) -> Result<Self::InternedProgramClauses, E>[src]
fn intern_program_clauses<E>(
&self,
data: impl IntoIterator<Item = Result<ProgramClause<Self>, E>>
) -> Result<Self::InternedProgramClauses, E>[src]Create an “interned” program clauses from data. This is not
normally invoked directly; instead, you invoke
ProgramClauses::from_iter (which will ultimately call this
method). Read more
fn program_clauses_data<'a>(
&self,
clauses: &'a Self::InternedProgramClauses
) -> &'a [ProgramClause<Self>]ⓘ[src]
fn program_clauses_data<'a>(
&self,
clauses: &'a Self::InternedProgramClauses
) -> &'a [ProgramClause<Self>]ⓘ[src]Lookup the ProgramClauseData that was interned to create a ProgramClause.
fn intern_quantified_where_clauses<E>(
&self,
data: impl IntoIterator<Item = Result<QuantifiedWhereClause<Self>, E>>
) -> Result<Self::InternedQuantifiedWhereClauses, E>[src]
fn intern_quantified_where_clauses<E>(
&self,
data: impl IntoIterator<Item = Result<QuantifiedWhereClause<Self>, E>>
) -> Result<Self::InternedQuantifiedWhereClauses, E>[src]Create an “interned” quantified where clauses from data. This is not
normally invoked directly; instead, you invoke
QuantifiedWhereClauses::from_iter (which will ultimately call this
method). Read more
fn quantified_where_clauses_data<'a>(
&self,
clauses: &'a Self::InternedQuantifiedWhereClauses
) -> &'a [QuantifiedWhereClause<Self>]ⓘ[src]
fn quantified_where_clauses_data<'a>(
&self,
clauses: &'a Self::InternedQuantifiedWhereClauses
) -> &'a [QuantifiedWhereClause<Self>]ⓘ[src]Lookup the slice of QuantifiedWhereClause that was interned to
create a QuantifiedWhereClauses. Read more
fn intern_generic_arg_kinds<E>(
&self,
data: impl IntoIterator<Item = Result<VariableKind<Self>, E>>
) -> Result<Self::InternedVariableKinds, E>[src]
fn intern_generic_arg_kinds<E>(
&self,
data: impl IntoIterator<Item = Result<VariableKind<Self>, E>>
) -> Result<Self::InternedVariableKinds, E>[src]Create an “interned” parameter kinds from data. This is not
normally invoked directly; instead, you invoke
VariableKinds::from_iter (which will ultimately call this
method). Read more
fn variable_kinds_data<'a>(
&self,
parameter_kinds: &'a Self::InternedVariableKinds
) -> &'a [VariableKind<Self>]ⓘ[src]
fn variable_kinds_data<'a>(
&self,
parameter_kinds: &'a Self::InternedVariableKinds
) -> &'a [VariableKind<Self>]ⓘ[src]Lookup the slice of VariableKinds that was interned to
create a VariableKinds. Read more
fn intern_canonical_var_kinds<E>(
&self,
data: impl IntoIterator<Item = Result<CanonicalVarKind<Self>, E>>
) -> Result<Self::InternedCanonicalVarKinds, E>[src]
fn intern_canonical_var_kinds<E>(
&self,
data: impl IntoIterator<Item = Result<CanonicalVarKind<Self>, E>>
) -> Result<Self::InternedCanonicalVarKinds, E>[src]Create “interned” variable kinds with universe index from data. This is not
normally invoked directly; instead, you invoke
CanonicalVarKinds::from_iter (which will ultimately call this
method). Read more
fn canonical_var_kinds_data<'a>(
&self,
canonical_var_kinds: &'a Self::InternedCanonicalVarKinds
) -> &'a [CanonicalVarKind<Self>]ⓘ[src]
fn canonical_var_kinds_data<'a>(
&self,
canonical_var_kinds: &'a Self::InternedCanonicalVarKinds
) -> &'a [CanonicalVarKind<Self>]ⓘ[src]Lookup the slice of CanonicalVariableKind that was interned to
create a CanonicalVariableKinds. Read more
fn intern_constraints<E>(
&self,
data: impl IntoIterator<Item = Result<InEnvironment<Constraint<Self>>, E>>
) -> Result<Self::InternedConstraints, E>[src]
fn intern_constraints<E>(
&self,
data: impl IntoIterator<Item = Result<InEnvironment<Constraint<Self>>, E>>
) -> Result<Self::InternedConstraints, E>[src]Create “interned” constraints from data. This is not
normally invoked dirctly; instead, you invoke
Constraints::from_iter (which will ultimately call this
method). Read more
fn constraints_data<'a>(
&self,
constraints: &'a Self::InternedConstraints
) -> &'a [InEnvironment<Constraint<Self>>]ⓘ[src]
fn constraints_data<'a>(
&self,
constraints: &'a Self::InternedConstraints
) -> &'a [InEnvironment<Constraint<Self>>]ⓘ[src]Lookup the slice of Constraint that was interned to
create a Constraints. Read more
fn intern_variances<E>(
&self,
data: impl IntoIterator<Item = Result<Variance, E>>
) -> Result<Self::InternedVariances, E>[src]
fn intern_variances<E>(
&self,
data: impl IntoIterator<Item = Result<Variance, E>>
) -> Result<Self::InternedVariances, E>[src]Create “interned” variances from data. This is not
normally invoked directly; instead, you invoke
Variances::from (which will ultimately call this
method). Read more
fn variances_data<'a>(
&self,
variances: &'a Self::InternedVariances
) -> &'a [Variance]ⓘ[src]
fn variances_data<'a>(
&self,
variances: &'a Self::InternedVariances
) -> &'a [Variance]ⓘ[src]Lookup the slice of Variance that was interned to
create a Variances. Read more
fn debug_adt_id(
adt_id: AdtId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_adt_id(
adt_id: AdtId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a type-kind-id.
Returns None to fallback to the default debug output. Read more
fn debug_trait_id(
trait_id: TraitId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_trait_id(
trait_id: TraitId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a type-kind-id.
Returns None to fallback to the default debug output (e.g.,
if no info about current program is available from TLS). Read more
fn debug_assoc_type_id(
type_id: AssocTypeId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_assoc_type_id(
type_id: AssocTypeId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a type-kind-id.
Returns None to fallback to the default debug output. Read more
fn debug_opaque_ty_id(
opaque_ty_id: OpaqueTyId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_opaque_ty_id(
opaque_ty_id: OpaqueTyId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of an opaque type.
Returns None to fallback to the default debug output. Read more
fn debug_fn_def_id(
fn_def_id: FnDefId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_fn_def_id(
fn_def_id: FnDefId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a function-def-id.
Returns None to fallback to the default debug output. Read more
fn debug_closure_id(
fn_def_id: ClosureId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_closure_id(
fn_def_id: ClosureId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a closure id.
Returns None to fallback to the default debug output. Read more
fn debug_foreign_def_id(
foreign_def_id: ForeignDefId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_foreign_def_id(
foreign_def_id: ForeignDefId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a foreign-def-id.
Returns None to fallback to the default debug output. Read more
fn debug_generator_id(
generator_id: GeneratorId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_generator_id(
generator_id: GeneratorId<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of an alias.
Returns None to fallback to the default debug output. Read more
fn debug_lifetime(
lifetime: &Lifetime<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_lifetime(
lifetime: &Lifetime<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a lifetime.
Returns None to fallback to the default debug output. Read more
fn debug_const(
constant: &Const<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_const(
constant: &Const<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a const.
Returns None to fallback to the default debug output. Read more
fn debug_generic_arg(
generic_arg: &GenericArg<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_generic_arg(
generic_arg: &GenericArg<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of an parameter.
Returns None to fallback to the default debug output. Read more
fn debug_variable_kinds(
variable_kinds: &VariableKinds<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_variable_kinds(
variable_kinds: &VariableKinds<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a parameter kinds list.
Returns None to fallback to the default debug output. Read more
fn debug_variable_kinds_with_angles(
variable_kinds: &VariableKinds<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_variable_kinds_with_angles(
variable_kinds: &VariableKinds<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a parameter kinds list, with angle brackets.
Returns None to fallback to the default debug output. Read more
fn debug_canonical_var_kinds(
canonical_var_kinds: &CanonicalVarKinds<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_canonical_var_kinds(
canonical_var_kinds: &CanonicalVarKinds<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of an parameter kinds list with universe index.
Returns None to fallback to the default debug output. Read more
fn debug_goal(
goal: &Goal<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_goal(
goal: &Goal<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of an goal.
Returns None to fallback to the default debug output. Read more
fn debug_goals(
goals: &Goals<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_goals(
goals: &Goals<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a list of goals.
Returns None to fallback to the default debug output. Read more
fn debug_program_clause(
clause: &ProgramClause<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_program_clause(
clause: &ProgramClause<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a ProgramClause.
Returns None to fallback to the default debug output. Read more
fn debug_program_clauses(
clauses: &ProgramClauses<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>
fn debug_program_clauses(
clauses: &ProgramClauses<Self>,
fmt: &mut Formatter<'_>
) -> Option<Result<(), Error>>Prints the debug representation of a ProgramClauses.
Returns None to fallback to the default debug output. Read more
impl<'tcx> Ord for RustInterner<'tcx>[src]
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]
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]
impl<'tcx> PartialOrd<RustInterner<'tcx>> for RustInterner<'tcx>[src]We don’t ever actually need this. It’s only required for derives.
fn partial_cmp(&self, _other: &Self) -> Option<Ordering>[src]
fn partial_cmp(&self, _other: &Self) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl<'tcx> Copy for RustInterner<'tcx>[src]
impl<'tcx> Eq 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<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
T: Copy, [src]
impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
T: Copy, [src]pub fn allocate_on(Self, &'a Arena<'tcx>) -> &'a mut T[src]
pub fn allocate_from_iter(
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T]ⓘ[src]
&'a Arena<'tcx>,
impl IntoIterator<Item = T>
) -> &'a mut [T]ⓘ
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,