Trait rustc::middle::infer::lattice::LatticeDir
[−]
[src]
pub trait LatticeDir<'f, 'tcx>: TypeRelation<'f, 'tcx> {
fn infcx(&self) -> &'f InferCtxt<'f, 'tcx>;
fn relate_bound(&self, v: Ty<'tcx>, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'tcx, ()>;
}Unstable
Required Methods
fn infcx(&self) -> &'f InferCtxt<'f, 'tcx>
Unstable
fn relate_bound(&self, v: Ty<'tcx>, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'tcx, ()>
Unstable
Implementors
impl<'a, 'tcx> LatticeDir<'a, 'tcx> for Glb<'a, 'tcx>impl<'a, 'tcx> LatticeDir<'a, 'tcx> for Lub<'a, 'tcx>