Skip to main content

## GenericsOf

# 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

## Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

## Implementations on Foreign Types§

Source§

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

Source§

#### fn count(&self) -> usize

## Implementors§