Trait rustc_middle::ty::inherent::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

Object Safety§

This trait is not object safe.

Implementors§

source§

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