sos-os / alarm

ALARM: Another Library for Allocating and Releasing Memory
Apache License 2.0
8 stars 6 forks source link

Add `Cursor`, `CursorMut`, and `IntoCursor` trait definitions #31

Closed hawkw closed 6 years ago

hawkw commented 6 years ago

Starts on #9.

Note that the Cursor API implements Iterator for cursors "for free"; so the easiest way to implement #4 is now probably just to implement #9 and add a IntoIterator implementations that return cursors.