Skip to content

Derive Clone for LayoutIter and GlyphIter

Jeremy Soller requested to merge mitchmindtree:impl_clone_for_iterators into master

Created by: mitchmindtree

I've come across the desire for these while integrating rusttype into conrod. Useful when you only need to use the cloned iterator occasionally within an update (saves allocating a Vec every time "just-in-case" or producing a new iterator and unnecessarily re-iterating to get back to the same position).

Merge request reports