Trait rustc::infer::lattice::LatticeDir [] [src]

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

Required Methods

fn infcx(&self) -> &'f InferCtxt<'f, 'gcx, 'tcx>

Unstable (rustc_private)

fn relate_bound(&self, v: Ty<'tcx>, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'tcx, ()>

Unstable (rustc_private)

Implementors