Struct rustc::middle::typeck::check::vtable::VtableContext[src]

pub struct VtableContext<'a> {
    pub infcx: &'a InferCtxt<'a>,
    pub param_env: &'a ParameterEnvironment,
}

A vtable context includes an inference context, a crate context, and a callback function to call in case of type error.

Fields

infcx
param_env

Methods

impl<'a> VtableContext<'a>

fn tcx(&self) -> &'a ctxt