rustc_trait_selection::infer::canonical::ir::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

Implementations on Foreign Types§

source§

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

source§

fn count(&self) -> usize

Implementors§