Vector2.opBinary

Supported operation: +, -, *, / and %

  1. Vector2!(T) opBinary(const Vector2!(T) vec)
    struct Vector2(T)
    @nogc
    opBinary
    const pure nothrow
    (
    string op
    )
    (
    const Vector2!(T) vec
    )
    if (
    isNumeric!(T)
    )
  2. Vector2!(T) opBinary(float num)

Meta