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, T: HasTyCtxt<'tcx>> HasTyCtxt<'tcx> for LayoutCx<'tcx, T>

impl<'tcx> HasTyCtxt<'tcx> for CodegenCx<'_, 'tcx>

impl<'tcx> HasTyCtxt<'tcx> for Builder<'_, '_, 'tcx>

impl<'mir, 'tcx, M> HasTyCtxt<'tcx> for InterpCx<'mir, 'tcx, M>where M: Machine<'mir, 'tcx>,

impl<'tcx> HasTyCtxt<'tcx> for LateContext<'tcx>

impl<'tcx> HasTyCtxt<'tcx> for ConstPropagator<'_, 'tcx>

impl<'tcx> HasTyCtxt<'tcx> for ConstPropagator<'_, 'tcx>

impl<'tcx> HasTyCtxt<'tcx> for UnwrapLayoutCx<'tcx>