[−][src]Struct spacebattleship::game::simple::Placement
Represents a placement of a ship. Allows extracting the orientation and start, as well as iterating the coordinates.
Implementations
impl Placement
[src]
pub fn orientation(&self) -> Orientation
[src]
pub fn start(&self) -> &Coordinate
[src]
Get the coordinate where this placement starts.