Module syntax_ext::deriving::generic::ty [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

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.

Reexports

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

Structs

LifetimeBounds [
Experimental
]

Lifetimes and bounds on type parameters

Path [
Experimental
]

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

Enums

PtrTy [
Experimental
]

The types of pointers

Ty [
Experimental
]

A type. Supports pointers, Self, and literals

Functions

borrowed [
Experimental
]
borrowed_explicit_self [
Experimental
]
borrowed_ptrty [
Experimental
]
borrowed_self [
Experimental
]
get_explicit_self [
Experimental
]
nil_ty [
Experimental
]