Skip to main content
HasTypingEnv
rustc_
middle
1.97.0-nightly
(7c3c88f42 2026-05-14)
HasTyping
Env
Required Methods
typing_env
Implementors
In rustc_
middle::
ty::
layout
rustc_middle
::
ty
::
layout
Trait
HasTyping
Env
Copy item path
Source
pub trait HasTypingEnv<'tcx> { // Required method fn
typing_env
(&self) ->
TypingEnv
<'tcx>; }
Required Methods
§
Source
fn
typing_env
(&self) ->
TypingEnv
<'tcx>
Implementors
§
Source
§
impl<'tcx>
HasTypingEnv
<'tcx> for
LayoutCx
<'tcx>