Expand description
This crate provides two owned iterators over String: OwnedChars and OwnedCharIndices. They have the same output as Chars and CharIndices, but creating the iterator consumes the String as opposed to borrowing.
Do you think this should be included in Rust proper? Comment here if so!
Structs§
- Owned
Char Indices - Iterator over the chars of a string and their indices (the string is owned by the iterator)
- Owned
Chars - Iterator over the chars of a string (the string is owned by the iterator)
Traits§
- Owned
Chars Ext - Extension trait for String providing owned char and char-index iterators