Struct rustc_typeck::variance::terms::TermsContext [−][src]
pub struct TermsContext<'a, 'tcx> {
pub tcx: TyCtxt<'tcx>,
pub arena: &'a DroplessArena,
pub lang_items: Vec<(HirId, Vec<Variance>)>,
pub inferred_starts: HirIdMap<InferredIndex>,
pub inferred_terms: Vec<&'a VarianceTerm<'a>>,
}
Fields
tcx: TyCtxt<'tcx>
arena: &'a DroplessArena
lang_items: Vec<(HirId, Vec<Variance>)>
inferred_starts: HirIdMap<InferredIndex>
inferred_terms: Vec<&'a VarianceTerm<'a>>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for TermsContext<'a, 'tcx>
impl<'a, 'tcx> !Send for TermsContext<'a, 'tcx>
impl<'a, 'tcx> !Sync for TermsContext<'a, 'tcx>
impl<'a, 'tcx> Unpin for TermsContext<'a, 'tcx>
impl<'a, 'tcx> !UnwindSafe for TermsContext<'a, 'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes