Crate drunken_diver

Source
Expand description

The mental model of this library one should have is that of a drunken diver descending into the depths of the ocean while leaving behind a trail of notes each with a stylized depiction of a direction (left or right), allowing those that come afterwards to swim the same path the diver took.

Please see the examples directory for examples.

Structs§

Dive
An iterator over the rows a diver descends through.
Route
A completed route the diver took.
Row
A row of Notes. If the diver is in this row, it contains the current position of the diver. Otherwise, it contains the diver’s position when it left the row.