[][src]Trait chalk_ir::could_match::CouldMatch

pub trait CouldMatch<T: ?Sized + HasInterner> {
    fn could_match(&self, interner: &T::Interner, other: &T) -> bool;
}

A fast check to see whether two things could ever possibly match.

Required methods

fn could_match(&self, interner: &T::Interner, other: &T) -> bool

Checks whether self and other could possibly match.

Loading content...

Implementors

impl<I: Interner> CouldMatch<DomainGoal<I>> for ProgramClause<I>[src]

impl<I: Interner> CouldMatch<DomainGoal<I>> for ProgramClauseData<I>[src]

impl<T: ?Sized, I> CouldMatch<T> for T where
    T: Zip<I> + HasInterner<Interner = I>,
    I: Interner
[src]

Loading content...