Trait rustc::middle::ty_relate::Relate
[−]
[src]
pub trait Relate<'a, 'tcx>: TypeFoldable<'tcx> {
fn relate<R: TypeRelation<'a, 'tcx>>(relation: &mut R, a: &Self, b: &Self) -> RelateResult<'tcx, Self>;
}Unstable
Required Methods
fn relate<R: TypeRelation<'a, 'tcx>>(relation: &mut R, a: &Self, b: &Self) -> RelateResult<'tcx, Self>
Unstable
Implementors
impl<'a, 'tcx> Relate<'a, 'tcx> for mt<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for BareFnTy<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for FnSig<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for Unsafetyimpl<'a, 'tcx> Relate<'a, 'tcx> for Abiimpl<'a, 'tcx> Relate<'a, 'tcx> for ProjectionTy<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for ProjectionPredicate<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for Vec<PolyProjectionPredicate<'tcx>>impl<'a, 'tcx> Relate<'a, 'tcx> for ExistentialBounds<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for BuiltinBoundsimpl<'a, 'tcx> Relate<'a, 'tcx> for TraitRef<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for Ty<'tcx>impl<'a, 'tcx> Relate<'a, 'tcx> for Regionimpl<'a, 'tcx, T> Relate<'a, 'tcx> for Binder<T> where T: Relate<'a, 'tcx>impl<'a, 'tcx, T> Relate<'a, 'tcx> for Rc<T> where T: Relate<'a, 'tcx>impl<'a, 'tcx, T> Relate<'a, 'tcx> for Box<T> where T: Relate<'a, 'tcx>