[−][src]Trait spacebattleship::ships::ShipId
Trait for types that can be used as a Ship's ID within a single player's board.
IDs are treated as disposable and cheaply cloneable. If you need a complex ID type
that isn't cheap to clone, you may want to wrap it in Rc
or Arc
.
Auto-implemented for any type which implements Debug
,Clone
, Eq
, and Hash
.