Trait rustc_privacy::ty::relate::Relate[−][src]

pub trait Relate<'tcx>: TypeFoldable<'tcx> + Copy {
    fn relate<R>(
        relation: &mut R,
        a: Self,
        b: Self
    ) -> Result<Self, TypeError<'tcx>>
    where
        R: TypeRelation<'tcx>
; }

Required methods

Implementors