rustc_infer::infer::canonical::ir::inherent

Trait ParamEnv

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

Required Methods§

source

fn reveal(self) -> Reveal

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'tcx> ParamEnv<TyCtxt<'tcx>> for ParamEnv<'tcx>

source§

fn reveal(self) -> Reveal

source§

fn caller_bounds(self) -> impl IntoIterator<Item = Clause<'tcx>>

Implementors§