Struct rustc::middle::typeck::CrateCtxt[src]

pub struct CrateCtxt<'a> {
    // some fields omitted
}

Trait Implementations

impl<'a> ToTy for CrateCtxt<'a>

fn to_ty<RS: RegionScope>(&self, rs: &RS, ast_ty: &Ty) -> t

impl<'a> AstConv for CrateCtxt<'a>

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

fn get_item_ty(&self, id: DefId) -> Polytype

fn get_trait_def(&self, id: DefId) -> Rc<TraitDef>

fn ty_infer(&self, span: Span) -> t