[−][src]Trait rustc_middle::ty::codec::TyEncoder
Associated Constants
const CLEAR_CROSS_CRATE: bool
Required methods
fn tcx(&self) -> TyCtxt<'tcx>
fn position(&self) -> usize
fn type_shorthands(&mut self) -> &mut FxHashMap<Ty<'tcx>, usize>
fn predicate_shorthands(&mut self) -> &mut FxHashMap<Predicate<'tcx>, usize>
fn encode_alloc_id(&mut self, alloc_id: &AllocId) -> Result<(), Self::Error>
Implementors
impl<'a, 'tcx, E> TyEncoder<'tcx> for CacheEncoder<'a, 'tcx, E> where
E: 'a + OpaqueEncoder, [src]
E: 'a + OpaqueEncoder,