Struct rustc::middle::typeck::CrateCtxtExperimental [-]  [+] [src]

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

Trait Implementations

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

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

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

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

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

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

fn ty_infer(&self, span: Span) -> Ty<'tcx>

fn associated_types_of_trait_are_valid(&self, _: Ty<'tcx>, _: DefId) -> bool

fn associated_type_binding(&self, span: Span, _: Option<Ty<'tcx>>, _: DefId, _: DefId) -> Ty<'tcx>