Trait rustc_middle::ty::inherent::GenericArg

source ·
pub trait GenericArg<I>: Copy + Debug + Hash + Eq + IntoKind<Kind = GenericArgKind<I>> + TypeVisitable<I> + Relate<I> + From<<I as Interner>::Ty> + From<<I as Interner>::Region> + From<<I as Interner>::Const>
where I: Interner<GenericArg = Self>,
{ }

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'tcx> GenericArg<TyCtxt<'tcx>> for GenericArg<'tcx>