Vector.this

Creates a vector of 4 elements.

  1. this(X x_, Y y_)
  2. this(X x_, Y y_, Z z_)
  3. this(Vector!(X, 2) xy_, Y z_)
  4. this(X x_, Vector!(Y, 2) yz_)
  5. this(X x_, Y y_, Z z_, W w_)
  6. this(Vector!(X, 2) xy_, Vector!(Y, 2) zw_)
  7. this(Vector!(X, 2) xy_, Y z_, Z w_)
  8. this(Vector!(X, 3) xyz_, Y w_)
    struct Vector(T, int N)
    nothrow @nogc pure nothrow
    static if(!(N == 2))
    static if(!(N == 3))
    static if(N == 4)
    this
    (
    X : T
    Y : T
    )
    (
    Vector!(X, 3) xyz_
    ,
    Y w_
    )
  9. this(X x_, Vector!(X, 3) yzw_)
  10. this(U x)

Meta