rustc_abi::layout

Module ty

source

Structs§

  • The source-order index of a field in a variant.
  • The layout of a type, alongside the type itself. Provides various type traversal APIs (e.g., recursing into fields).
  • The source-order index of a variant in a type.

Constants§

Traits§

  • Trait that needs to be implemented by the higher-level type representation (e.g. rustc_middle::ty::Ty), to provide rustc_target::abi functionality.