Trait owned_chars::OwnedCharsExt [] [src]

pub trait OwnedCharsExt {
    fn into_chars(self) -> OwnedChars;
    fn into_char_indices(self) -> OwnedCharIndices;
}

Extension trait for String providing owned char and char-index iterators

Required Methods

fn into_chars(self) -> OwnedChars

Gets an owning iterator over the chars (see chars())

fn into_char_indices(self) -> OwnedCharIndices

Gets an owning iterator over the chars and their indices (see char_indices())

Implementors