rustc_builtin_macros::deriving::generic

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