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

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

Required methods

pub fn infcx(&self) -> &'f InferCtxt<'f, 'tcx>[src]

pub fn cause(&self) -> &ObligationCause<'tcx>[src]

pub fn relate_bound(
    &mut self,
    v: Ty<'tcx>,
    a: Ty<'tcx>,
    b: Ty<'tcx>
) -> RelateResult<'tcx, ()>
[src]

Loading content...

Implementors

impl<'combine, 'infcx, 'tcx> LatticeDir<'infcx, 'tcx> for Glb<'combine, 'infcx, 'tcx>[src]

impl<'combine, 'infcx, 'tcx> LatticeDir<'infcx, 'tcx> for Lub<'combine, 'infcx, 'tcx>[src]

Loading content...