Type Definition chalk_ir::QuantifiedWhereClause [−][src]
type QuantifiedWhereClause<I> = Binders<WhereClause<I>>;
Expand description
A where clause that can contain forall<>
or exists<>
quantifiers.
Implementations
impl<I: Interner> QuantifiedWhereClause<I>
[src]
impl<I: Interner> QuantifiedWhereClause<I>
[src]pub fn into_well_formed_goal(self, interner: &I) -> Binders<DomainGoal<I>>
[src]
pub fn into_well_formed_goal(self, interner: &I) -> Binders<DomainGoal<I>>
[src]As with WhereClause::into_well_formed_goal
, but for a
quantified where clause. For example, forall<T> { Implemented(T: Trait)}
would map to forall<T> { WellFormed(T: Trait) }
.
pub fn into_from_env_goal(self, interner: &I) -> Binders<DomainGoal<I>>
[src]
pub fn into_from_env_goal(self, interner: &I) -> Binders<DomainGoal<I>>
[src]As with WhereClause::into_from_env_goal
, but mapped over any
binders. For example, forall<T> { Implemented(T: Trait)}
would map to forall<T> { FromEnv(T: Trait) }
.
Trait Implementations
impl<I: Interner> CastTo<Binders<WhereClause<I>>> for QuantifiedWhereClause<I>
[src]
impl<I: Interner> CastTo<Binders<WhereClause<I>>> for QuantifiedWhereClause<I>
[src]fn cast_to(
self,
_interner: &<QuantifiedWhereClause<I> as HasInterner>::Interner
) -> QuantifiedWhereClause<I>
[src]
fn cast_to(
self,
_interner: &<QuantifiedWhereClause<I> as HasInterner>::Interner
) -> QuantifiedWhereClause<I>
[src]Cast a value to type T
.