Function index_ext::Intex

source ·
pub fn Intex<T>(idx: T) -> Intex<T>
Expand description

Convert an arbitrary integer into an index.

This method simply constructs an inner transparent wrapper struct Intex but can be used as an alternative which is imported with the same name, and at the same time, as the trait.