Skip to content

FusedIterator, ExactSizeIterator, DoubleEndedIterator #626

@therealbnut

Description

@therealbnut

Hi,

Thanks for making this great library!

I came across this today, and it seems like it should be possible to implement FusedIterator, ExactSizeIterator, and DoubleEndedIterator for Vec's IntoIter and probably others too without too much complexity.

I was thinking ExactSizeIterator at least would be useful when using these data types to extend heap allocated structures so they can allocate the correct size up front. The other traits likely have performance or functional benefits in other situations too.

What do you think? Are they intentionally not implemented yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions