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

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

Trait Implementations

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

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

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

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

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

fn associated_types_of_trait_are_valid(&self, _: t, _: DefId) -> bool

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