Crate rustc_index

source ·

Modules

Macros

  • Creates a struct type S that can be used as an index with IndexVec and so on.
  • Type size assertion. The first argument is a type and the second argument is its expected size.

Structs

  • A view into contiguous Ts, indexed by I rather than by usize.
  • An owned contiguous collection of Ts, indexed by I rather than by usize.

Traits

  • Represents some newtyped usize wrapper.