Trait rustc::middle::cstore::tls::DecodingContext [] [src]

pub trait DecodingContext<'tcx> {
    fn tcx<'a>(&'a self) -> TyCtxt<'a, 'tcx, 'tcx>;
    fn decode_ty(&self, decoder: &mut OpaqueDecoder) -> Ty<'tcx>;
    fn decode_substs(&self, decoder: &mut OpaqueDecoder) -> Substs<'tcx>;
    fn translate_def_id(&self, def_id: DefId) -> DefId;
}
Unstable (rustc_private)

Required Methods

fn tcx<'a>(&'a self) -> TyCtxt<'a, 'tcx, 'tcx>

Unstable (rustc_private)

fn decode_ty(&self, decoder: &mut OpaqueDecoder) -> Ty<'tcx>

Unstable (rustc_private)

fn decode_substs(&self, decoder: &mut OpaqueDecoder) -> Substs<'tcx>

Unstable (rustc_private)

fn translate_def_id(&self, def_id: DefId) -> DefId

Unstable (rustc_private)

Implementors