Inherits Struct < Value < Object
Creates a new Vec with the given args
Vec
PF2d::Vec[1, 2] # => PF2d::Vec2(Int32)(@x=1, @y=2)