rustc_middle::ty::inherent

Trait Tys

source
pub trait Tys<I>:
    Copy
    + Debug
    + Hash
    + Eq
    + SliceLike<Item = <I as Interner>::Ty>
    + TypeFoldable<I>
    + Default
where I: Interner<Tys = Self>,
{ // Required methods fn inputs(self) -> <I as Interner>::FnInputTys; fn output(self) -> <I as Interner>::Ty; }

Required Methods§

source

fn inputs(self) -> <I as Interner>::FnInputTys

source

fn output(self) -> <I as Interner>::Ty

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

impl<'tcx> Tys<TyCtxt<'tcx>> for &'tcx List<Ty<'tcx>>