Crate owned_chars [−] [src]
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.
Structs
OwnedCharIndices |
Iterator over the chars of a string and their indices (the string is owned by the iterator) |
OwnedChars |
Iterator over the chars of a string (the string is owned by the iterator) |
Traits
OwnedCharsExt |
Extension trait for String providing owned char and char-index iterators |