[−][src]Module rustc_builtin_macros::deriving::generic::ty

A mini version of ast::Ty, which is easier to use, and features an explicit Self type to use when specifying impls to be derived.

Re-exports

pub use PtrTy::*;
pub use Ty::*;

Structs

Bounds

Bounds on type parameters.

Path

A path, e.g., ::std::option::Option::<i32> (global). Has support for type parameters and a lifetime.

Enums

PathKind
PtrTy

The types of pointers

Ty

A type. Supports pointers, Self, and literals.

Functions

borrowed
borrowed_explicit_self
borrowed_ptrty
borrowed_self
get_explicit_self
mk_generics
mk_lifetime
mk_lifetimes
mk_ty_param
nil_ty