Module ruscii::spatial

source ·
Expand description

Spatial

The spatial module provides the Vec2 struct to specify positions on the terminal screen and the Direction enum to specify and provide utility methods for relative directions.

Structs

Enums

  • The relative directions in a two-dimensional coordinate system, including up, down, left, right, and none.