Module index_ext::int

source ·
Expand description

Defines wrappers around standard integers to use the as indices.

Structs

  • An adaptor for ops::Index that uses this crate’s IntSliceIndex instead of the standard one.
  • An indexing adaptor for TryInto.

Traits

  • A trait for mathematical integer based indices.
  • An extension trait allowing slices to be indexed by everything convertible to usize.