[−][src]Trait spacebattleship::board::Coordinate
Trait for coordinates used in Dimensions
.
Requires Debug
to enable certain common panic messages on misuse.
Coordinates are treated as disposable and cheaply cloneable. If you need a complex
coordinate type that isn't cheap to clone, you may want to wrap it in Rc
or Arc
.