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 ๐Ÿ”’