Trait HasTyCtxt

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>