Trait rustc_trans::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: &'tcx TyS<'tcx>, a: &'tcx TyS<'tcx>, b: &'tcx TyS<'tcx>) -> Result<(), type_err<'tcx>>;
}Unstable
Required Methods
fn infcx(&self) -> &'f InferCtxt<'f, 'tcx>
Unstable
fn relate_bound(&self, v: &'tcx TyS<'tcx>, a: &'tcx TyS<'tcx>, b: &'tcx TyS<'tcx>) -> Result<(), type_err<'tcx>>
Unstable
Implementors
impl<'a, 'tcx> LatticeDir<'a, 'tcx> for Glb<'a, 'tcx>impl<'a, 'tcx> LatticeDir<'a, 'tcx> for Lub<'a, 'tcx>