Trait rustc_middle::ty::inherent::AdtDef

source ·
pub trait AdtDef<I>: Copy + Debug + Hash + Eq
where I: Interner,
{ // Required method fn def_id(self) -> <I as Interner>::DefId; }

Required Methods§

source

fn def_id(self) -> <I as Interner>::DefId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'tcx> AdtDef<TyCtxt<'tcx>> for AdtDef<'tcx>