Trait rustc_trait_selection::infer::lattice::LatticeDir[][src]

pub trait LatticeDir<'f, 'tcx>: TypeRelation<'tcx> {
    fn infcx(&self) -> &'f InferCtxt<'f, 'tcx>;
fn cause(&self) -> &ObligationCause<'tcx>;
fn relate_bound(
        &mut self,
        v: &'tcx TyS<'tcx>,
        a: &'tcx TyS<'tcx>,
        b: &'tcx TyS<'tcx>
    ) -> Result<(), TypeError<'tcx>>; }

Required methods

Implementors