Trait rustc_trans::middle::ty_relate::Relate
[−]
[src]
pub trait Relate<'a, 'tcx>: TypeFoldable<'tcx> {
fn relate<R>(relation: &mut R, a: &Self, b: &Self) -> Result<Self, type_err<'tcx>> where R: TypeRelation<'a, 'tcx>;
}Unstable
Required Methods
fn relate<R>(relation: &mut R, a: &Self, b: &Self) -> Result<Self, type_err<'tcx>> where R: TypeRelation<'a, 'tcx>
Unstable
Implementors
impl<'a, 'tcx> Relate<'a, 'tcx> for mt<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for BareFnTy<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for FnSig<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for Unsafety where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for Abi where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for ProjectionTy<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for ProjectionPredicate<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for Vec<Binder<ProjectionPredicate<'tcx>>> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for ExistentialBounds<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for EnumSet<BuiltinBound> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for TraitRef<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for &'tcx TyS<'tcx> where 'tcx: 'aimpl<'a, 'tcx> Relate<'a, 'tcx> for Region where 'tcx: 'aimpl<'a, 'tcx, T> Relate<'a, 'tcx> for Binder<T> where 'tcx: 'a, T: Relate<'a, 'tcx>impl<'a, 'tcx, T> Relate<'a, 'tcx> for Rc<T> where 'tcx: 'a, T: Relate<'a, 'tcx>impl<'a, 'tcx, T> Relate<'a, 'tcx> for Box<T> where 'tcx: 'a, T: Relate<'a, 'tcx>