rustc_middle::ty::inherent

Trait GenericsOf

Source
pub trait GenericsOf<I>
where I: Interner<GenericsOf = Self>,
{ // Required method fn count(&self) -> usize; }

Required Methods§

Source

fn count(&self) -> usize

Implementors§

Source§

impl<'tcx> GenericsOf<TyCtxt<'tcx>> for &'tcx Generics