auto v1 = Vector2F(1.3f, -5.7f); auto v2 = cast(Vector2I)v1; assert (v2.v == [1, -5]);
See Implementation