HasTy
Ctxt
rustc_
middle
1.87.0-nightly
(46420c960 2025-02-22)
HasTy
Ctxt
Required Methods
tcx
Implementors
In rustc_
middle::
ty::
layout
Structs
LayoutCx
Enums
FnAbiError
FnAbiRequest
LayoutError
SizeSkeleton
ValidityRequirement
Constants
MAX_SIMD_LANES
WIDE_PTR_ADDR
WIDE_PTR_EXTRA
Traits
FloatExt
FnAbiOf
FnAbiOfHelpers
HasTyCtxt
HasTypingEnv
IntegerExt
LayoutOf
LayoutOfHelpers
MaybeResult
PrimitiveExt
Functions
fn_can_unwind
Type Aliases
TyAndLayout
rustc_middle
::
ty
::
layout
Trait
HasTyCtxt
Copy item path
Settings
Help
Summary
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>
impl<'tcx>
HasTyCtxt
<'tcx> for
GenericBuilder
<'_, '_,
CodegenCx
<'_, 'tcx>>
impl<'tcx>
HasTyCtxt
<'tcx> for
CodegenCx
<'_, 'tcx>
impl<'tcx, M>
HasTyCtxt
<'tcx> for
InterpCx
<'tcx, M>
where M:
Machine
<'tcx>,
impl<'tcx>
HasTyCtxt
<'tcx> for
LateContext
<'tcx>
impl<'tcx>
HasTyCtxt
<'tcx> for
ConstPropagator
<'_, 'tcx>
impl<'tcx>
HasTyCtxt
<'tcx> for
UnwrapLayoutCx
<'tcx>
impl<'tcx>
HasTyCtxt
<'tcx> for
Tables
<'tcx>