rustc_infer::infer::canonical::ir::inherent

Trait GenericsOf

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

Required Methods§

fn count(&self) -> usize

Implementations on Foreign Types§

Source§

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

Source§

fn count(&self) -> usize

Implementors§