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>>