Function index_ext::Int[][src]

pub fn Int<T>(idx: T) -> Int<T>
Expand description

Convert an arbitrary integer into an index.

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