rustc_type_ir::inherent

Trait ParamEnv

Source
pub trait ParamEnv<I: Interner>:
    Copy
    + Debug
    + Hash
    + Eq
    + TypeFoldable<I> {
    // Required methods
    fn reveal(self) -> Reveal;
    fn caller_bounds(self) -> impl IntoIterator<Item = I::Clause>;
}

Required Methods§

Source

fn reveal(self) -> Reveal

Source

fn caller_bounds(self) -> impl IntoIterator<Item = I::Clause>

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§