Expand description
A simple Vec
wrapper that is accessible as if it were a 2d vector.
Implements Index<(x, y)>
and IndexMut<(x, y)>
.
The underlying Vec
is only mutably accessible through methods of Vec2d
.
If you want ownership of Vec
, consume the Vec2d
with to_vec
.