Module ty

Source
Expand description

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.

Structs§

Bounds 🔒
Bounds on type parameters.
Path 🔒
A path, e.g., ::std::option::Option::<i32> (global). Has support for type parameters.

Enums§

PathKind 🔒
Ty 🔒
A type. Supports pointers, Self, and literals.

Functions§

get_explicit_self 🔒
mk_ty_param 🔒
self_ref 🔒