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

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

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>>

Loading content...

Implementors

Loading content...