- opAssignVector2!(T) opAssign(Vector2!(E) otherVector) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opBinaryVector2!(T) opBinary(Vector2!(E) otherVector) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opBinaryVector2!(T) opBinary(E num) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opEqualsbool opEquals(Vector2!(E) otherVector) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opOpAssignVector2!(T) opOpAssign(Vector2!(E) otherVector) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opOpAssignVector2!(T) opOpAssign(E num) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- opUnaryVector2!(T) opUnary() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- toStringstring toString() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
Utility template struct for manipulating 2-dimensional vectors
Vector2 is a simple class that defines a mathematical vector with two coordinates (x and y).
It can be used to represent anything that has two dimensions: a size, a point, a velocity, etc.
The template parameter T is the type of the coordinates. It can be any type that supports arithmetic operations (+, -, /, *) and comparisons (==, !=), for example int or float.