Vec.opIndex

Index a vector component.

  1. T opIndex(size_t index)
    struct Vec(T, size_t N)
    const
    T
    opIndex
    (
    in size_t index
    )
    if (
    N > 0 &&
    isNumeric!T
    )
  2. inout(T)[] opIndex(size_t[2] slice)
  3. inout(T)[] opIndex()

Meta