Making Position have unit variants and having with_position yield (Self::Item, Position) seems like a more broadly useful interface. Why require matching or into_inner to get at the item? Intuitively, Position is "extra" information, so would make more sense to place it alongside IMHO.
Making
Position
have unit variants and havingwith_position
yield(Self::Item, Position)
seems like a more broadly useful interface. Why require matching orinto_inner
to get at the item? Intuitively,Position
is "extra" information, so would make more sense to place it alongside IMHO.Thanks for a great crate.