Trait rustc_middle::ty::inherent::Ty

source ·
pub trait Ty<I>: Copy + DebugWithInfcx<I> + Hash + Eq + Into<<I as Interner>::GenericArg> + IntoKind<Kind = TyKind<I>> + TypeSuperVisitable<I> + TypeSuperFoldable<I> + Flags
where I: Interner<Ty = Self>,
{ // Required method fn new_anon_bound( interner: I, debruijn: DebruijnIndex, var: BoundVar ) -> Self; }

Required Methods§

source

fn new_anon_bound(interner: I, debruijn: DebruijnIndex, var: BoundVar) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'tcx> Ty<TyCtxt<'tcx>> for Ty<'tcx>