Vec.opDispatch

Assign the components by swizzling.

  1. T opDispatch [@property getter]
  2. T opDispatch [@property setter]
  3. auto opDispatch [@property getter]
  4. Vec!(U, num) opDispatch [@property setter]
    struct Vec(T, size_t N)
    @property
    void
    opDispatch
    (
    string name
    U
    size_t num
    )
    (
    in Vec!(U, num) v
    )
    if (
    isImplicitlyConvertible!(U, T)
    )
    if (
    N > 0 &&
    isNumeric!T
    )

Meta