Struct rustc::middle::typeck::CrateCtxt[src]
pub struct CrateCtxt<'a> {
// some fields omitted
}pub struct CrateCtxt<'a> {
// some fields omitted
}impl<'a> ToTy for CrateCtxt<'a>fn to_ty<RS: RegionScope>(&self, rs: &RS, ast_ty: &Ty) -> timpl<'a> AstConv for CrateCtxt<'a>
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 (or str), enum,
trait, typedef (or
tdef).