Skip to content

FixedVec drain can implement DoubleEndedIterator #19

@eaglgenes101

Description

@eaglgenes101

Unless FixedVec or its Drain iterator uses some weird tricks I am not aware of, it should be possible to iterate a FixedVec drain from the back as well as the front, much like Vec's Drain iterator, and with a similar strategy of reading an element from the end, then moving the end of the range of memory under the Drain's purview inwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions