rustc_
middle
1.84.0-nightly
(86d69c705 2024-10-22)
HasTy
Ctxt
Required Methods
tcx
Implementors
In rustc_
middle::
ty::
layout
rustc_middle
::
ty
::
layout
Trait
HasTyCtxt
Copy item path
source
pub trait HasTyCtxt<'tcx>:
HasDataLayout
{ // Required method fn
tcx
(&self) ->
TyCtxt
<'tcx>; }
Required Methods
§
source
fn
tcx
(&self) ->
TyCtxt
<'tcx>
Implementors
§
source
§
impl<'tcx>
HasTyCtxt
<'tcx> for
TyCtxtAt
<'tcx>
source
§
impl<'tcx>
HasTyCtxt
<'tcx> for
TyCtxt
<'tcx>
source
§
impl<'tcx>
HasTyCtxt
<'tcx> for
LayoutCx
<'tcx>