Enum ra_ap_hir_ty::DomainGoal[][src]

pub enum DomainGoal {
    Holds(WhereClause),
}

Something that needs to be proven (by Chalk) during type checking, e.g. that a certain type implements a certain trait. Proving the Obligation might result in additional information about inference variables.

Variants

Trait Implementations

impl CastTo<DomainGoal> for WhereClause[src]

impl CastTo<DomainGoal> for TraitRef[src]

impl CastTo<DomainGoal> for AliasEq[src]

impl Clone for DomainGoal[src]

impl Debug for DomainGoal[src]

impl Eq for DomainGoal[src]

impl HasInterner for DomainGoal[src]

type Interner = Interner

The interner associated with the type.

impl Hash for DomainGoal[src]

impl HirDisplay for DomainGoal[src]

impl PartialEq<DomainGoal> for DomainGoal[src]

impl StructuralEq for DomainGoal[src]

impl StructuralPartialEq for DomainGoal[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> Cast for T[src]

impl<T> CloneAny for T where
    T: Any + Clone

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

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.