Struct rustc::middle::typeck::CrateCtxtExperimental
[-]
[+]
[src]
pub struct CrateCtxt<'a, 'tcx> {
// some fields omitted
}pub struct CrateCtxt<'a, 'tcx> {
// some fields omitted
}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) -> boolfn associated_type_binding(&self, span: Span, _: Option<Ty<'tcx>>, _: DefId, _: DefId) -> Ty<'tcx>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).