vector2d.opSlice

Obtain a pair of indices describing a span of columns.

  1. size_t[2] opSlice(size_t a, size_t b)
  2. size_t[2] opSlice(size_t a, size_t b)
    struct vector2d(T)
    @nogc const
    size_t[2]
    opSlice
    (
    size_t dim : 1
    )
    (
    size_t a
    ,
    size_t b
    )

Parameters

a size_t

The lower bound.

b size_t

The upper bound.

Return Value

Type: size_t[2]

A "tuple" of our bounds.

Meta