Trait rustc_infer::infer::lattice::LatticeDir [−][src]
Required methods
fn infcx(&self) -> &'f InferCtxt<'f, 'tcx>[src]
fn cause(&self) -> &ObligationCause<'tcx>[src]
fn relate_bound(
&mut self,
v: Ty<'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>
) -> RelateResult<'tcx, ()>[src]
&mut self,
v: Ty<'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>
) -> RelateResult<'tcx, ()>
Implementors
impl<'combine, 'infcx, 'tcx> LatticeDir<'infcx, 'tcx> for Glb<'combine, 'infcx, 'tcx>[src]
fn infcx(&self) -> &'infcx InferCtxt<'infcx, 'tcx>[src]
fn cause(&self) -> &ObligationCause<'tcx>[src]
fn relate_bound(
&mut self,
v: Ty<'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>
) -> RelateResult<'tcx, ()>[src]
&mut self,
v: Ty<'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>
) -> RelateResult<'tcx, ()>
impl<'combine, 'infcx, 'tcx> LatticeDir<'infcx, 'tcx> for Lub<'combine, 'infcx, 'tcx>[src]
fn infcx(&self) -> &'infcx InferCtxt<'infcx, 'tcx>[src]
fn cause(&self) -> &ObligationCause<'tcx>[src]
fn relate_bound(
&mut self,
v: Ty<'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>
) -> RelateResult<'tcx, ()>[src]
&mut self,
v: Ty<'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>
) -> RelateResult<'tcx, ()>