Trait rustc_middle::ty::relate::Relate
source · pub trait Relate<'tcx>: TypeFoldable<TyCtxt<'tcx>> + PartialEq + Copy {
// Required method
fn relate<R: TypeRelation<'tcx>>(
relation: &mut R,
a: Self,
b: Self
) -> RelateResult<'tcx, Self>;
}
Required Methods§
fn relate<R: TypeRelation<'tcx>>( relation: &mut R, a: Self, b: Self ) -> RelateResult<'tcx, Self>
Object Safety§
This trait is not object safe.