Skip to main content

ArrayIndex

Trait ArrayIndex 

Source
pub trait ArrayIndex: Sealed { }
Expand description

An index of Array::i and Array::at: an i32 or usize, a range over either (1..3, 1.., ..3, 1..=2, ..=2, with an optional .step(n)), .., Ellipsis, NewAxis, an integer index array (&Array or Array), or a tuple of up to eight of these.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ArrayIndex for Range<i32>

Source§

impl ArrayIndex for Range<usize>

Source§

impl ArrayIndex for RangeFrom<i32>

Source§

impl ArrayIndex for RangeFrom<usize>

Source§

impl ArrayIndex for RangeFull

Source§

impl ArrayIndex for RangeInclusive<i32>

Source§

impl ArrayIndex for RangeInclusive<usize>

Source§

impl ArrayIndex for RangeTo<i32>

Source§

impl ArrayIndex for RangeTo<usize>

Source§

impl ArrayIndex for RangeToInclusive<i32>

Source§

impl ArrayIndex for RangeToInclusive<usize>

Source§

impl ArrayIndex for i32

Source§

impl ArrayIndex for usize

Source§

impl<A: ArrayIndex, B: ArrayIndex, C: ArrayIndex, D: ArrayIndex, E: ArrayIndex, F: ArrayIndex, G: ArrayIndex, H: ArrayIndex> ArrayIndex for (A, B, C, D, E, F, G, H)

Source§

impl<A: ArrayIndex, B: ArrayIndex, C: ArrayIndex, D: ArrayIndex, E: ArrayIndex, F: ArrayIndex, G: ArrayIndex> ArrayIndex for (A, B, C, D, E, F, G)

Source§

impl<A: ArrayIndex, B: ArrayIndex, C: ArrayIndex, D: ArrayIndex, E: ArrayIndex, F: ArrayIndex> ArrayIndex for (A, B, C, D, E, F)

Source§

impl<A: ArrayIndex, B: ArrayIndex, C: ArrayIndex, D: ArrayIndex, E: ArrayIndex> ArrayIndex for (A, B, C, D, E)

Source§

impl<A: ArrayIndex, B: ArrayIndex, C: ArrayIndex, D: ArrayIndex> ArrayIndex for (A, B, C, D)

Source§

impl<A: ArrayIndex, B: ArrayIndex, C: ArrayIndex> ArrayIndex for (A, B, C)

Source§

impl<A: ArrayIndex, B: ArrayIndex> ArrayIndex for (A, B)

Source§

impl<A: ArrayIndex> ArrayIndex for (A,)

Implementors§