rustc_type_ir::inherent

Trait Tys

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

Required Methods§

Source

fn inputs(self) -> I::FnInputTys

Source

fn output(self) -> I::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§