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

pub trait EncodingContext<'tcx> {
    fn tcx<'a>(&'a self) -> TyCtxt<'a, 'tcx, 'tcx>;
    fn encode_ty(&self, encoder: &mut OpaqueEncoder, t: Ty<'tcx>);
    fn encode_substs(&self, encoder: &mut OpaqueEncoder, substs: &Substs<'tcx>);
}
Unstable (rustc_private)

Required Methods

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

Unstable (rustc_private)

fn encode_ty(&self, encoder: &mut OpaqueEncoder, t: Ty<'tcx>)

Unstable (rustc_private)

fn encode_substs(&self, encoder: &mut OpaqueEncoder, substs: &Substs<'tcx>)

Unstable (rustc_private)

Implementors