rustc_
middle
1.84.0-nightly
(3fee0f12e 2024-11-20)
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>