Skip to main content

Module ty

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ยง

Path ๐Ÿ”’
A path, e.g., ::std::option::Option::<i32> (global). Has support for type parameters.

Enumsยง

PathKind ๐Ÿ”’
Ty ๐Ÿ”’
A type. Supports pointers, Self, literals, unit or an arbitrary AST path.

Functionsยง

self_ref ๐Ÿ”’